function checkform() {
	msg = "";

	// contact details
	if (document.frm.fullname.value == "")  msg = msg + "- Your full name\n";
	if (!emailcheck(document.frm.email.value)) msg = msg + "- A valid email address\n";
	if (document.frm.tel.value == "")  msg = msg + "- Your telephone number\n";

	// display the form check	
	if (msg!="")
		{
		alert ("Please complete the following:\r\n\r\n"+msg);
		return false;
		}
}
