<!-- // ignore if non-JS browser 
function Validator(theForm)
  {
  // SETTING THE VARIABLES
  var error = "";
  var validEmail = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@-._";
  var validChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ- .'";
  var whitespace = " \t\n\r+.()-";
  
  // E-MAIL VALIDATION
  if (theForm.email.value == "")
    { error += "Please include an accurate email address.\n\n"; }
  if ((theForm.email.value.indexOf ('@',0) == -1 || theForm.email.value.indexOf ('.',0) == -1) && theForm.email.value != "")
    { error += "Please verify that your email address is valid.\n\n"; } 
  for (var i = 0; i < theForm.email.value.length; i++) 
	{ var chr = theForm.email.value.substring(i,i+1);
	  if (validEmail.indexOf(chr) == -1)
	    { error += "The e-mail address you entered contains an invalid character.\n";
		break; }
	}  
  // DISPLAYING THE ERRORS
  if (error != "")
    { alert(error);
    } else {
    theForm.send.value = 'Working...Please Wait';
	theForm.submit();
    }	
}
// -->

