function Module_Contact_OnValidate(o){
	try{
		if ( o.Title_1.value.length == 0 ){
			alert("Please select an appropriate salutation");
			o.Title_1.focus();
			return false;
		}
		
		if ( o.Tenants_name_2.value.length == 0 ){
			alert("Please enter the tenants name");
			o.Tenants_name_2.focus();
			return false;
		}
		
			if ( o.Telephone_number_3.value.length == 0 ){
			alert("Please enter the telephone number");
			o.Telephone_number_3.focus();
			return false;
		}
		
		if(!o.Tenants_email_4.value.match(/^[\w-+\.]+@[\w-+\.]+[\w-]$/))
		{
			alert("Please enter the tenants email address");
			return false;
		}
		
			if ( o.Address_of_property_5.value.length == 0 ){
			alert("Please enter the property address");
			o.Address_of_property_5.focus();
			return false;
		}
		
	
		if ( o.PostCode_6.value.length == 0 ){
			alert("Please enter your postcode");
			o.PostCode_6.focus();
			return false;
		}

		if ( o.Description_of_problem_7.value.length == 0 ){
			alert("Please enter a description of the problem");
			o.Description_of_problem_7.focus();
			return false;
		}
		
			if ( o.Day_8.value.length == 0 ){
			alert("Please enter the date");
			o.Day_8.focus();
			return false;
		}
		
			if ( o.Month_9.value.length == 0 ){
			alert("Please enter the month");
			o.Month_9.focus();
			return false;
		}
		
			if ( o.Year_10.value.length == 0 ){
			alert("Please enter the year");
			o.Year_10.focus();
			return false;
		}
		
		//at least one telephone number required
		if ( o.txtHomeTelephone ){
			if ( o.txtHomeTelephone.value.length == 0 && o.txtWorkTelephone.value.length == 0 && o.txtMobileTelephone.value.length == 0 ){
				alert("Please provide at least one telephone number so that we can contact you");
				o.txtHomeTelephone.focus();
				return false;
			}
		}
		
		oCookieManager.StoreFormData();
	}catch(e){
		alert("This was a problem completing your request, please contact the agent");
		return false;
	}
	  return true;
}