
function mailinglist ( form )
{
  // ** START **
  if (form.First_Name.value == "") {
    alert( "Please fill in the First Name field." );
    form.First_Name.focus();
    return false ;
  }
	  if (form.Last_Name.value == "") {
    alert( "Please fill in the Last Name field." );
    form.Last_Name.focus();
    return false ;
  }
	 	 if (form.City.value == "") {
    alert( "Please fill in the City field." );
    form.City.focus();
    return false ;
  }
	 if (form.State.value == "Pick One") {
    alert( "Please fill in the State field." );
    form.State.focus();
    return false ;
  }
	 if (form.Zip.value == "") {
    alert( "Please fill in the Zip field." );
    form.Zip.focus();
    return false ;
  }
		
	  
   var emailFilter=/^.+@.+\..{2,3}$/;
    if (!(emailFilter.test(form.Email.value))) { 
      alert("Please enter a valid Email Address.");
				form.Email.focus();
    return false ;
    }
    else {
//test email for illegal characters
       var illegalChars= /[\(\)\<\>\,\;\:\\\"\[\]]/
         if (form.email.value.match(illegalChars)) {
          alert("The email address contains illegal characters.");
										form.email.focus();
    return false ;
       }
    }
				
  
 
  // ** END **
  return true ;
}

















function validateForm() 
{
  // ** START **
  if (form.first_name.value == "") {
    alert( "Please fill in the First Name field." );
    form.first_name.focus();
    return false ;
  }
	  if (form.Last_Name.value == "") {
    alert( "Please fill in the Last Name field." );
    form.Last_Name.focus();
    return false ;
  }
	 	 if (form.City.value == "") {
    alert( "Please fill in the City field." );
    form.City.focus();
    return false ;
  }
	 if (form.State.value == "Pick One") {
    alert( "Please fill in the State field." );
    form.State.focus();
    return false ;
  }
	 if (form.Zip.value == "") {
    alert( "Please fill in the Zip field." );
    form.Zip.focus();
    return false ;
  }
		
	  
   var emailFilter=/^.+@.+\..{2,3}$/;
    if (!(emailFilter.test(form.Email.value))) { 
      alert("Please enter a valid Email Address.");
				form.Email.focus();
    return false ;
    }
    else {
//test email for illegal characters
       var illegalChars= /[\(\)\<\>\,\;\:\\\"\[\]]/
         if (form.email.value.match(illegalChars)) {
          alert("The email address contains illegal characters.");
										form.email.focus();
    return false ;
       }
    }
				
  
 
  // ** END **
  return true ;
}



















