function checkform(theform){

var form = theform;
//var t = form.terms.checked;
var retval = false;
var re = /[^@]+\@[^@]+\.\D{2,3}/;
var ok = re.exec(form.email.value);
if (!form.firstname.value){
alert("You must enter your first name to continue...");
return false;
}
if (!form.lastname.value){
alert("You must enter your last name to continue...");
return false;
}
if (!ok){
alert("You must enter a valid email address to continue...");
return false;
}
if (!form.comments.value){
alert("You must enter something in the comments field for this form to be of any use...");
return false;
}
}