startList = function() {
if (document.all&&document.getElementById) {
subnavRoot = document.getElementById("subnav");
for (i=0; i<subnavRoot.childNodes.length; i++) {
node = subnavRoot.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", startList)
else
window.onload=startList;