
function validateForm(theForm)
{
	/* About you details */
	if(theForm.quote_name){
		if (!validRequired(theForm.quote_name,"Name"))
			return false;	
	}
	if(theForm.quote_address){	
		if (!validRequired(theForm.quote_address,"Address"))
			return false;
	}
	if(theForm.quote_post_code){	
		if (!validRequired(theForm.quote_post_code,"Post Code"))
			return false;		
	}
	if(theForm.quote_email){	
		if (!validRequired(theForm.quote_email,"Email"))
			return false;
			
		if (!validEmail(theForm.quote_email,"Email",true))
			return false;
	}
	
	if(theForm.quote_tel_no){	
		if (!validRequired(theForm.quote_tel_no,"Tel No"))
			return false;
	}
	/* End about you details */	
	
	if(theForm.quote_animal){
		//if (!validRequired(theForm.animal_listings,"Please specify your animal by clicking add"))
		
		if(theForm.animal_listings.value == ''){
			alert("Please specify your animal by completing the required fields and clicking 'Add animal'");
			theForm.quote_animal.focus();	
			return false;			
		}

	}
	
	/* Your Business details */
	if(theForm.quote_annual_turnover){	
		if (!validRequired(theForm.quote_annual_turnover,"Annual turnover"))
			return false;		
	}	
	/* End Your Business details */
	
	return true;
}

