// JavaScript Order Form validation
function Form_Validator(theForm)
{
	
 	if (theForm.Name.value == "")
  {
    alert("Please enter your Name");
    theForm.Name.focus();
    return (false);
  }
	if (theForm.Address.value == "")
  {
    alert("Please enter Address");
    theForm.Address.focus();
    return (false);
  }
	if (theForm.City.value == "")
  {
    alert("Please enter a City");
    theForm.City.focus();
    return (false);
  }
	
	if (theForm.Zip_Code.value == "")
  {
    alert("Please enter a Zip Code");
    theForm.Zip_Code.focus();
    return (false);
  }
	if (theForm.Phone_Number.value == "")
  {
    alert("Please enter a Phone Number ");
    theForm.Phone_Number.focus();
    return (false);
  }
  if (theForm.Cell_Phone.value == "")
  {
    alert("Please enter a Cell Phone Number ");
    theForm.Cell_Phone.focus();
    return (false);
  }
  if (theForm.Email.value.length == 0) {
    alert("Please fill in the E-mail address");
    theForm.Email.focus();
    return false;
  }
  re = /^[a-zA-Z0-9_.\-]+@[a-zA-Z0-9.\-]+[a-zA-Z0-9\-]\.[a-zA-Z][a-zA-Z]+$/;
  if (!re.test(theForm.Email.value)) {
    alert("Please fill in a correct E-mail address");
    theForm.Email.focus();
    return false;
  }	
if (theForm.Date_Service.value == "")
  {
    alert("Please enter the Date Requested for Service ");
    theForm.Date_Service.focus();
    return (false);
  }
  if (theForm.Service.value == "Please Select")
  {
    alert("Please enter the Type of service needed ");
    theForm.Service.focus();
    return (false);
  }
  if (theForm.Work.value == "")
  {
    alert("Please enter the Description of work to be performed ");
    theForm.Work.focus();
    return (false);
  }
  return (true);
}

	 
	
	 
	 