// Enable CSS DropDowns in IE
Enable_IE_ListItems = function(){
    // Operational variables
    var objDropDown;
	var objMenu;
    var lcv = 0;
    // Check for IE
    if (document.all && document.getElementById) {
        // Process topmenu there is one comment inserted by ektron!
		objDropDown= document.getElementById("topmenu").firstChild.nextSibling;
        // Check for object's existence
        if (objDropDown != undefined){
            // Loop through all child nodes in the menu list
			//alert(objDropDown.childNodes.length);
            for (lcv = 0; lcv < objDropDown.childNodes.length; lcv++) {
                // Check if item is a list item
                if (objDropDown.childNodes[lcv].nodeName.toUpperCase( ) == "LI") {
                    // Set onmouseover event handler
                    objDropDown.childNodes[lcv].onmouseover = function() {
                        this.className += " over";
                    }
                    // Set onmouseout event handler
                    objDropDown.childNodes[lcv].onmouseout = function() {
                        this.className = this.className.replace(" over", "");
                    }
                }
            }
        }
        // Process bottommenu there is one comment inserted by ektron!
        objDropDown = document.getElementById("bottommenu").firstChild.nextSibling;
        // Check for object's existence
        if (objDropDown != undefined){
            // Loop through all child nodes in the menu list
            for (lcv = 0; lcv < objDropDown.childNodes.length; lcv++) {
                // Check if item is a list item
                if (objDropDown.childNodes[lcv].nodeName.toUpperCase( ) == "LI") {
                    // Set onmouseover event handler
                    objDropDown.childNodes[lcv].onmouseover = function() {
                        this.className += " over";
                    }
                    // Set onmouseout event handler
                    objDropDown.childNodes[lcv].onmouseout = function() {
                        this.className = this.className.replace(" over", "");
                    }
                }
            }
        }
    }
}
//window.onload = Set_IE_CSS_LI_Over;
if (window.attachEvent) window.attachEvent("onload", Enable_IE_ListItems);

