function checkMail(ml) {
var eml = eval('document.comments.' + ml);
eml=eml.value;
var at = eml.indexOf("@");
var dot = eml.lastIndexOf(".");
var spc = eml.indexOf(" ");
if (at < 1 || dot <= at+1 || dot >= eml.length-1 || spc != -1) return (true);
else return (false);
	}

	function checkSend(s) {
var errors = "";
var nms=false;
//if (document.comments.message.value == "") {
//	errors = errors + " - You have not entered a message to send.\n";
//	nms=true;
//}
if (checkMail('F_FROM') != false) errors = errors + " - You have not entered a valid email address.\n";
if (errors != "") {
	alert("The following errors occured\n" + errors); 
	//if(nms) document.comments.message.focus(); 
	//else 
	document.comments.F_FROM.focus(); 
	return (false);
}
if(s=='s')document.comments.submit(); else return (true);
	}