
function validateForm(theForm)
{
	/* About you details */
	if(theForm.name){
		if (!validRequired(theForm.name,"Name"))
			return false;	
	}
	if(theForm.telephone){	
		if (!validRequired(theForm.telephone,"Telephone"))
			return false;		
	}
	if(theForm.email){	
		if (!validRequired(theForm.email,"Email"))
			return false;
			
		if (!validEmail(theForm.email,"Email",true))
			return false;
	}
	
	
	
	if(theForm.address1){	
		if (!validRequired(theForm.address1,"Preferred Location"))
			return false;		
	}	
	if(theForm.postcode){	
		if (!validRequired(theForm.postcode,"Postcode"))
			return false;		
	}	
	
	return true;
}

