	
//here you place the ids of every element you want.
var ids=new Array('a1','a2','a3','a4','a5','a6','a7','a8','a9','a10','a11','a12','a13','a14','a15','a16','a17','a18','a19','a20','a21','a22','a23','a24','a25','a26','a27','a28','a29','a30','a31','a32','a33','a34','a35','a36','a37','a38','a39','a40','a41','a42','a43','a44','a45','a46','a47','a48','a49','a50','a51');function togglediv(id){if(document.getElementById(id).style.display=="none"){checkforids();document.getElementById(id).style.display="block"}else{document.getElementById(id).style.display="none"}}
// THIS IS THE JUMP MenU WHICH FUNCTION FOR THE UNTILITY BAR AT THE TOP OF THE PAGE
function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore)selObj.selectedIndex=0}
	//loop through the array and hide each element by id
function hideallids(){for(var i=0;i<ids.length;i++){hidediv(ids[i])}}
	//loop through the array and hide each element by id to check if they exist on the page, if they do hide the div , otherwise it doesn't do anything.
function checkforids(){for(var i=0;i<ids.length;i++){if(document.getElementById(ids[i])!=null)hidediv(ids[i])}}
	//safe function to hide an element with a specified id
function hidediv(id){if(document.getElementById){document.getElementById(id).style.display='none'}else{if(document.layers){document.id.display='none'}else{document.all.id.style.display='none'}}}
	//safe function to show an element with a specified id
function showdiv(id){if(document.getElementById){document.getElementById(id).style.display='block'}else{if(document.layers){document.id.display='block'}else{document.all.id.style.display='block'}}}


