function validateForm()
{
var x=document.forms["getresponse"]["email"].value
var atpos=x.indexOf("@");
var dotpos=x.lastIndexOf(".");
if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
  {
  alert("Please enter a valid Email Address");
  return false;
  }
  
var x=document.forms["getresponse"]["custom_firstname"].value
if (x==null || x=="")
  {
  alert("Please enter a valid First Name.");
  return false;
  }
var x=document.forms["getresponse"]["custom_lastname"].value
if (x==null || x=="")
  {
  alert("Please enter a valid Last Name.");
  return false;
  }

var x=document.forms["getresponse"]["custom_addressline"].value
if (x==null || x=="")
  {
  alert("Please enter a valid Mailing Address.");
  return false;
  }
var x=document.forms["getresponse"]["custom_city"].value
if (x==null || x=="")
  {
  alert("Please enter a valid Mailing Address City.");
  return false;
  }
var x=document.forms["getresponse"]["custom_stateprovince"].value
if (x==null || x=="")
  {
  alert("Please select a valid Mailing Address State/Province.");
  return false;
  }
var x=document.forms["getresponse"]["custom_zippostal"].value
if (x==null || x=="")
  {
  alert("Please enter a valid mailing address Zip or Postal Code.");
  return false;
  }
var x=document.forms["getresponse"]["custom_phone"].value
if (x==null || x=="")
  {
  alert("Please enter a valid Phone Number.");
  return false;
  }

}

