function show(what)
{
	var elem = document.getElementById(what);
	elem.style.visibility = (elem.style.visibility == 'visible') ? 'hidden' : 'visible';
}
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false");
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if (pair[0] == variable) {
return pair[1];
}
}
alert('Query Variable ' + variable + ' not found');
}
window.onload = function()
{
	if(document.getElementById('newshow'))
	{
		setInterval("show('newshow')",2000);
	}
	if(document.getElementById('vaultcontent'))
	{
		setInterval("show('vaultcontent')",2000);
	}
	//alert(getQueryVariable("title"));
	//window.scrollTo(0,document.getElementById('thearticle').offsetTop);
}
function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
	target.style.MozUserSelect="none"
else //All other route (ie: Opera)
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}
