<!--
function ValContact(theForm)
{
if (theForm.name.value=="")
{
	alert("Please enter your name");
	theForm.name.focus();
	theForm.name.style.backgroundColor="#FFE494";
	return (false);
}
if (theForm.email.value =="")
{
	alert("Please enter your email address");
	theForm.email.focus();
	theForm.email.style.backgroundColor="#FFE494";
	return false;
}
if (theForm.email.value.indexOf('@', 0) == -1) 
{
	alert("Not a valid email address");
	theForm.email.focus();
	theForm.email.style.backgroundColor="#FFE494";
	return (false);
}
if (theForm.email.value.indexOf('.', 0) == -1) 
{
	alert("Not a valid email address");
	theForm.email.focus();
	theForm.email.style.backgroundColor="#FFE494";
	return (false);
}
if (theForm.contact.value =="")
{
	alert("Please indicate how you would like to be contacted");
	theForm.contact.focus();
	theForm.contact.style.backgroundColor="#FFE494";
	return false;
}
if ((theForm.contact.value =="Telephone") && (theForm.telephone.value ==""))
{
	alert("Contact by telephone selected but no daytime number entered");
	theForm.telephone.focus();
	theForm.telephone.style.backgroundColor="#FFE494";
	return false;
}
if ((theForm.contact.value =="Email") && (theForm.email.value ==""))
{
	alert("Contact by email selected but no email address entered");
	theForm.email.focus();
	theForm.email.style.backgroundColor="#FFE494";
	return false;
}
if ((theForm.contact.value =="Post") && (theForm.address.value ==""))
{
	alert("Contact by post selected but no address entered");
	theForm.address.focus();
	theForm.address.style.backgroundColor="#FFE494";
	return false;
}
if (theForm.enquiry.value =="")
{
	alert("Please enter your enquiry");
	theForm.enquiry.focus();
	theForm.enquiry.style.backgroundColor="#FFE494";
	return false;
}
return (true);
}
//-->

