// JavaScript Document



// Main Nav - Dynamic Menu

startList = function() {

	return;

	if (document.all&&document.getElementById) {

		navRoot = document.getElementById("nav");

		if(navRoot!=null)

		{		

			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 NavMenu(){

 if(navigator.appVersion.indexOf("MSIE")==-1){return;}

 var i,k,g,lg,r=/\s*over/,nn='',c,cs='over',bv='main-nav';

 for(i=0;i<10;i++){g=document.getElementById(bv+nn);if(g){

 lg=g.getElementsByTagName("LI");if(lg){for(k=0;k<lg.length;k++){

 lg[k].onmouseover=function(){c=this.className;cl=(c)?c+' '+cs:cs;

 this.className=cl;};lg[k].onmouseout=function(){c=this.className;

 this.className=(c)?c.replace(r,''):'';};}}}nn=i+1;}

}

window.onload=NavMenu;



