function verify_email (strng) {
var error = "";
var emailFilter=/^.+@.+\..{2,3}$/;
if (!(emailFilter.test(strng))) {
error = "Please make sure your Email Address is typed correctly.\n";
}
else {
var illegalchars=/[\(\)\<\>\,\;\:\\\"\[\]]/;
if (strng.match(illegalchars)) {
error = "Email Address contains illegal characters.\n";
}
}
return error;
}