function ShowMoreInfo(A){var B=obj(A);if(B){B.style.display="block"}}function HideMoreInfo(A){var B=obj(A);if(B){B.style.display="none"}}function alterPropertySearch(D,A){var C=obj(D);if(C){C.value=A}var B=obj("sidebar_form_property");if(B){if(DoPropertySearch()){B.submit(B)}}}function switchToCityStateSearch(){AddClass("propertysidebartypecontainer_map","hide");RemoveClass("propertysidebartypecontainer_loc","hide");obj("propertysearchtype").value="loc";obj("propertyshape_1").value=""}function switchToMapSearch(){RemoveClass("propertysidebartypecontainer_map","hide");
AddClass("propertysidebartypecontainer_loc","hide");obj("propertysearchtype").value="map";obj("propertywhere_1").value=""}function DoPropertySearch(A){try{RemoveAllDefaultData(A)}catch(B){}return true}function DoAgentSearch(A){RemoveAllDefaultData(A)}function DoOfficeSearch(A){RemoveAllDefaultData(A)}function onCompleteGotoListing(E){var D=E.responseXML.getElementsByTagName("propertymininav");if(!D||D.length!=1){onErrorGotoListing(E);return }DisableFormElements("searchactions",false);var C=D[0];var B=C.getElementsByTagName("property");
if(B&&B.length>=1){var A=CyberGetNodeValue(B[0],"lp-url");document.location.href=A}else{alert("There are no more properties in your current search.")}}function onErrorGotoListing(A){DisableFormElements("searchactions",false);alert("Could not select property")}function GotoListing(C,A){if(C==0){document.location.href="/property/index.jsp?property="+escape(A)}else{var B="property="+escape(A);B+="&offset="+C;B+="&"+GetCookie("lsp");var D="/ajaxservlet/search/propertymininav?"+B;if(C>0){DisableFormElements("viewnextlisting",true)
}else{DisableFormElements("viewpreviouslisting",true)}g_CyberAjaxQueue.schedule("propertymininav",D,onCompleteGotoListing,onErrorGotoListing,true,true,null)}};