/*
Menus Javascript functions by MKiD
*/

function showMenu(menu,state){ // pass the menu to show and the state 0=hide 1= show
	hideMenus();
	if(state=="1"){ // hide all of the menus
		var theMenu=eval("document.getElementById('"+menu+"')");
		theMenu.style.display="block";
	}
}

function hideMenus(){
	for(var i=1;i<4;i++){
		var theMenu=eval("document.getElementById('subNav"+i+"')");
		theMenu.style.display="none";
	}
	return;
}

/* suckerfish menu javascript */
<!--//--><![CDATA[//><!--
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
window.onload=startList;

//--><!]]>