﻿function validate()
{	
	var form = document.contactform
	
	if(form.title.value==""|| +
	form.name.value==""|| +
	form.surname.value==""|| +
	form.email.value==""|| +
	form.tel.value=="")
	{
		alert('please fill in all areas of the form');
		return false;
	}
	else
	{
		form.action = "contactformmailer.asp";
		return true;
	}
}

function validate2()
{
	alert('The contact form is currently unavailable.  We apologise for the inconvenience');
}
