function checkform(frm) {
	msg = "";

	// contact details
	if (document.frm.fname.value == "")  msg = msg + "- Full name\n";
	if (!emailcheck(document.frm.email.value)) msg = msg + "- A valid email address\n";
	if (document.frm.tel.value == "")  msg = msg + "- Telephone\n";
	
	// Arrival & Departure
	
	if (!check2dates("arrival_date","")) msg = msg + "- Your arrival and departure dates\n";

	// display the form check	
	if (msg!="")
		{
		alert ("Please complete the following:\r\n\r\n"+msg);
		return false;
		}
}
