
rollOver = function(id) {
	document.getElementById(id).style.background = "url(images/menu_over.gif) top right no-repeat";
	if (Number(id.substring(4,5))>=2 && Number(id.substring(4,5))<=4) {
		var docId = "sub"+id;
		document.getElementById(docId).style.visibility="visible";
	}
}
rollOut = function(id) {
	document.getElementById(id).style.background = "url(images/menu.gif) top right no-repeat";
	if (Number(id.substring(4,5))>=2 && Number(id.substring(4,5))<=4) {
		var docId = "sub"+id;
		document.getElementById(docId).style.visibility="hidden";
	}
}
startList = function() {
	if (document.all&&document.getElementById) {
		for (k=2;k<=4;k++) {
			navRoot = document.getElementById("subMenu"+k);
			for (i=0; i<navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.style.background="#1f366b";
					}
					node.onmouseout=function() {
						this.style.background="#0F5555";
					}	
				}
			}
		}
	}
}
window.onload=startList;