
// drop-down menu helper for ie/win
// supports nested drop-down menus

navList = function() {
	if (document.all&&document.getElementById) {
		var menus = document.getElementById("nav").getElementsByTagName("ul");
		for (i = 0; menus[i]; i++) {
			menus[i].parentNode.onmouseover = function() {
			this.className += " over";
			this.style.zIndex=90;
			}
			menus[i].parentNode.onmouseout = function() {
			this.style.zIndex=80;
			this.className = this.className.replace(" over", "");
			}
		}
	}
}

window.onload=navList;
