function setScrollPosition(){window.scrollposition=bodyOrHtml().scrollTop;$("body").addClass("background-fixed");$(".body-wrapper").attr("style","margin: -"+window.scrollposition+"px 0 0 0;")}function unsetScrollPosition(){$("body").removeClass("background-fixed");$(".body-wrapper").removeAttr("style");bodyOrHtml().scrollTop=window.scrollposition}function RetrieveSAMData(){SAMModel={FirstName:$("#FirstName").val(),LastName:$("#LastName").val(),Email:$("#Email").val(),Phone:$("#Phone").val(),PostalCode:$("#PostalCode").val(),RecipientEmail:$("#RecipientEmail").val(),SubscribeToWeeklyUpdate:$("#EmailSubscription_SubscribeToWeeklyUpdate").val()}}function FillSAMForm(){FillField($("*[id*=FirstName]"),SAMModel.FirstName);FillField($("*[id*=LastName]"),SAMModel.LastName);FillField($("*[id*=Email]"),SAMModel.Email);FillField($("*[id*=Phone]"),SAMModel.Phone);FillField($("*[id*=PostalCode]"),SAMModel.PostalCode);FillField($("*[id*=RecipientEmail]"),SAMModel.RecipientEmail);FillField($("*[id*=EmailSubscription_SubscribeToWeeklyUpdate]"),SAMModel.SubscribeToWeeklyUpdate)}function FillField(n,t){n.each(function(){$(this).val(t)})}function ListGroupedItem(n){$(n.currentTarget).children(".list-grouped-item .items").toggle("blind","swing",500);$(n.target).find("i.fa").toggleClass("fa-minus",500)}function toggleCalculator(n){n.preventDefault();mobileState.calculator&&($calculatorBtnMobile.show(),CloseFinancialCalculator());mobileState.calculator=!mobileState.calculator;$calculatorBtnMobile.toggleClass("opened");var t=$calculatorBtnMobile.find("i.add"),i=t.text();t.text(i==="add"?"remove":"add")}function toggleHandshakeImage(){$("#handshake-icon").toggleClass("active")}function removeHeaderFooter(){$(".site-footer").css("display","none");$(".site-header").css("display","none")}function ToggleThumbnails(){$thumbnails[0].classList.toggle("hide")}function toggleTable(n,t){var i=document.getElementById(n),r=document.getElementById(t);i.classList.toggle("hide");r.classList.toggle("hide")}function CurrencyFormatter(n,t,i,r){this.currentLanguageCode=n;this.currentCurrency=t;this.minDigits=i;this.maxDigits=r;this.currencyExtractor=/\d*\,?\d*\.?\d*$/;this.SetCurrencyFormat=function(n,t,i,r){this.currentLanguageCode=n;this.currentCurrency=t;this.minDigits=i||2;this.maxDigits=r||2;this.formatter=new Intl.NumberFormat(this.currentLanguageCode,{style:"currency",currency:this.currentCurrency,maximumFractionDigits:this.maxDigits,minimumFractionDigits:this.minDigits})};this.SetCurrencyFormat(this.currentLanguageCode,this.currentCurrency,this.minDigits,this.maxDigits);this.GetCurrencySymbolFromCurrencyValue=function(n){for(var i="",r="x",u="x",t=0;t<n.length;t++)t>0&&(r=n.charAt(t-1)),t<n.length-1&&(u=n.charAt(t+1)),(isNaN(parseInt(r,10))||isNaN(parseInt(u,10))||n.charAt(t)!=".")&&(i+=n.charAt(t));return String(i.toString().replace(/[0-9\s,]/g,""))};this.GetCurrentCurrencySymbol=function(){return this.GetCurrencySymbolFromCurrencyValue(this.formatter.format(0))};this.GetCurrencyWithoutSymbol=function(n){return String(this.currencyExtractor.exec(n.replace(/\s/g,"").replace(this.GetCurrentCurrencySymbol(),"")))};this.UnformatCurrency=function(n,t,i,r){var e=n;t=t||this.currentLanguageCode;i=i||this.currentCurrency;var u=new CurrencyFormatter(t,i),o=u.GetCurrencyWithoutSymbol(u.FormatCurrency(0)),f=o.includes("0.00")?".":",",s=parseFloat(f!=","?n.toString().replace(/\$/g,".").toString().replace(/[^\d.]/g,"").toString().replace(/^\.+|\.+$/,""):n.toString().replace(/[^\d,]/g,"").toString().replace(f,"."));return s||(r?e:"")};this.ParseValue=function(n){return parseFloat(this.UnformatCurrency(n))||0};this.FormatCurrency=function(n){n=n||0;var i=this.formatter.format(n),t=i.replace(/\s/g,"");return t.includes("NaN")?n:t};this.FormatCurrencyWihtoutSymbol=function(n){return this.GetCurrencyWithoutSymbol(this.FormatCurrency(n))};this.SwapCurrencyFormat=function(n,t,i){return this.FormatCurrency(this.UnformatCurrency(n,t,i))}}function InitializeInputFormatter(n){inputFormatter.InitalizeCurrencies(n);$(document).on("blur",".format-input",function(){if($(this).val()!=""){var n=inputFormatter.currencyFormatter.UnformatCurrency($(this).val());FillValueField(inputFormatter.$formatInput,inputFormatter.currencyFormatter.FormatCurrency(n));FillValueField(inputFormatter.$offerAmount,n)}});$(".close").on("click",function(){ClearInput()});$(document).on("change",".currency-selector-dropdown",function(){var t=inputFormatter.currencyFormatter.currentLanguageCode,i=inputFormatter.currencyFormatter.currentCurrency,n=$(this).val(),r=inputFormatter.currenciesLookup.get(n);inputFormatter.SetCurrencyFormat(r,n);inputFormatter.$formatInput.val()!=""&&inputFormatter.UpdateFormat(t,i)})}function ClearInput(){inputFormatter.ClearInput()}function FillHTMLField(n,t){n.each(function(){$(this).html(t)})}function FillValueField(n,t){t||(t="");n.each(function(){$(this).val(t)})}function GetValueFromIDField(n){var t="";return n.each(function(){t===""&&(t+=$(this).val())}),t}function GetTextValueFromIDField(n){var t="";return n.each(function(){t===""&&(t+=$(this).text())}),t}function OpenFinancialCalculator(n,t,i,r,u,f,e){e||setScrollPosition();InitializeValues(n,t,i,r,u,f);$("#calculator-modal").css("display","block");$("#number-of-payments").first().focus()}function OpenMobileModalFinancialCalculator(n,t,i,r,u,f){setScrollPosition();InitializeValues(n,t,i,r,u,f);$("#calculator-modal").css("display","block");$("#number-of-payments").first().focus()}function OpenMobileFinancialCalculator(n,t,i,r,u,f){window.scrollposition=bodyOrHtml().scrollTop;InitializeValues(n,t,i,r,u,f);$("#calculator-mobile").toggleClass("calcDisplay");$("#number-of-payments").first().focus()}function InitializeValues(n,t,i,r,u,f){financialCalculatorModel.$loanAmount.each(function(){$(this).on("blur",function(){var n=financialCalculatorModel.currencyFormatter.UnformatCurrency($(this).val());n!==""&&n!==0&&n!==0?financialCalculatorModel.currentLoan!==n&&(financialCalculatorModel.currentLoan=n,FillValueField(financialCalculatorModel.$loanAmount,financialCalculatorModel.currencyFormatter.FormatCurrency(financialCalculatorModel.currentLoan))):financialCalculatorModel.SetLoanAmount(0)})});financialCalculatorModel.$interest.each(function(){$(this).on("blur",function(){var n=financialCalculatorModel.currencyFormatter.UnformatCurrency($(this).val().replace("%",""));n!==""&&n!==0&&n!==0&&financialCalculatorModel.currentInterest!==n&&(financialCalculatorModel.currentInterest=n,financialCalculatorModel.FormatInterest())})});$("*[id*=calculator-compute]").on("click",function(){financialCalculatorModel.CalculateLoanPayments()});$("*[id*=calculator-reset]").on("click",function(){financialCalculatorModel.ClearForm()});$(".close.calc-close").on("click",function(){CloseFinancialCalculator()});financialCalculatorModel.$paymentFrequency.empty();financialCalculatorModel.paymentFrequencyOptions=[];financialCalculatorModel.$currencySelection.empty();financialCalculatorModel.currencySelectionOptions=[];financialCalculatorModel.InitalizeSelectOptions(r);n=n||0;t=t||"https://expressfinance.net/home/";i=i||"";u=u||$("#calc-culture-code").val();f=f||$("#calc-currency-code").val();financialCalculatorModel.InitializeWidget(t,i);financialCalculatorModel.SetCurrencyFormat(u,f);financialCalculatorModel.SetLoanAmount(n);isNaN(parseFloat(financialCalculatorModel.currencyFormatter.UnformatCurrency(n)))?FillValueField(financialCalculatorModel.$loanAmount,""):FillValueField(financialCalculatorModel.$loanAmount,financialCalculatorModel.currencyFormatter.FormatCurrency(GetValueFromIDField(financialCalculatorModel.$loanAmount)));financialCalculatorModel.$currencySelection.each(function(){$(this).on("change",function(){var n=financialCalculatorModel.currencyFormatter.currentLanguageCode,t=financialCalculatorModel.currencyFormatter.currentCurrency;financialCalculatorModel.SetCurrencyFormat($(this).val(),$(this).children("option").filter(":selected").text().substring(0,3));financialCalculatorModel.currentLoan!=0&&financialCalculatorModel.UpdateFormat(n,t)})});$("#number-of-payments").first().focus()}function CloseFinancialCalculator(){$("#calculator-modal").hide();$("#calculator-mobile").hide();financialCalculatorModel.ClearForm();unsetScrollPosition()}function WatchlistClickEvent(){var i=$(this),n=i.attr("data-action"),r=i.attr("data-listing-id"),f=toSlug(Translation.getPlainTextTranslation("sandhills.tradepubwebsite.mvc.watchlist").replace(/\s+/g,"")),u=toSlug(Translation.getPlainTextTranslation("sandhills.sso.website.login")),t=Translation.getPlainTextTranslation("sandhills.xthroughyofzlistings").toString();return $.ajax({url:"/Ajax/watchlist/"+n,type:"POST",data:{ListingID:r},success:function(f){if(f)if(f.success==!0){if(n=="add"&&tradeSitesGTMPushEvent("watchlist-add-click"),SetWatchListAction(i,n=="add"?"delete":"add"),n=="delete"&&f.IsWatchListPage==!0){i.closest(".listing-data-selector").hide("slow");var e=$(".list-listings-count")[0].innerHTML.match(/\d+/g);t=e[2]>=2?t.format([e[0],parseInt(e[1])-1,parseInt(e[2])-1]):t.format([0,0,0]);$(".list-listings-count").html(t)}}else f.IsAuthenticated!=!0&&(window.location.href="/sso/"+u+"?to="+encodeURIComponent("https://"+window.location.hostname+"/watchlist/"+n+"/"+r+"?to="+encodeURIComponent(window.location.href)))}}),!1}function SetWatchListAction(n,t){n.toggleClass("watchlist-add watchlist-delete");n.attr("data-action",t);detailPageParent=n.parent();detailPageParent.hasClass("watchlist-btn")&&detailPageParent.toggleClass("watchlist-btn-active");n.find(".fa-bookmark").toggleClass("far fas");var i=n.parents(".listing-image").parent().find(".watchlist-view-text");i.toggle()}function CheckWatchlistings(){var t=ConvertToBoolean($("#IsCurrentUserAuthenticated").val()),i=$(".detail-content").length>0,n=$(".listings-watchlist-lnk"),r=toSlug(Translation.getPlainTextTranslation("sandhills.tradepubwebsite.mvc.watchlist").replace(/\s+/g,"")),u=window.location.href.indexOf(r)>-1;t&&n.length&&!u&&$.ajax({url:"/Ajax/watchlist/GetUserWatchList/"+(i?n[0].getAttribute("data-listing-id"):""),type:"GET",success:function(t){t.length>0&&$.each(n,function(){var n=this.getAttribute("data-listing-id")||0;jQuery.inArray(parseInt(n),t)>-1&&SetWatchListAction($(this),"delete")})}})}function ToggleCheckMark(n){var i=$(n).closest(".ListingParentElement"),t;n.checked?(i.find(".compare-listings .fa-check").each(function(){$(this).show()}),i.find(".compare-chkbox").each(function(){$(this).prop("checked",!0)})):(i.find(".compare-listings .fa-check").each(function(){$(this).hide()}),i.find(".compare-chkbox").each(function(){$(this).prop("checked",!1)}));t=$(n).closest(".DetailParentElement");n.checked?(t.find(".compare-listings .fa-check").each(function(){$(this).show()}),t.find(".compare-chkbox").each(function(){$(this).prop("checked",!0)})):(t.find(".compare-listings .fa-check").each(function(){$(this).hide()}),t.find(".compare-chkbox").each(function(){$(this).prop("checked",!1)}))}function UpdateCompareListing(n,t,i,r){var e=i.checked,u,f;ToggleCheckMark(i);u=$("#compare-cookie-name").val();f=getCompareCookie(u);t&&t!==""||(t=0);e?(r=r||"",TryAddListingToCookie(n,t,f,u,r)):DeleteListingFromCookie(n,f,u)}function TryAddListingToCookie(n,t,i,r,u){if(i&&i!==""){var e=i.split("&"),f=e[0].replace("IDs=","").split(","),o=e[1].replace("MediaIds=","").split(",");f.indexOf(n.toString())===-1&&f.length<4&&(f.push(n),o.push(t),setCompareCookie(r,f,o),f.length>0&&(ShowCompareLinks(),f.length===4&&UpdateCheckBoxState(!1)),addImageToSelected(n,u))}else setCompareCookie(r,[n],[t]),addImageToSelected(n,u),ShowCompareLinks()}function addImageToSelected(n,t){t&&t!==""&&($(".compare-selected-listings-cont").show(),$(".selected-compare-images").each(function(){$(this).append("<div class='hover-close' id='"+n+"' onClick='RemoveSelectedImg("+n+")' ><i class='fa fa-times'><\/i><img src='"+t+"' alt='compare image' /><\/div>")}))}function RemoveSelectedImg(n){var r="*[id*="+n+"]",t,i;$(r).each(function(){$(this).remove()});$('div[data-listing-id="'+n+'"]').find(".compare-chkbox").each(function(){$(this).prop("checked",!1);$(this).next().hide()});$('div[data-listing-id="'+n+'"]').find(".comp-chk-mobile").each(function(){$(this).children(".fa-check").hide()});t=$("#compare-cookie-name").val();i=getCompareCookie(t);DeleteListingFromCookie(n,i,t)}function RemoveListingFromComparePage(n){var t=$("#compare-cookie-name").val(),r=getCompareCookie(t),i;DeleteListingFromCookie(n,r,t);i="#"+n.toString();$(i).remove()}function ShowCompareLinks(){$(".ListingParentElement").length>0?$(".ListingParentElement").each(function(){$(this).find(".compare-chkbox").each(function(){$(this)[0].checked===!0&&$(this).closest(".ListingParentElement").find(".compare-checked").each(function(){$(this).show()})})}):$(".compare-checked").each(function(){$(this).show()})}function HideCompareLinks(n){n?$(".compare-checked").each(function(){$(this).hide()}):$(".ListingParentElement").length>0?$(".ListingParentElement").each(function(){$(this).find(".compare-chkbox").each(function(){$(this)[0].checked===!1&&$(this).closest(".ListingParentElement").find(".compare-checked").each(function(){$(this).hide()})})}):HideCompareLinks(!0)}function DeleteListingFromCookie(n,t,i){var o;if(t&&t!==""){var f=t.split("&"),r=f[0].replace("IDs=","").split(","),e=f[1].replace("MediaIds=","").split(","),u=r.indexOf(n.toString());u!==-1&&(r.splice(u,1),e.splice(u,1),setCompareCookie(i,r,e),r.length<4&&(UpdateCheckBoxState(!0),r.length<1?(HideCompareLinks(!0),r.length===0&&$("#no-compare-listings")&&($("#no-compare-listings").show(),$(".compare-selected-listings-cont").hide(),ClearCookie(i))):HideCompareLinks(!1)),o="*[id*="+n+"]",$(o).each(function(){$(this).remove()}),$("#comp-img-button-count").html(r.length+" / 4"))}}function UpdateCheckBoxState(n){n?$(".compare-listings").each(function(){$(this).show()}):$(".compare-listings").each(function(){$(this).find(".compare-chkbox")[0].checked===!1&&$(this).hide()})}function getCompareCookie(n){var i="; "+document.cookie,t=i.split("; "+n+"=");if(t.length===2)return t.pop().split(";").shift()}function setCompareCookie(n,t,i){document.cookie=n+"=IDs="+t+"&MediaIds="+i+"; path=/";$("#comp-img-button-count").html(t.length+" / 4")}function ClearCookie(n){document.cookie=n+"=; path=/";$("#comp-img-button-count").html("0 / 4")}var SAMModel,mobileState,inputFormatter,financialCalculatorModel;(function(n){n.each(["show","hide"],function(t,i){var r=n.fn[i];n.fn[i]=function(){return this.trigger(i),r.apply(this,arguments)}})})(jQuery);$(function(){$(".modal-bg").on("show",function(){$("body").addClass("modal-body-hidden")});$(".modal-bg").on("hide",function(){$("body").removeClass("modal-body-hidden")})});$(document).ready(function(){RetrieveSAMData()});mobileState={calculator:!1};window.Overrides||(window.Overrides={});$.extend(window.Overrides,{baseUrl:window.Overrides.baseUrl?window.Overrides.baseUrl:"",ajaxDataType:window.Overrides.ajaxDataType?window.Overrides.ajaxDataType:"JSON",jsonDataFunction:window.Overrides.jsonDataFunction?window.Overrides.jsonDataFunction:function(n){return JSON.stringify(n)}});var $calculatorBtnMobile=$(".fin-calc-btn-mobile"),$mobileContactBarFooter=$(".detail-content-mobile .detail-contact-bar"),$searchResultsLink=$(".search-results"),$thumbnails=$("#print-thumbs"),$toggleLink=$("#ThumbnailToggle"),doubleClickPopUp=$(".DoubleClick_Top_PopUp");$(function(){$(".media-control").media();$calculatorBtnMobile.click(function(n){toggleCalculator(n)});$searchResultsLink.attr({href:"javascript:void(0);",onclick:"history.go(-1);"});repositionCookieBanner($mobileContactBarFooter,1e3)});inputFormatter={$formatInput:$(".format-input"),$offerAmount:$("input[type='hidden'][id='OfferAmount']"),currencyFormatter:new CurrencyFormatter($("#calc-culture-code").val()||"en-US",$("#calc-currency-code").val()||"USD"),currenciesLookup:new Map,SetCurrencyFormat:function(n,t){this.currencyFormatter.SetCurrencyFormat(n,t)},InitalizeCurrencies:function(n){for(var t=0;t<n.length;t++)this.currenciesLookup.set(n[t].Key,n[t].Value)},ClearInput:function(){FillValueField(this.$formatInput,"");FillValueField(this.$offerAmount,"")},UpdateFormat:function(n,t){FillValueField(this.$formatInput,this.currencyFormatter.SwapCurrencyFormat(GetValueFromIDField(this.$formatInput),n,t))}};financialCalculatorModel={currentLoan:0,currentInterest:0,$paymentFrequency:$("*[id*=paymentFrequency]"),$currencySelection:$("*[id*=currency-selection]"),$numberOfPayments:$("*[id*=number-of-payments]"),$interest:$("*[id*=interest]"),$loanAmount:$("*[id*=loan-amt]"),$payments:$("*[id*=payments]"),$amtFinanced:$("*[id*=amt-financed]"),$totalAmount:$("*[id*=total-amt]"),$financeCharge:$("*[id*=finance-charge]"),$currencySymbol:$("*[id*=currency-symbol]"),$currencyCode:$("#calc-currency-code"),$cultureCode:$("#calc-culture-code"),calculatedRate:0,paymentFrequencyOptions:[],currencySelectionOptions:[],currencyFormatter:new CurrencyFormatter($("#calc-culture-code").val(),$("#calc-currency-code").val()),$financeWidget:$("*[id*=finance-widget]"),$financeWidgetIcon:$("*[id*=finance-widget-icon]"),InitializeWidget:function(n,t){this.$financeWidget.attr("href",n);this.$financeWidgetIcon.attr("src",t)},SetCurrencyFormat:function(n,t){this.currencyFormatter.SetCurrencyFormat(n,t);FillHTMLField(this.$currencySymbol,this.currencyFormatter.GetCurrentCurrencySymbol())},SetLoanAmount:function(n){n=this.currencyFormatter.UnformatCurrency(n);this.$loanAmount.val(n);this.currentLoan=n},InitalizeSelectOptions:function(n){var t,i;for(this.paymentFrequencyOptions.push(new Option(Translation.getPlainTextTranslation("sandhills.rental.monthly"),"12")),this.paymentFrequencyOptions.push(new Option(Translation.getPlainTextTranslation("sandhills.tradepubwebsite.mvc.quarterly"),"4")),this.paymentFrequencyOptions.push(new Option(Translation.getPlainTextTranslation("sandhills.tradepubwebsite.mvc.biannually"),"2")),this.paymentFrequencyOptions.push(new Option(Translation.getPlainTextTranslation("sandhills.tradepubwebsite.mvc.annually"),"1")),t=done=!1,i=0;i<n.length;i++)done||(t=n[i].Key==this.$currencyCode.val()),this.currencySelectionOptions.push(new Option(n[i].Key,n[i].Value,t,t)),t&&(done=!0,t=!1);this.FillSelectBoxes()},FillSelectBoxes:function(){for(var t,n=0;n<this.paymentFrequencyOptions.length;n++)t=this.paymentFrequencyOptions[n],$(t).html(t.text),this.$paymentFrequency.append(t);for(n=0;n<this.currencySelectionOptions.length;n++)t=this.currencySelectionOptions[n],$(t).html(t.text),this.$currencySelection.append(t)},ClearForm:function(){this.$paymentFrequency.empty();this.$currencySelection.empty();this.FillSelectBoxes();FillValueField(this.$paymentFrequency,"12");FillValueField(this.$currencySelection,this.$cultureCode.val());FillValueField(this.$numberOfPayments,"");FillValueField(this.$interest,"");FillValueField(this.$loanAmount,"");FillHTMLField(this.$payments,"");FillHTMLField(this.$amtFinanced,"");FillHTMLField(this.$totalAmount,"");FillHTMLField(this.$financeCharge,"");FillHTMLField(this.$currencySymbol,"");this.SetCurrencyFormat(this.$cultureCode.val(),this.$currencyCode.val());this.currentLoan=0;this.currentInterest=0},UpdateFormat:function(n,t){FillValueField(this.$interest,this.currencyFormatter.FormatCurrencyWihtoutSymbol(this.currencyFormatter.UnformatCurrency(GetValueFromIDField(this.$interest).replace("%",""),n,t)));FillValueField(this.$loanAmount,this.currencyFormatter.SwapCurrencyFormat(GetValueFromIDField(this.$loanAmount),n,t));FillHTMLField(this.$payments,this.currencyFormatter.SwapCurrencyFormat(GetTextValueFromIDField(this.$payments),n,t));FillHTMLField(this.$amtFinanced,this.currencyFormatter.SwapCurrencyFormat(GetTextValueFromIDField(this.$amtFinanced),n,t));FillHTMLField(this.$totalAmount,this.currencyFormatter.SwapCurrencyFormat(GetTextValueFromIDField(this.$totalAmount),n,t));FillHTMLField(this.$financeCharge,this.currencyFormatter.SwapCurrencyFormat(GetTextValueFromIDField(this.$financeCharge),n,t));FillHTMLField(this.$currencySymbol,this.currencyFormatter.GetCurrentCurrencySymbol());this.FormatInterest()},FormatInterest:function(n){n=n||this.currentInterest;FillValueField(this.$interest,this.currencyFormatter.FormatCurrencyWihtoutSymbol(n)+"%")},CalculateRate:function(){this.calculatedRate=parseFloat(this.currentInterest)/100/parseInt(GetValueFromIDField(this.$paymentFrequency))},ComputePayments:function(){return this.calculatedRate*parseFloat(this.currentLoan)/(1-Math.pow(1+this.calculatedRate,-parseInt(GetValueFromIDField(this.$numberOfPayments))))},CalculateLoanPayments:function(){this.CalculateRate();var n=this.ComputePayments(),t=parseFloat(this.currentLoan),i=n*parseInt(GetValueFromIDField(this.$numberOfPayments)),r=i-t;FillHTMLField(this.$payments,this.currencyFormatter.FormatCurrency(n));FillHTMLField(this.$amtFinanced,this.currencyFormatter.FormatCurrency(t));FillHTMLField(this.$totalAmount,this.currencyFormatter.FormatCurrency(i));FillHTMLField(this.$financeCharge,this.currencyFormatter.FormatCurrency(r))}},function(){CheckWatchlistings();$(".listings-watchlist-lnk").click(WatchlistClickEvent)}()