startList = function() {
    if (Browser.Engine.trident4 || Browser.Engine.trident5) {
        for (i=0; i<$('nav').childNodes.length; i++) {
            node = $('nav').childNodes[i];
            if (node.nodeName=="LI") {
                node.onmouseover=function() { this.className+=" over"; this.style.background="#fff"; }
                node.onmouseout=function() { this.className=this.className.replace(" over", ""); this.style.background="#E9DECC"; }
                for (x = 1; x<node.childNodes.length; x++) {
                    if (node.childNodes[x].nodeName=="UL")
                        for (y=0; y<node.childNodes[x].childNodes.length; y++) {
                            if (node.childNodes[x].childNodes[y].nodeName=="LI") {
                                node.childNodes[x].childNodes[y].onmouseover=function() {
                                    node.childNodes[x].childNodes[y].className+=" over";
                                }
                                node.childNodes[x].childNodes[y].onmouseout=function() {
                                    node.childNodes[x].childNodes[y].className.replace(" over","");
                                }
                        }
                    }
                }
                
            }
        }    
    }
}  

window.addEvent('domready',function() {
    startList();
    new SmoothScroll({ duration:700 }, window);
});
