// function ContactInfo(loc) { var Email = ''; URL = "User_Info.asp?Email="+Email+"&RoS=&HomePath=&loc="+loc; window.open(URL,"myPortFolio","width=400,height=535,left=0,top=0,resizable=yes,scrollbars=yes"); } function jumpSearchIndex(valCountyIds,valRegionIds) { document.jumpSearchIndex.RegionIds.value = valRegionIds; document.jumpSearchIndex.CountyIds.value = valCountyIds; document.jumpSearchIndex.action = "../sales_results/All"; document.jumpSearchIndex.submit(); } function jumpMap_BK(valCountyIds) { document.jumpSearchIndex.RegionIds.value = '0'; document.jumpSearchIndex.RegionIds.value = ''; document.jumpSearchIndex.CountyIds.value = valCountyIds; document.jumpSearchIndex.action = "search.asp"; document.jumpSearchIndex.submit(); } function jumpMap(CountyName,CountyId) { document.FinalForm.CountyIds.value=CountyId; document.FinalForm.CountyIdCount.value=1; document.FinalForm.CountyName.value=CountyName; document.FinalForm.RegionName.value=CountyName; document.FinalForm.action="../sales_search/"+CountyName; document.FinalForm.submit(); } function ChangeUser(loc) { var tw = 270; var th = 175; var nsX = (800 - tw) / 2; var nsY = (600 - th) / 2; URL = "GetEmail.asp?loc="+loc+"&RoS=&HomePath="; window.open(URL,"","width=270,height=175,top="+nsY+",left="+nsX+",resizable=no"); } function checkCitySearch() { if ((document.CitySearch.CityName.value.length < 3) || (document.CitySearch.CityName.value == "-- Enter City --")) { alert("Please Enter A City Name For Your Search."); document.CitySearch.CityName.focus(); return false; } return true; } function SearchParChecking_Index(origin) {var CountyIdCount=0,CountyIds="",RNames=""; if(document.selectCounties.seCounties.length) { for(x=0;x < document.selectCounties.seCounties.length;x++) { if(document.selectCounties.seCounties[x].checked) { CountyIdCount++; CountyIds+=","+document.selectCounties.seCounties[x].value; RNames+="-"+document.selectCounties.seCounties[x].title; } } } else { if(document.selectCounties.seCounties.checked) { CountyIdCount++; CountyIds=","+document.selectCounties.seCounties.value; RNames="-"+document.selectCounties.seCounties.title; } } if(CountyIds.length) CountyIds=CountyIds.substr(1); document.FinalForm.CountyIds.value=CountyIds; document.FinalForm.CountyIdCount.value=CountyIdCount; if(RNames.length) RNames=RNames.substr(1); document.FinalForm.CountyName.value=RNames; document.FinalForm.RegionName.value=RNames; if(CountyIdCount<1) { alert("You need to select at least one location"); return; } else if(CountyIdCount>16) { alert("You may only select up to 16 areas for your search."); return; } else { // document.FinalForm.action="SearchCriteria.asp"; //alert("kjss:sales"); document.FinalForm.action="../sales_search/"+RNames; document.FinalForm.submit(); } } function checkCountyCount(arrOrder) {var ccount=0; for(x=0;x < document.selectCounties.seCounties.length;x++) { if(document.selectCounties.seCounties[x].checked) ccount++; } if(ccount>16) { window.alert("You may select up to 16 counties per search."); document.selectCounties.seCounties[arrOrder].checked = false; } }