ieHover = function() {
        var LIs = document.getElementsByTagName("LI");
        for (var i=0; i<LIs.length; i++) {
                LIs[i].onmouseover=function() {
                        this.className+=" iehover";
                }
                LIs[i].onmouseout=function() {
                        this.className=this.className.replace(new RegExp(" iehover\\b"), "");
                }
        }
}

if (window.attachEvent) {
        window.attachEvent("onload", ieHover);
} else {
        onload = ieHover
}