function addEvent(o, e, f) {
    if (o.addEventListener) return o.addEventListener(e, f, false);
    else if (o.attachEvent) return o.attachEvent("on"+e, f);
    else return false;
}

function removeUnderlines() {
    var divs = document.getElementsByTagName("div");
    var s = "";
    for (i = 0; divs.length > i; i++) {
        var div = divs[i];
        if (String(div.className).indexOf("splashSet") == -1) continue;
        var lastspl = false;
        var childNodes = (divs[i].childNodes) ? 'childNodes':'children';
        for (j = divs[i][childNodes].length-1; 0 < j; j--) {
            var spl = div[childNodes][j];
            if (String(spl.className).indexOf("splashMin") != -1) {
                spl.className = String(spl.className).replace("dotBtmBlk.html");
                break;
            }
        }
    }
}

addEvent(window, "load", removeUnderlines);


function installListHoverHacks() {
    var ua = String(navigator.userAgent).toLowerCase();
    if (ua.indexOf("msie") == -1) return false;
    ieListHoverHack("navPrime");
    ieListHoverHack("navNews");
}

function ieListHoverHack(id) {
    var navRoot = document.getElementById(id);
    if (!navRoot || !navRoot.childNodes) return false;
    for (var i = 0; navRoot.childNodes.length > i; i++) {
        var node = navRoot.childNodes[i];
        if (node.nodeName == "LI") {
            node.onmouseover = function() { 
                this.className += " over"; 
            }
            node.onmouseout = function() {              
                this.className = this.className.replace(" over", "");
            }
        }
    }
}

addEvent(window, "load", installListHoverHacks);