startList = function() {
   if (document.all&&document.getElementById) {
      cssdropdownRoot = document.getElementById("kmenu");
      for (x=0; x<cssdropdownRoot.childNodes.length; x++) {
         node = cssdropdownRoot.childNodes[x];
         if (node.nodeName=="LI") {
            node.onmouseover=function() {
               this.className+=" over";
            }
            node.onmouseout=function() {
               this.className=this.className.replace(" over", "");
            }
            for (y=0;y<node.childNodes.length;y++){
               node1 = node.childNodes[y];
               if (node1.nodeName=="UL"){
                  for (z=0;z<node1.childNodes.length;z++){
                     node2=node1.childNodes[z];
                     if (node2.nodeName=="LI"){
                          node2.onmouseover=function() {
                             this.className+=" over";
                          }
                          node2.onmouseout=function() {
                             this.className=this.className.replace(" over", "");
                          }                     
                     
                     }
               
                  }
               
               }
            
            }
         }
                 
      }
   }
}

if (window.attachEvent)
window.attachEvent("onload", startList)
else
window.onload=startList;
