function returnObjById( id )
{
    if (document.getElementById)
        var returnVar = document.getElementById(id);
    else if (document.all)
        var returnVar = document.all[id];
    else if (document.layers)
        var returnVar = document.layers[id];
    return returnVar;
}
startList = function()
{
    var nav = returnObjById('nav');
    for (h = 0; h < nav.childNodes.length; h++)
    {
        if (nav.childNodes[h].nodeName == "UL")
        {
            navRoot = nav.childNodes[h];
            for (i = 0; i < navRoot.childNodes.length; i++)
            {
                node = navRoot.childNodes[i];
                if (node.nodeName == "LI")
                {
                    node.onmouseover = function()
                    {
                        this.className = "over";
                    }
                    node.onmouseout = function()
                    {
                        this.className = "";
                    }
                }
            }
        }
    }
}
window.onload=startList;