// JavaScript Document
function CheckForm(theForm)
{
	var count = 0;
	var missing = "";
	


	if(theForm.name.value == "")
	{
		count = 1;
		missing = missing + "Your Name\n";
	}


	if(theForm.email.value == "")
	{
		count = 1;
		missing = missing + "Email Address\n";
	}

	if(theForm.tel.value == "")
	{
		count = 1;
		missing = missing + "Telephone\n";
	}
	
	

	if(count == 1) 
	{
		alert("Some of the required fields have not been completed.Please fill in the following fields and try again.\n\n"+missing);
		return false;
	}
	
	
		if(!document.theForm.accepted.checked){alert("Please Read and Accept The Booking Conditions");
return false; }
	
	
	
	return true;
}



