<!--
function validate(details)
{
var string1=document.getElementById('title').value
var string2=document.getElementById('forename').value
var string3=document.getElementById('surname').value
var string4=document.getElementById('company').value
var string5=document.getElementById('city').value
var string6=document.getElementById('day_phone').value
var string7=document.getElementById('home_phone').value
var string8=document.getElementById('email').value



	if ((string3.length < 2)
	 || (string3 == ""))
	{
		window.alert("Please enter your surname\.");
		document.getElementById('surname').focus();
		return false;
	}
	
	if ((string6.length < 10)
	 || (string6 == ""))
	{
		window.alert("Please enter a valid contact Number\.");
		document.getElementById('day_phone').focus();
		return false;
	}
	
	if ((string8.indexOf("@") <= 0)
	 || (string8.indexOf(".") <= 0)
	 || (string8.indexOf(" ") >= 0)
	 || (string8.length < 6)
	 || (string8 == ""))
	{
		window.alert("Please check your Email Address\." + '\n'
		+ "Enter the correct format with no spaces\.");
		document.getElementById('email').focus();
		return false;
	}
	

	else
	return true;
}
//-->
