/* Hover support for drop downs in IE (Opera 7.23 also seems to need this too?!)
http://www.alistapart.com/articles/hybrid/
*******************************************************************************/

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("globalmenu");
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", "");
   }
   }
  }
 }
}
window.onload=startList;


















/*function menuHover() {
	var menuItems = d.getElementById("globalmenu").getElementsByTagName("LI");

	for (var i = 0, miL = menuItems.length; i < miL; i++) {
		menuItems[i].onmouseover = function() {
			this.className = "mnhover";
		}
		menuItems[i].onmouseout = function() {
			this.className = "";
		}

		// Add alpha transparency in IE 5.5+
		var hasSub = menuItems[i].getElementsByTagName("UL")[0];
		if (hasSub && (typeof hasSub.filters == "object")) {
			hasSub.style.filter = "alpha(opacity=90)";
		}
	}
}


startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("globalmenu");
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", "");
   }
   }
  }
 }
}
window.onload=startList;
*/


//Another one

/*
activateMenu = function(globalmenu) {

    // currentStyle restricts the Javascript to IE only 

if (document.all && document.getElementById(globalmenu).currentStyle) {  
        var navroot = document.getElementById(globalmenu);
        
        // Get all the list items within the menu 
        var lis=navroot.getElementsByTagName("LI");  
        for (i=0; i<lis.length; i++) {
        
           // If the LI has another menu level 
            if(lis[i].lastChild.tagName=="UL"){
            
                // assign the function to the LI 
             	lis[i].onmouseover=function() {	
                
                   // display the inner menu 
                   this.lastChild.style.display="block";
                }
                lis[i].onmouseout=function() {                       
                   this.lastChild.style.display="none";
                }
            }
        }
    }
}
window.onload= function(){
    // pass the function the id of the top level UL 
    // remove one, when only using one menu 
    activateMenu('globalmenu'); 
    activateMenu('vertnav'); 
}
*/


/*//other one
// CSS Top Menu- By JavaScriptKit.com (http://www.javascriptkit.com)
// Adapted from SuckerFish menu

startMenu = function() {
if (document.all&&document.getElementById) {
cssmenu = document.getElementById("globalmenu");
for (i=0; i<cssmenu.childNodes.length; i++) {
node = cssmenu.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function(){                  
this.className=this.className.replace(" over", "")
}
}
}
}
}

if (window.attachEvent)
window.attachEvent("onload", startMenu)
else
window.onload=startMenu;

*/