sfHover = function() {
    if(document.getElementById("navigation")) {
        var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
        for (var i=0; i<sfEls.length; i++) {
            sfEls[i].onmouseover=function() {
                this.className+=" navhover";
            }
            sfEls[i].onmouseout=function() {
                this.className=this.className.replace(new RegExp(" navhover\\b"), "");
            }
        }
    }
}

if (window.attachEvent) window.attachEvent("onload", sfHover);