startList = function() {
  if (document.all&&document.getElementById) {
       navRoot = document.getElementById("nav");
       for (i=0; i<navRoot.childNodes.length; i++) {
             node = navRoot.childNodes[i];
             if (node.className == "parent") {
                    node.onclick=function() {
                       this.className = this.className.replace(/(over)?(parent)?/, (this.

className.match(/over/)) ? 'parent' : 'over');
                      }}}}}

function displayMenu(currentMenu) {
var thisMenu = document.getElementById(currentMenu).style

if (thisMenu.display == "block") {
thisMenu.display = "none"
} else {
thisMenu.display = "block"
}
return false
}
window.onload=startList;