
//  End -->

function Form1_Validator(theForm)
  {
	  if(theForm.name.value == "") {
      alert("Error: Name is a Required Field!");
      theForm.name.focus();
      return false;
  }
	  if(theForm.phone.value == "") {
      alert("Error: Phone Type is a Required Field!");
      theForm.phone.focus();
      return false;
  }
	  if(theForm.email.value == "") {
      alert("Error: Email is a Required Field");
      theForm.email.focus();
      return false;
  }
	re = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
	if(!re.test(theForm.email.value)) {
	alert("Error: Please enter a valid Email Address!");
	theForm.email.focus();
	return false;
  }

}

