function verifyForm() 
{
    var themessage = "Apologies...there seems to have been a problem with your signup information.";
    var good;
    var goodEmail = document.Table3FORM.profile_email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.biz)|(\.org)|(\..{2,2}))$)\b/gi);
    if (goodEmail)
    {
      	good = true
    }
    else 
    {
      	themessage = themessage + "\n\n - Invalid email address";
    }
    if (document.Table3FORM.profile_password.value.length<4) 
    {
      	themessage = themessage + "\n\n - Password must be at least 4 characters long.";
    }
    if (document.Table3FORM.profile_password.value!=document.Table3FORM.confirm_password.value) 
    {
      	themessage = themessage + "\n\n - Passwords do not match.";
    }
    if (themessage == "Apologies...there seems to have been a problem with your signup information.") 
    {
      	document.Table3FORM.submit();
    }
    else 
    {
      	alert(themessage);
				return false;
    }
}
