// JavaScript Document
startList = function() {
    if (document.getElementById) {
        navRoot = document.getElementById("nav");
        for (i=0; i<navRoot.childNodes.length; i++) {
            node = navRoot.childNodes[i];
            if (node.nodeName == "LI") {
                
                // IE's select-overlap bug fix
                //if ((navigator.appVersion.indexOf('MSIE') > 0) && (navigator.userAgent.indexOf('Opera') < 0))
                    /*if( node.className.match( "/^f/" ) )
                    {
                        var ifr = document.createElement("iframe");
                        
                        //ifr.style.filter = "progidXImageTransform.Microsof t.Alpha(opacity=0)";
                        
                        ifr.frameBorder = "0";
                        ifr.scrolling = "no";
                        ifr.src = "";
                        
                        ifr.style.position = "absolute";
                        ifr.style.top = "0px";
                        ifr.style.left = "0px";
                        ifr.style.zIndex = "-1";
                        
                        ifr.style.width = "100%";
                        ifr.style.height = "100%";
                        
                        node.appendChild(ifr);
                    } */
                
                node.onmouseover = function() {
                    //var img = this.firstChild.firstChild;
                    //img.src = img.src.replace("menu_img","title_image"); 
                    this.className+=" over";
                }
                node.onmouseout = function() {
                    //var img = this.firstChild.firstChild;
                    //img.src = img.src.replace("title_image", "menu_img");
                    this.className=this.className.replace(" over", "");
               }
            }
        }
    }
}

window.onload = startList;