startMenu = function() {
	if (document.all && document.getElementById) {
		var topmenu = document.getElementById("dir");
		if (topmenu) {
			var submenus = topmenu.getElementsByTagName('UL');
			for (var i=0; i < submenus.length; i++) {
				var pn = submenus[i].parentNode;
				pn.style.zIndex=997;
				pn.onmouseover = function() { this.lastChild.style.visibility = 'visible'; }
				pn.onmouseout  = function() { this.lastChild.style.visibility = 'hidden';  }
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", startMenu)
else window.onload=startMenu;

