<!--
function validate(enquiry_form)
{
var string1=document.getElementById('name').value
var string2=document.getElementById('phone').value
var string3=document.getElementById('email').value
var string4=document.getElementById('referrer').value
var string5=document.getElementById('comments').value
var string6=document.getElementById('equation').value


	if ((string1.length < 2)
	 || (string1 == ""))
	{
		window.alert("Please enter your full Name\.");
		document.getElementById('name').focus();
		return false;
	}
	
	if ((string2.length < 10)
	 || (string2 == ""))
	{
		window.alert("Please enter a valid Contact Number\.");
		document.getElementById('phone').focus();
		return false;
	}
	
	if ((string3.indexOf("@") <= 0)
	 || (string3.indexOf(".") <= 0)
	 || (string3.indexOf(" ") >= 0)
	 || (string3.length < 6)
	 || (string3 == ""))
	{
		window.alert("Please check your Email Address\." + '\n'
		+ "Enter the correct format with no spaces\.");
		document.getElementById('email').focus();
		return false;
	}
	
	if (string4 == "none")
	{
		window.alert("Please choose a Referrer\.");
		document.getElementById('referrer').focus();
		return false;
	}
	
	
	if (string5.length < 10)
	{
		window.alert("Please enter any additional details for your Enquiry\.");
		document.getElementById('comments').focus();
		return false;
	}
	
	if (string6 != 9)
	{
		window.alert("Please answer our Anti Spam question\.");
		document.getElementById('equation').focus();
		return false;
	}

	else
	return true;
}
//-->