// JavaScript Document

// *** BEGIN JS FOR DROPDOWN NAV *** -->

var agt = navigator.userAgent.toLowerCase();
var appVer = navigator.appVersion.toLowerCase();
var is_safari = (agt.indexOf("safari") != -1);
var build = appVer.substring(appVer.lastIndexOf("/")+1);
build = build.substring(0,build.indexOf("."));
var cn_ie = navigator.appName.toLowerCase().indexOf("explorer") != -1;
var cn_pc = navigator.userAgent.toLowerCase().indexOf("windows") != -1;
var cn_mac = navigator.platform.toLowerCase().indexOf("macppc") != -1; 

if (cn_mac && (cn_ie || (is_safari && !(build>86)))) {
	document.write('<style type="text/css">div.nav-item:hover div.nav-block, div.over div.nav-block {display:none !important;}</style>'); 
}else {
	function hideSelect() {
		if (cn_ie && cn_pc) {
		if (formObj = document.getElementById("navright")) formObj.style.visibility = 'visible';
		}
	}
	function showSelect() {
		if (cn_ie && cn_pc) {
		if (formObj = document.getElementById("navright")) formObj.style.visibility = 'visible';
		}
	}
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("navleftpad");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="DIV") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
				node.onclick=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
    	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("navleftpad2");
		
		//alert(navRoot.childNodes.length);
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="DIV") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
				node.onclick=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}


//deactivated 10/5/07
	//if (document.all&&document.getElementById) {
	//	navRoot2 = document.getElementById("navrightpad");
	//	
	//	for (i=0; i<navRoot2.childNodes.length; i++) {
	//		node = navRoot2.childNodes[i];
	//		if (node.nodeName=="DIV") {
	//			node.onmouseover=function() {
	//				this.className+=" over";
	//			}
	//			node.onmouseout=function() {
	//				this.className=this.className.replace(" over", "");
	//			}
	//			node.onclick=function() {
	//				this.className=this.className.replace(" over", "");
	//			}
	//		}
	//	}
	//	
	//}
	
}
setTimeout("startList()",2000);
}

// *** END JS FOR DROPDOWN NAV ***