// JavaScript Document
function menu() {

navRoot = document.getElementById("menu");
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=this.className.replace("over", "");
}
tagA = document.getElementsByTagName("UL");
for(a = 0; a < tagA.length; a++)
{
if (tagA[a].className == 'submenu')
{
parentPosition(tagA[a]);
}
}
}
}
}

function allf() {
menu();
}
window.onload=allf;