// Top navigation menu control
topNav = function() {
	if (document.all&&(navRoot = document.getElementById("nav-list"))) {
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
					if((this.id == 'navItem4' || this.id == 'navItem2') && (x=document.getElementById('elementToHideOnMenuOpen'))) {
						x.style.visibility = 'hidden';
					}
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
					if((this.id == 'navItem4' || this.id == 'navItem2') && (x=document.getElementById('elementToHideOnMenuOpen'))) {
						x.style.visibility = 'visible';
					}
				}
			}
		}
	}
}

init = function() {
	topNav();
}


