function signupforafreetrial_Validator(theForm)
{

  if (theForm.emailaddress.value == "")
  {
    alert("Please enter your Email Address.");
    theForm.emailaddress.focus();
    return (false);
  }

  if ((theForm.emailaddress.value.indexOf('@',0) == -1) || (theForm.emailaddress.value.indexOf('.',0) == -1))
  {
    alert("Email Address is incorrectly formatted. Please enter again.");
    theForm.emailaddress.focus();
    return (false);
  }

  if (theForm.namefirst.value == "")
  {
    alert("Please enter your First Name.");
    theForm.namefirst.focus();
    return (false);
  }
  
  if (theForm.namelast.value == "")
  {
    alert("Please enter your Last Name.");
    theForm.namelast.focus();
    return (false);
  }
  
  if (theForm.phonenumber.value == "")
  {
    alert("Please enter your Phone Number.");
    theForm.phonenumber.focus();
    return (false);
  }
  
  if (theForm.addresscity.value == "")
  {
    alert("Please enter your City.");
    theForm.addresscity.focus();
    return (false);
  }
  
  if (theForm.addressstate.value == "")
  {
    alert("Please enter your State.");
    theForm.addressstate.focus();
    return (false);
  }
  
  if (theForm.addresszip.value == "")
  {
    alert("Please enter your Zip Code.");
    theForm.addresszip.focus();
    return (false);
  }
  
  if (theForm.numberofemployees.value == "")
  {
    alert("Please enter the number of employees in your office.");
    theForm.numberofemployees.focus();
    return (false);
  }
  
  if (theForm.currenthaveservice.value == "")
  {
    alert("Please indicate whether or not you have coffee service.");
    theForm.currenthaveservice.focus();
    return (false);
  }
  
  if (theForm.currentprovider.value == "") && (theForm.currenthaveservice.value == "Yes")
  {
    alert("Please indicate whether or not you have a current provider.");
    theForm.currentprovider.focus();
    return (false);
  }
  else
  {
	  if (theForm.beverages.value == "")
	  {
		alert("Please enter your current prover's name.");
		theForm.beverages.focus();
		return (false);
	  }
  }
  
  if (theForm.specialoffers.value == "")
  {
    alert("Please indicate whether or not you would like to receive special offers via e-mail.");
    theForm.specialoffers.focus();
    return (false);
  }
  
  if (theForm.howdidyouwherehear.value == "")
  {
    alert("Please select how you heard about us.");
    theForm.howdidyouwherehear.focus();
    return (false);
  }
  return (true);
}

