// 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 wp_ie = navigator.appName.toLowerCase().indexOf("explorer") != -1;
var wp_pc = navigator.userAgent.toLowerCase().indexOf("windows") != -1;
var wp_mac = navigator.platform.toLowerCase().indexOf("macppc") != -1; 

if (wp_mac && (wp_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 (wp_ie && wp_pc) {
		if (formObj = document.getElementById("navright")) formObj.style.visibility = 'visible';
		}
	}
	function showSelect() {
		if (wp_ie && wp_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) {
		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 ***