function activateMenu(nav) {
    var navroot = getObj(nav);
	if ( navroot ) {
		/*
		for (i=0; i<navroot.childNodes.length; i++) {
			node = navroot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
		*/
        var lis=navroot.getElementsByTagName("LI");  
        for (i=0; i<lis.length; i++) {
            if(lis[i].lastChild.tagName=="UL"){
             	lis[i].onmouseover=function() {	
                   	this.lastChild.style.display="block";
					this.className+=" over";
                }
                lis[i].onmouseout=function() {   
                   	this.lastChild.style.display="none";
					this.className=this.className.replace(" over", "").replace("over", "");
                }
            }
        }
    }
}
function activateMenu_all () {
    activateMenu("nav"); 
    activateMenu("nav_h_1"); 
    activateMenu("nav_h_2"); 
    activateMenu("nav_h_3"); 
   	activateMenu("nav_v_101"); 
}

if (window.addEventListener)
window.addEventListener("load", activateMenu_all, false);
else if (window.attachEvent)
window.attachEvent("onload", activateMenu_all);

