 function check (theform) {
   var ok = true;
   var msg;
   msg = defaultMsg();
   if (isblank(theform.name.value)) {
    msg += ' - Please provide your name.\n'
    ok = false;
   }
   if (!(isblank(theform.e_mail.value)) && ((theform.e_mail.value.indexOf('.') == -1) 
       || (theform.e_mail.value.indexOf('@') == -1)))  {
    msg += ' - Please provide a valid e-mail address.\n'
    ok = false;
   }
   if (theform.e_mail.value != theform.conf_email.value) {
    msg += ' - The e-mail addresses you gave do not match.\n'
    ok = false;
   }
   if (!ok) alert(msg);
   return ok;
  }

