// JavaScript Document


function validator(theForm) {
if (theForm.Email.value == "")
{
alert("You must enter an e-mail address!");
theForm.Email.focus();
return (false);
}
var okEmail = theForm.Email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (okEmail){
ok = true;
} else {
alert('Please enter a valid e-mail address.');
theForm.Email.focus();
theForm.Email.select();
ok = false;
return false;
} 
if (theForm.FirstName.value == "")
{
alert("Please enter your first name!");
theForm.FirstName.focus();
return (false);
}
if (theForm.LastName.value == "")
{
alert("Please enter your last name!");
theForm.LastName.focus();
return (false);
}
if (theForm.Interest.value == "Choose One")
{
alert("Please select your interest!");
theForm.Interest.focus();
return (false);
}
if (theForm.Comments.value == "")
{
alert("Please enter your comment, suggestion or question!");
theForm.Comments.focus();
return (false);
}
return true;
}