// JavaScript Document
function scaleback(){
	var img = document.getElementById("backimage");
	
	//opera Netscape 6 Netscape 4x Mozilla 
	if (window.innerWidth || window.innerHeight){ 
		docwidth = window.innerWidth; 
		docheight = window.innerHeight; 
	} 
	//IE Mozilla 
	if (document.body.clientWidth || document.body.clientHeight){ 
		docwidth = document.body.clientWidth; 
		docheight = document.body.clientHeight; 
	} 
	
	
	img.style.width = docwidth + "px";
	var lmb = document.getElementById("lambandlamp");
	
	if(document.all) {
	lmb.style.top = document.body.scrollTop+docheight-25;
	lmb.style.left = document.body.scrollLeft+docwidth-159;
	lmb.style.display ="";

	}else{
	lmb.style.top = docheight-25;
	lmb.style.left = docwidth-159;
	lmb.style.display ="";	
	}
}

function Show_Stuff(Click_Menu){
// Function that will swap the display/no display for
// all content within span tags

for(i=2;i<5;i++){
	if(i!=Click_Menu){
	var obj = document.getElementById('nav'+i);
	var menu = document.getElementById('mn'+i);
	obj.style.display ="none";
	menu.style.color = "#666666"
	}
}
obj = document.getElementById('nav'+Click_Menu);
menu = document.getElementById('mn'+Click_Menu);
obj.style.top = 150+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px';
obj.style.display = (obj.style.display == "none")? "":"none";
if(obj.style.display == "none"){
	menu.style.color = "#666666";
}
}

