// JavaScript Document
var d=document;

window.onload = function()
{
	/*
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menu-admin");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="UL") {
				_navRoot
			//alert(node.nodeName);
			/*	node.onmouseover=function() {
					this.className+=" hover";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" hover", "");
				} 
			}
		}
	}
	*/
}
/*
window.onload=function()
{
  // When a menu is active it disappears if another menu-item has the :hover
  if(d.getElementById("menuact"))
  {
    d.getElementById("menuact").className='rootactive';
    var li_tags=d.getElementById("menu_left").getElementsByTagName('LI');
    var arr= new Array();
    for(var i=0; i<li_tags.length; i++)
    {
      if(li_tags[i].id!="menuact") {
        li_tags[i].onmouseover=function()
        {
          d.getElementById("menuact").className='';
        }
        li_tags[i].onmouseout=function()
        {
          d.getElementById("menuact").className='rootactive';
        }
      }
    }
  }
  if(d.getElementById("menuactb"))
  {
    d.getElementById("menuactb").className='rootactive';
    var li_tags=d.getElementById("menub").getElementsByTagName('LI');
    var arr= new Array();
    for(var i=0; i<li_tags.length; i++)
    {
      if(li_tags[i].id!="menuactb") {
        li_tags[i].onmouseover=function()
        {
          d.getElementById("menuactb").className='';
        }
        li_tags[i].onmouseout=function()
        {
          d.getElementById("menuactb").className='rootactive';
        }
      }
    }
  }
  styleSheetCheck();
}
*/
