function check()
{
//this function will check to see if the FIRST NAME has been input
if(document.chform.fname.value =="")
	{
	alert("Invalid Entry: Please enter your first name.")
	document.chform.fname.focus();
	return false;
	}
	
	//this function will check to see if the LAST NAME has been input
if(document.chform.lname.value =="")
	{
	alert("Invalid Entry: Please enter your last name.")
	document.chform.lname.focus();
	return false;
	}
	
	//this function will check to see if the EMAIL ADDRESS has been input
if(document.chform.email.value =="")
	{
	alert("Invalid Entry: Please enter your correct email address.")
	document.chform.email.focus();
	return false;
	}
	//this function will check to see if the COMMENTS HAVE been input
if(document.chform.commentsbefore.value =="")
	{
	alert("Invalid Entry: Please enter your comments.")
	document.chform.commentsbefore.focus();
	return false;
	}
	
	else
	{	
	return true;
	}
	}
	
	
	
	
	
	
	
	
	
	
