	function ValidateForm_carSearch(form)	
	{		
	var cErrorBackground = '#FFFFEE';	
	if(IsEmpty(form.manufacturer))			
	{	
	alert('You must select a manufacturer'); 			
	form.manufacturer.style.background = cErrorBackground;			
	form.manufacturer.focus();			
	return false;		
	}	

	var rangeTest = form.range.selectedIndex;	
	if(rangeTest==0)			
	{				
	alert('You must select a model Range.'); 		
	form.range.style.background = cErrorBackground;		
	form.range.focus();			
	return false;		
	}							
	var yearTest = form.year.selectedIndex;			
	if(yearTest==0)					
	{					
	alert('You must select a model Year.'); 	
	form.year.style.background = cErrorBackground;		
	form.year.focus();	
	return false;			
	}					
	var modelTest = form.model.selectedIndex;		
	if(modelTest==0)			
	{				
	alert('You must select a vehicle model.'); 		
	form.model.style.background = cErrorBackground;			
	form.model.focus();					
	return false;			
	}					
	var derTest = form.derID.selectedIndex;		
	if(derTest==0)		
	{					
	alert('You must select a derivative.'); 	
	form.derID.style.background = cErrorBackground;		
	form.derID.focus();					
	return false;			
	}		
	if(IsEmpty(form.mileage)) 		
	{ 			
	alert('You have not entered your annual mileage. E.g. 15000');
	form.mileage.style.background = cErrorBackground;	
	form.mileage.focus();			
	return false;			
	}					
	if(IsEmpty(form.mpg)) 		
	{ 				
	alert('You have not entered your vehicles MPG. E.g. 38.5');		
	form.mpg.style.background = cErrorBackground;	
	form.mpg.focus();		
	return false;			
	}					
	if(IsEmpty(form.fuel)) 			
	{ 				
	alert('You have not entered your fuel price per litre. E.g. 106.9');	
	form.fuel.style.background = cErrorBackground;		
	form.fuel.focus();			
	return false;			
	}				
	if(IsEmpty(form.roadtax)) 			
	{ 				
	alert('You have not entered your yearly Road Tax cost. E.g. 125');
	form.roadtax.style.background = cErrorBackground;			
	form.roadtax.focus();			
	return false;			
	}				
	
	if(IsEmpty(form.email)) 		
	{ 			
	alert('You have not entered your Email.');		
	form.email.style.background = cErrorBackground;		
	form.email.focus();		
	return false;			
	}			
	else if(!IsValidEmail(form.email.value))		
	{ 				
	alert('Email address is not valid.');		
	form.email.style.background = cErrorBackground; 		
	form.email.focus(); 			
	return false; 				
	}	
	return true;
	}
