	<!--
function Validate(theForm){

if (theForm.FirstName.value == "")	{
	alert("Please enter your First Name");
	theForm.FirstName.focus();
	return (false);
	}

if (theForm.LastName.value == "")	{
	alert("Please enter your Last Name");
	theForm.LastName.focus();
	return (false);
	}


 // check if numbers field is blank
if (theForm.Phone.value == "")	{
	alert("Please enter your Phone number.");
	theForm.Phone.focus();
	return (false);
	}



// check the length of the phone number..
if (theForm.Phone.value.length < 10)	{
	alert("Your number appear to be too short");
	theForm.Phone.focus();
	return (false);
	}


// check if EMail field is blank
 if (theForm.EMail.value == ""){
    alert("Please enter a value for the \"EMail\" field.");
    theForm.EMail.focus();
    return (false);
  }

  // test if valid EMail address, must have @ and .
  var checkEMail = "@.";
  var checkStr = theForm.EMail.value;
  var EMailValid = false;
  var EMailAt = false;
  var EMailPeriod = false;
  for (i = 0;  i < checkStr.length;  i++){
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkEMail.length;  j++){
      if (ch == checkEMail.charAt(j) && ch == "@")
        EMailAt = true;
      if (ch == checkEMail.charAt(j) && ch == ".")
        EMailPeriod = true;
	  if (EMailAt && EMailPeriod)
		break;
	  if (j == checkEMail.length)
		break;
	}

	// if both the @ and . were in the string
    if (EMailAt && EMailPeriod){
		EMailValid = true
		break;
	}
  }
  if (!EMailValid){
    alert("The \"EMail\" field must contain an \"@\" and a \".\".");
    theForm.EMail.focus();
    return (false);
  }

}


//-->