<!--
function validate_email() {
 
   if(document.list.email.value == "") {
       document.list.email.focus(); 
       alert("ERROR: INVALID E-MAIL ADDRESS\n\nYou must enter your full e-mail address to become a list member."); 
       return false; 
       }

   if(-1 == document.list.email.value.indexOf("@")) { 
       document.list.email.focus(); 
       alert("ERROR- INVALID E-MAIL ADDRESS\n\nYour e-mail must contain a '@'."); 
       return false; 
       }
    if(-1 != document.list.email.value.indexOf(",")) { 
       document.list.email.focus(); 
       alert("ERROR- INVALID E-MAIL ADDRESS\n\nYour e-mail must not contain a ',' in it"); 
       return false; 
       }
    if(-1 != document.list.email.value.indexOf("#")) { 
       document.list.email.focus(); 
       alert("ERROR- INVALID E-MAIL ADDRESS\n\nYour e-mail must not contain an '#' in it." ); 
       return false; 
       }
    if(-1 != document.list.email.value.indexOf("!")) { 
       document.list.email.focus(); 
       alert("ERROR- INVALID E-MAIL ADDRESS\n\nYour e-mail must not contain a '!' in it." ); 
       return false; 
       }
    if(-1 != document.list.email.value.indexOf(" ")) { 
       document.list.email.focus(); 
       alert("ERROR- INVALID E-MAIL ADDRESS\n\nYour e-mail must not contain a space in it." ); 
       return false; 
       }
    if(document.list.email.value.length == (document.list.email.value.indexOf("@")+1) ) {
       document.list.email.focus();
       alert("ERROR- INVALID E-MAIL ADDRESS\n\nYour e-mail must include a domain name after the '@'.\n\nExample: info@amazon.com");
       return false;
       }

    if(document.list.email.value.length == 0) { 
      document.list.email.focus(); 
      alert("Please enter your full e-mail address."); 
      return false; 
      }

    return true;
  }
