// Simple validation that alerts a list of fields that need to be filled out.
// Specific to the olympia ballpark quote form. don't try to reuse without modification.
function olympiaValidate() {
	var failures = new Array();
	$('#form-ballpark :input').not('#fld-submit').each(function(){
		if ($(this).attr('value')=="") {
			failures.push($(this).attr('name'));
			$(this).css('border-color','#ff0000');
		}
	});
	if (failures.length > 0) {
		errorString = "All fields are required. Please provide:\n";
		for (i in failures) {
			errorString += failures[i] + "\n";
		}
		alert(errorString);
		return false;
	}
	else { return true; }
}
