/*To make this work the variable ActiveMenu must be declared in the document and set equal to null*/


/*Hides the ActiveMenu when another Menu is selected*/
function hideActive(){
if(ActiveMenu!==null)
ActiveMenu.style.display="";
}


/*Shows the Menu for the id submitted*/
function showMenu(theid){
hideActive();
ActiveMenu=document.getElementById(theid);
object=document.getElementById(theid);
//object.style.display="";
object.style.display="block";
//object.style.display="none";
//object.style.display="";
}



/*Hides the Menu for the id submitted*/
function hideMenu(theid){
object=document.getElementById(theid);
object.style.display="";

}