	function verifyFareQuoteZip() {
		if ( document.zipForm.fare_quote_zip_code.value == '' 
		  || document.zipForm.fare_quote_zip_code.value == 'zip code' ) {
			alert('Please enter a zip code');
			return false;		
		} 
		if (document.zipForm.fare_quote_zip_code.value.length != 5) {
			alert('Zip code must be 5 digits');
			return false;
		}
		if (isNaN(document.zipForm.fare_quote_zip_code.value)) {
			alert('Zip code must be digits only');
			return false;
		}
		if (document.serviceForm) {	
			if (document.serviceForm.service_type_to.checked == true) {
			   document.zipForm.service_type_zip.value = 'to_airport';	   
			} else {
			   document.zipForm.service_type_zip.value = 'from_airport';
			}
		}		
		return true;
	}

	function verifyFareQuoteLandmark() {
		if ( document.landmarkForm.fare_quote_landmark.value == '' 
		  || document.landmarkForm.fare_quote_landmark.value == 'Landmark / Hotel' ) {
		   alert('Please enter a hotel or landmark name');
		   return false;		
		} 
		if ( document.landmarkForm.fare_quote_city.value == '' 
		  || document.landmarkForm.fare_quote_city.value == 'City' ) {
		   alert('Please enter city');
		   return false;		
		}
		if (document.landmarkForm.fare_quote_landmark.value.length < 3) {
			alert('Landmark name must be at least 3 characters');
			return false;
		}
		if (document.serviceForm) {
			if (document.serviceForm.service_type_to.checked == true) {
			   document.landmarkForm.service_type_landmark.value = 'to_airport';
			} else {
			   document.landmarkForm.service_type_landmark.value = 'from_airport';
			}
		}
	  return true;
	}
	
	function verifyFareQuote() {
		if ( (document.landmarkForm.fare_quote_landmark.value == '' 
		  || document.landmarkForm.fare_quote_landmark.value == 'Landmark / Hotel' ) &&
		   ( (document.zipForm.fare_quote_zip_code.value == '' 
   		  || document.zipForm.fare_quote_zip_code.value == 'zip code' )) ) {
		   alert('Please enter Zip or Landmark name');
	//	   return false;		
		} 
		if ( document.zipForm.fare_quote_zip_code.value == '' 
		  || document.zipForm.fare_quote_zip_code.value == 'zip code' ) {
			if (verifyFareQuoteLandmark()) {			  
			  document.landmarkForm.submit();
	//		  return true;
			}
		} else { 
		  if (verifyFareQuoteZip()) {    
		    document.zipForm.submit();
	//	    return true;
		  }
		}
	//	return false;
	}
	
	function clearText(thefield){
		if (thefield.defaultValue==thefield.value)
		thefield.value = ""
	}
