function checkSubmit(thisForm){
	if(thisForm.visitor.value == ''){
		alert('Please enter your name.');
		return false;
	}
	if(thisForm.visitormail.value == ''){
		alert('Please enter your email address.');
		return false;
	}
	var email = thisForm.visitormail.value;
	var isEmailOkay = email.indexOf('@');
	var isDotOkay=email.indexOf('.');
	if ((isEmailOkay == -1) || (isDotOkay == -1))
	{ 
		alert('Your email address must contain the @ character and at least one dot (.)');
		return false;
	}
	if(thisForm.notes.value == ''){
		alert('Please enter a message.');
		return false;
	}
	return true;
}
