function retrieveJurisdictions(){var A=$("#state-select").val();if(A=="-9999"){return }window.location=getCtx()+"/search/auctions/"+A+"/"}function retrieveAuctions(){var A=$("#juris-select").val();var B=$("#state-select").val();if(A=="-9999"){return }window.location=getCtx()+"/search/auctions/"+B+"/"+A+"/"}function fadeInProperties(){$("#darkened-background").fadeIn(500);$(".fix-z-index").css("visibility","hidden");$("#hidden-property-display").fadeIn(1000);$("#hidden-property-display").css("visibility","visible");showBackground()}function hideProperties(){$(".fix-z-index").css("visibility","visible");$("#hidden-property-display").fadeOut(1000);$("#darkened-background").fadeOut(500)}function retrieveProperties(A){$.get(getCtx()+"/ajax/auctions/propertiesListed/"+A,function(C,B){$("#property-table-tbody").html(C);if($("#property-table-tbody > *").length>0){$("#gen-report-anchor").attr("href",getCtx()+"/auctionReport.html?auctionId="+A)}else{$("#gen-report-anchor").attr("href","javascript:alert('You must select an auction with properties going to auction in order to download a report.');")}fadeInProperties();$("#property-table").tablesorter()})}function saveSelectedAuctions(){var A=$("#auction-selection-form").serialize();$.post(getCtx()+"/addSelected.html?json=true&"+A,null,addSelectedResponse,"json")}function populateBasedOnContext(){retrieveAuctions()};