
startMenu = function() {
if (document.all&&document.getElementById) {
menu = document.getElementById("topmenu");
for (i=0; i<menu.childNodes.length; i++) {
node = menu.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function(){
this.className=this.className.replace(" over", "")
}
}
}
}
}

if (window.attachEvent)
window.attachEvent("onload", startMenu)
else
window.onload=startMenu;
