function checkpassengers()
	{

	//check if depcity field is blank
	if (document.search_fare.departure.value =='')
	{
	alert('Leaving from field can not be blank')
	document.search_fare.departure.focus() 
	return false;
	}
	
	if (document.search_fare.departure_date.value =='')
	{
	alert('Departure Date required')
	document.search_fare.departure_date.focus() 
	return false;
	}
	
	
	//checking if destcity field is blank
	if (document.search_fare.destination.value =='')
	{
	alert('Going to field can not be blank')
	document.search_fare.destination.focus()
	return false;
	}

	// check if the airport code length is 3 or not
	if (document.search_fare.departure.value.length != 3)
	{
	alert('Departure airport code needs to be of 3 chars')
	document.search_fare.departure.focus() 
	return false;
	}

	if (document.search_fare.destination.value.length != 3)
	{
	alert('Destination airport code needs to be of 3 chars')
	document.search_fare.destination.focus() 
	return false;
	}
	
	
	document.search_fare.submit();
	}