function initMainMenu()
{
    navRoot = document.getElementById("mainmenu");
    
    for (i=0; i<navRoot.childNodes.length; i++)
    {
        node = navRoot.childNodes[i];
        if (node.nodeName=="LI")
        {
            node.onmouseover=function()
            {
                if (document.all&&document.getElementById) { this.className+=" hover"; }
                // document.getElementById("overlay").style.visibility = "visible";
            }
            node.onmouseout=function()
            {
                if (document.all&&document.getElementById) { this.className=this.className.replace(" hover", ""); }
                // document.getElementById("overlay").style.visibility = "hidden";
            }
        }
    }
}
