// JavaScript Document
//basic functions
var zindex = 10000;
function showstuff(boxid){
   document.getElementById(boxid).style.display="block"; 
}
function hidestuff(boxid){
   document.getElementById(boxid).style.display="none";
}
function opentab(hidetab, toshow, showtab, topbox){
	showstuff(toshow);
	showstuff(showtab);
	
	hidestuff(hidetab);
	
	document.getElementById(topbox).style.zIndex=zindex;
	zindex++;
}
function closetab(hidetab, hidebody, showtab){

	hidestuff(hidetab);
	hidestuff(hidebody);
	showstuff(showtab);

}
/*function dotab(tomove, toshow, moveto, tohide){
	setright=(0+moveto);
	//alert(0+moveto);
	showstuff(toshow);
	hidestuff(tohide);
	document.getElementById(tomove).style.right=setright;
	document.getElementById(tomove).style.zIndex=zindex;
	zindex++;
}*/


