// makes sure they've filled out the get quote form properly
function goodquote(f) {
	// look for bad stuff
	errors = "";
	if(f.pickup[f.pickup.selectedIndex].value == "") {
		errors += "\n - Make sure you have selected a pickup point.";
	}
	if(f.dropoff[f.dropoff.selectedIndex].value == "") {
		errors += "\n - Make sure you have selected a dropoff point.";
	}
	if(f.adults[f.adults.selectedIndex].text == "0") {
		errors+= "\n - Make sure you have listed at least one adult.";
	}
	
	// report bad stuff
	if(errors != "") {
		errors = "We found the following problems with your details:\n" + errors + "\n\nPlease check your information and try again.";
		alert(errors);
		return false;
	}
	// or good.
	else {
		return true;
	}
}