<!--
// From http://www.mlsfinder.com/oh_cincy/derektye/
function setsearchparams(p_save) {
	f = document.multifastfinder;
	p = f.parameter.options[f.parameter.selectedIndex].value;
	sv = f.searchvalue.value;
	// reset field values - reset all real search fields to empty
	f.action_override.value = (p_save) ? "save" : "";
	f.city.value = '';
	f.property_id.value = '';
	f.zip_code.value = '';
	f.address.value = '';
	f.lake_name.value = '';
	// set the field value for the requested search type
	// f.searchtype corresponds to the "Search By" option -- if a user wants to refine this search, which form do they see?
	if (p == 'city'){
		f.city.value = sv;
		f.searchtype.value = 'city';
	}else if(p == 'propertyid'){
		f.property_id.value = sv;
		f.searchtype.value = '';
	}else if(p == 'zip'){
		f.zip_code.value = sv;
		f.searchtype.value = 'zip';
	}else if(p == 'address'){
		f.searchtype.value = 'zip';
		f.address.value = sv;
	}else if(p == 'lakename'){
		f.searchtype.value = 'zip';
		f.lake_name.value = sv;
	}
	// send the search form

	// [CAM] 
	//document.getElementById("searchb").value="Please Wait...";
	//document.getElementById("searchb").style.fontWeight="bold";
	if(f.state.options[f.state.selectedIndex].value=="KY")
		f.action="/nkymls/";
	else if(f.state.options[f.state.selectedIndex].value=="DAYTON")
		f.action="/dayton/";
	/* else //-- default already set as this on actual page.
		f.action="/cincymls/"; */
	// [# CAM]
	
	f.submit();
}
//-->
