/* THIS FUNCTION MAKES THE TOP NAV MENU WORK IN INTERNET EXPLORER */
startList = function() {
	if (document.all && document.getElementById) {
		navRoot = document.getElementById("dmenu");
		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;

var browserEnabled  = (navigator.appName.indexOf('Netscape') >= 0 && parseInt(navigator.appVersion) >= 3) || (navigator.appName.indexOf('Microsoft') >= 0 && parseInt(navigator.appVersion) >= 4);

 if (browserEnabled)
  {
			  
		 tab1on = new Image(185, 38);
		 tab1on.src = "images/rotating/tab1-on.gif";               
		 tab1off = new Image(185, 38);
		 tab1off.src = "images/rotating/tab1-off.gif";
		 
		 tab2on = new Image(185, 38);
		 tab2on.src = "images/rotating/tab2-on.gif";               
		 tab2off = new Image(185, 38);    
		 tab2off.src = "images/rotating/tab2-off.gif";
		 
		 tab3on = new Image(185, 38);      
		 tab3on.src = "images/rotating/tab3-on.gif";               
		 tab3off = new Image(185, 38);         
		 tab3off.src = "images/rotating/tab3-off.gif";		
		 
					 
		 }
function img_act(imgName)
 {
		 if (browserEnabled)
		 {
		 imgOn = eval(imgName + "on.src");
		 document [imgName].src = imgOn;
		 }
 }
function img_inact(imgName)
 {
		 if (browserEnabled)
		 {
		 imgOff = eval(imgName + "off.src");
		 document [imgName].src = imgOff;
		 }
 }