<!--
  function mySubmit() {
    if (document.myForm.spam.value == antispam) {
	    if ((document.myForm.rname.value.length == 0) || (document.myForm.email.value.length == 0)) {
	      alert('Name and email required');
	      return false;
	    } else {
	      email = document.myForm.email.value;
	      emailLen = email.length;
	
	      atIndex = email.indexOf('@');
	      dotIndex = email.lastIndexOf('.');
	
	      if ((dotIndex - atIndex > 1) && (atIndex > 0) && (dotIndex < emailLen - 1))
	        return true;
	      else {
	        alert('email format incorrect');
	        return false;
	      }
	    }
	    
    } else {
      alert('anti spam answer is incorrect');
      return false;
    }
  }
-->