startList = function() {
    if (document.all && document.getElementById) {
        var navRoot = document.getElementById("nav");
        if (navRoot) {
            var len = navRoot.childNodes.length;
            for (i = 0; i < len; i++) {
                node = navRoot.childNodes[i];
                if (node.nodeName=="LI") {
                    node.onmouseover=function() {
                        this.className+=" over";
                    }
                    node.onmouseout=function() {
                        this.className=this.className.replace(" over", "");
                    }
                }
            }
        }
    }
}
function observe (element, name, observer, useCapture) {
    if (element.addEventListener) {
        element.addEventListener(name, observer, useCapture);
    } else if (element.attachEvent) {
        element.attachEvent('on' + name, observer);
    }
}
observe(window, 'load', startList);