<!--
    //ROLL OVER FOR IE 6
    //startList = function() {
    function startList() {
    if (document.all&&document.getElementById) 
    {
    	navRoot = document.getElementById("nav");
    	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;
//-->
<!--
	//TABBED BOXES
	function changeTabsOn(tab) {
	document.getElementById(tab).style.backgroundPosition = "0 0";
}
	function changeTabsOff(tab) {
	document.getElementById(tab).style.backgroundPosition = "0 -26px";
}
	function showTab(tab) {
	document.getElementById('centertab1').style.display = "none";
	document.getElementById('centertab2').style.display = "none";
	document.getElementById('centertab3').style.display = "none";
	document.getElementById('centertab4').style.display = "none";
	document.getElementById(tab).style.display = "block";
}
//-->
<!--
	//LOGIN - HANDLE CHECK BOX VALUE VALIDATION
	function RemPass() {
	var remember = document.Form3.Remember.value;
	var checkval = document.Form3.CheckVal.value;
	if ((remember == 1) && (checkval == 0))
		{
		document.Form3.CheckVal.value = 1;
		}
	else
		{
		document.Form3.CheckVal.value = 0;
	}
}
//-->
<!--
	//OPEN POP-UP W/URL
	function PopWin(NewLocation, LocationLink, WVal, HVal) {
	window.open(NewLocation + "?url=" + LocationLink, "NewWindow", "width=" + WVal 
	+ ",height=" + HVal + ",scrollbars=yes,status=no,toolbar=no");	
}
//-->
<!--
	//OPEN POP-UP
	function PopWinAlt(NewLocation, WVal, HVal) {
	window.open(NewLocation, "NewWindow", "width=" + WVal 
	+ ",height=" + HVal + ",scrollbars=yes,status=no,toolbar=no");	
}
//-->
<!--
	//GO TO NEW LOCATION IN PARENT WINDOW
	function GoTo(NewLocation) {
	self.opener.open(NewLocation);
	parent.close();	
	}
//-->
<!--
	//WEATHER BUG
	function loadXML() {
		
		xmlhttp = null;
		
		// code for Mozilla, etc.
		if (window.XMLHttpRequest) {
			xmlhttp = new XMLHttpRequest();
			if (xmlhttp.overrideMimeType) {
				xmlhttp.overrideMimeType("text/xml");
			}
		}
		// code for IE
		else if (window.ActiveXObject) {
			try {
                xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
        	} 
        		catch (e) {
            try {
                xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
            } 
            	catch (e) {}
            }
        } 
		if (xmlhttp!=null) {
			xmlhttp.onreadystatechange = state_Change;
			xmlhttp.open("GET", "weatherbug/weatherbug.html", true);
			xmlhttp.send(null);
		}
		else {
			alert("Your browser does not support XMLHTTP.");
		}
}
	function state_Change() {
		
	// if xmlhttp shows "loaded"
	if (xmlhttp.readyState == 4) {
		
  		// if "OK"
		if (xmlhttp.status == 200) {
			var xmlStr = xmlhttp.responseXML.documentElement;
			var icon = "url(weatherbug/images/" + 
				xmlStr.getElementsByTagName("icon_url_name")[0].firstChild.data + ")";	
			var desc = xmlStr.getElementsByTagName("weather")[0].firstChild.data;
			var temp = xmlStr.getElementsByTagName("temp_f")[0].firstChild.data + "&deg;";
			if (String(desc).length <= 26) {
				desc = desc;
			}
			else {
				desc = String(desc).substring(0, 23) + "...";
			}
			document.getElementById("iconpos").style.backgroundImage = icon;
		    document.getElementById("strdesc").innerHTML = "<a href=\"javascript:void(0);\" " +
		    	"onclick=\"PopWinAlt('pop_forecast.htm', 400, 600)\" class=\"desclink\">" + desc + "</a>";
		    document.getElementById("strtemp").innerHTML = temp;
		}
  		else
		{
			document.getElementById("strdesc").innerHTML = "No Weather Information Available";
		    document.getElementById("strtemp").innerHTML = "";
    	}
  	}
}
//-->
<!--
	//VALIDATE REQUIRED FORM FIELDS
	function CheckForm() {
	var name = document.Form2.Name.value;
	var company = document.Form2.Company.value
	var email = document.Form2.Email.value;
	var emailchar = document.Form2.Email.value.indexOf("@");
	var phone = document.Form2.Phone.value;
	
	if (name == "")
	{
	alert ("Please provide a Contact Name.");
	document.Form2.Name.focus();
	return (false);
	}
	if (company == "")
	{
	alert ("Please provide your Company Name.");
	document.Form2.Company.focus();
	return (false);
	}
	if ((email == "") || (emailchar == -1)) 
	{
	alert ("Please provide a valid Email Address.");
	document.Form2.Email.focus();
	return (false);
	}	
	if (phone == "")
	{
	alert ("Please provide your Phone Number.");
	document.Form2.Phone.focus();
	return (false);
	}
	return (true);
}
//-->
