<!--
function startList(elementID) {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById(elementID);
		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= function(){
//	startList();
	// unhide startList2(); IF you have another dropdown menu
	// you can also add additional onLoad functions after the initial startList();
	// ex. add MM_preloadImages(); this will avoid the error of the drop down not working
// to add a second drop down menu you'll need another instance of the above funtion startList(), but you need to call it a different name, ex. funtion startList2(). You will also need to give it a unique ID, ex. navRoot = document.getElementById("navList2");
//}

window.onload= function(){
	startList("navList");
//	startList("navList2");
}
//-->

//---form checker

	
	
		function CheckForm()
{
	frm = document.contact;
	if (frm.Name.value.length <= 0)
	{
		alert("Your Name Is Required");
		return false;
	}
	
	
	
		
	if (frm.Email.value.length <= 0)
	{
		alert("Your Email Address Is Required");
		return false;
	}
	
	
	if (frm.Phone.value.length <= 0)
	{
		alert("Your Phone # Is Required");
		return false;
	}
	
	
	
	if (frm.Fax.value.length <= 0)
	{
		alert("Your Fax Is Required");
		return false;
	}
	
	if (frm.City.value.length <= 0)
	{
		alert("Your City Is Required");
		return false;
	}
	
	
	if (frm.State.value.length <= 0)
	{
		alert("Your State Is Required");
		return false;
	}
	
	
	
	if (frm.Zip.value.length <= 0)
	{
		alert("Your Zip Code Is Required");
		return false;
	}
	
			
	if (checkEmailAddress(frm.Email.value))
	{
		return true;
	}else{
		return false;
	}
	
	return true;
}

function checkEmailAddress (subject)
{
	if (subject.match(/\b[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,4}\b/)) {
		return true;
	} else {
		alert('Invalid Email Address\nPlease verify the email address');
		return false;
	}
}
//-->



