addLoadEvent(function() {
if (document.getElementById) {
	var navRoot = document.getElementById("nav");
	if(navRoot) {
		for (i=0; i < navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI" && node.id) {
				if(document.getElementById("mega" + node.id)) {
					var menu = HeaderMenu(node.id, node);
					node.onmouseover= function(e) {
						this.showMenu(e);
					};
					node.onmouseout = function(e) {
						this.hideMenu(e);
					};
				}
			}
		}
	}
}})

