<!--
function Subscription_Validator(theForm)
{

  //First Name:
    if (theForm.FName.value == "")
    {
      alert("Please enter a value for the \"First Name\" field.");
      theForm.FName.focus();
      return (false);
    }

  //Last Name:
    if (theForm.LName.value == "")
    {
      alert("Please enter a value for the \"Last Name\" field.");
      theForm.LName.focus();
      return (false);
    }

  //Business Name:
    if (theForm.BusName.value == "")
    {
      alert("Please enter a value for the \"Business Name\" field.");
      theForm.BusName.focus();
      return (false);
    }

  //Business Type:
    if (theForm.BusType.value == "")
    {
      alert("Please enter a value for the \"Business Type\" field.");
      theForm.BusType.focus();
      return (false);
    }

  //Email Address:
    var str=theForm.EMailAddr.value
    var filter=/^(\w+(?:\.\w+)*)@((?:\w+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
      if (filter.test(str))
      testresults=true
      else{
      alert("Please input a valid email address!");
      theForm.EMailAddr.focus();
      return (false);
      }
    if (theForm.EMailAddr.value.length > 55)
    {
      alert("Please enter at most 55 characters in the \"Email Address\" field.");
      theForm.EMailAddr.focus();
      return (false);
    }
  
  //Mailing Address:
    if (theForm.MailAddr.value == "")
    {
      alert("Please enter a value for the \"Mailing Address\" field.");
      theForm.MailAddr.focus();
      return (false);
    }

  //Mailing City:
    if (theForm.MailCity.value == "")
    {
      alert("Please enter a value for the \"City\" field.");
      theForm.MailCity.focus();
      return (false);
    }

  //Mailing State:
    if (theForm.MailState.value == "")
    {
      alert("Please enter a value for the \"State\" field.");
      theForm.MailState.focus();
      return (false);
    }

  //Mailing Zip:
    if (theForm.MailZip.value == "")
    {
      alert("Please enter a value for the \"Zip\" field.");
      theForm.MailZip.focus();
      return (false);
    }

  //Mailing Country:
    if (theForm.MailCountry.value == "")
    {
      alert("Please enter a value for the \"Country\" field.");
      theForm.MailCountry.focus();
      return (false);
    }


//Script end
  return (true);
}

//-->

