//Nested Side Bar Menu (Mar 20th, 09)
//By Dynamic Drive: http://www.dynamicdrive.com/style/

 //Enter id(s) of each Side Bar Menu's main UL, separated by commas
var menuids = ["sidebarmenu1"];

function init()
{
  for (var i=0; i<menuids.length; i++) {
    var lis=document.getElementById(menuids[i]).getElementsByTagName("li");
    for (var t=0; t<lis.length; t++) {
      lis[t].onmouseover = function() { this.className += ' hover'; }
      lis[t].onmouseout = function()  { this.className = this.className.replace(' hover', ''); }
    }
  }  
}

if (window.addEventListener) {
  window.addEventListener("load", init, false);
} else if (window.attachEvent) {
  window.attachEvent("onload", init);
}

