function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  }
  else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}
function dropDown() {
	if (document.getElementById) {
		navRoot = document.getElementById("dropDown");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					if (document.getElementById("currentTab"))
					{
						
						this.className+=" over";
					}
				}
				node.onmouseout=function() {
					if (document.getElementById("currentTab"))
					{
						document.getElementById("currentTab").className=document.getElementById("currentTab").className.replace(new RegExp("notcurrent\\b"), "current");
						this.className=this.className.replace("over", "");
					}
				}
			}
		}
	}
}
addLoadEvent(function() {
	dropDown();
});
