<!--hide this script from non-javascript-enabled browsers
function Validate()
		{
			if (document.Form.Name.value == "") {
				alert("A Name is required.")
				document.Form.Name.focus(); 
				return false}
			if (document.Form.Email.value == "") {
				alert("An Email Address is required.")
				document.Form.Email.focus();
				return false }
				if (isValidEmail(document.Form.Email) == false) { 
    			alert("Please enter a valid Email Address.")
	    		document.Form.Email.focus();
	    		return false }
			if (document.Form.City.value == "") {
				alert("A City is required.")
				document.Form.City.focus(); 
				return false }
			if (document.Form.Country.value == "United States") {
				if (document.Form.State.value == "") {
					alert("A State is required.")
					document.Form.State.focus(); 
					return false }
				if (document.Form.Zip.value == "") {
					alert("A Zip Code is required.")
					document.Form.Zip.focus();
					return false }
				if (isValidZip(document.Form.Zip) == false) { 
		    		alert("Please enter a valid Zip Code.")
		    		document.Form.eAddress.focus();
		    		return false }
				if (document.Form.WorkPhone.value == "") {
					alert("A Daytime Phone is required.")
					document.Form.WorkPhone.focus();
					return false }
					}

			return true;
	}
// ======================
function isValidEmail(elm) {
	if (elm.value.indexOf("@") + "" != "-1" &&
  		elm.value.indexOf(".") + "" != "-1" &&
  		elm.value != "") 
		return true;
		else return false;
	}
// ======================
function isDigit(theDigit) {
   digitArray = new Array('0','1','2','3','4',
         '5','6','7','8','9')
   for (j = 0; j < digitArray.length; j++) {	
         if (theDigit == digitArray[j])
            return true;
		}	
	return false;
	}
// ======================
function isValidPhone(elm) {
var elmstr = elm.value + "";
var theChar;
var theCount = 0;
for (var i = 0; i < elmstr.length; i++) {
      theChar = elmstr.charAt(i)
      if ( isDigit(theChar) )
      {
	  theCount++;
	  }
	  else
	  {
         if ( !( 
               (theChar == '(') || 
               (theChar == ')') ||
			   (theChar == ' ') ||
               (theChar == '-') ) )
         {
            return false;            
         } 
      }
   }
   if (theCount !== 10) {
      return false;            
   }
   return true;
}		
// ======================
function isValidZip(elm){
var elmstr = elm.value + "";
var theChar;
var theCount = 0;
for (var i = 0; i < elmstr.length; i++) {
      theChar = elmstr.charAt(i)
      if ( isDigit(theChar) )
      {
	  theCount++;
	  }
	  else
	  {
         if ( !( 
			   (theChar == ' ') ||
               (theChar == '-') ) )
         {
            return false;            
         } 
      }
   }
   if (!(
   		(theCount == 5) || 
		(theCount == 9) ) ) 
	{
      return false;            
    }
   return true;
}		
// ======================
function isNumeric(elm) {
var elmstr = elm.value + "";
var theChar;
for (var i = 0; i < elmstr.length; i++) {
      theChar = elmstr.charAt(i)
      if ( !(isDigit(theChar)) )
      {
        return false;            
      }
   } 
   return true;
}		
// ======================
function StateCountry() {
if ( !(document.Form.Country.value == "United States") )
	{
	document.Form.State.selectedIndex=0
	document.Form.State.disabled=true
	} 
else
	{
	document.Form.State.disabled=false;
	}
}

// Stop hiding it! -->
