// JavaScript Document
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.nodeName=="LI") {
    node.onmouseover=function() {
     this.className+=" over";
    }
    node.onmouseout=function() {
     this.className=this.className.replace(" over", "");
    }
   }
  }
 }
}
window.onload=startList;


function displaySubMenu(li) {
var subMenu = li.getElementsByTagName("ul")[0];
subMenu.style.display = "block";
}
function hideSubMenu(li) {
var subMenu = li.getElementsByTagName("ul")[0];
subMenu.style.display = "none";
}


function g(o){return document.getElementById(o);}
function HoverLi(n)
{
  for(var i=1;i<=5;i++)
  {
	g('tb_'+i).className='normaltab';
    g('tbc_0'+i).className='undis';
  }
 g('tbc_0'+n).className='dis';
 g('tb_'+n).className='hovertab';
}
