Home
New Construction
Open Houses
Find the right REALTOR® for you.
How much home can you afford?  Mortgage rates, calculators, etc.
Additional Info'); } if (hasCollapsiblePanels) { new rbw.ui.Panels(_template, _displayPanels, slideshow, neighborhoodArray).init(); } // Get tabs var count = 1; var customTabCount = 1; var currentTab; var data = [{"PropertyDetailConfigurationID":2,"WebsiteID":-32768,"Name":"Property Details","Description":"This tab displays all the listing detail information","Sequence":"1","Displayed":true,"ConfigurationType":1,"Url":"","UrlIsPopUp":false,"IsNameEditable":true,"IsSequenceEditable":false,"IsDisplayedEditable":false,"IsUrlEditable":false,"IsUrlIsPopUpEditable":false,"IsDeletable":false,"PropertyDetailTypeName":0},{"PropertyDetailConfigurationID":7,"WebsiteID":-32768,"Name":"Nearby Sales & Sales History","Description":"This tab property history information","Sequence":"2","Displayed":true,"ConfigurationType":1,"Url":"","UrlIsPopUp":false,"IsNameEditable":false,"IsSequenceEditable":false,"IsDisplayedEditable":true,"IsUrlEditable":true,"IsUrlIsPopUpEditable":false,"IsDeletable":false,"PropertyDetailTypeName":7},{"PropertyDetailConfigurationID":3,"WebsiteID":-32768,"Name":"Schools & Neighborhood","Description":"This tab shows detailed information about the listings neighborhood","Sequence":"2","Displayed":true,"ConfigurationType":1,"Url":"","UrlIsPopUp":false,"IsNameEditable":true,"IsSequenceEditable":true,"IsDisplayedEditable":true,"IsUrlEditable":false,"IsUrlIsPopUpEditable":false,"IsDeletable":false,"PropertyDetailTypeName":1},{"PropertyDetailConfigurationID":5,"WebsiteID":-32768,"Name":"Map","Description":"This tab shows a map of the current listing","Sequence":"4","Displayed":true,"ConfigurationType":1,"Url":"","UrlIsPopUp":false,"IsNameEditable":true,"IsSequenceEditable":true,"IsDisplayedEditable":true,"IsUrlEditable":false,"IsUrlIsPopUpEditable":false,"IsDeletable":false,"PropertyDetailTypeName":3},{"PropertyDetailConfigurationID":6,"WebsiteID":-32768,"Name":"Walk Score","Description":"This tab shows walk score information","Sequence":"5","Displayed":true,"ConfigurationType":1,"Url":"","UrlIsPopUp":false,"IsNameEditable":false,"IsSequenceEditable":true,"IsDisplayedEditable":true,"IsUrlEditable":false,"IsUrlIsPopUpEditable":false,"IsDeletable":false,"PropertyDetailTypeName":4}]; var customContent; if (typeof listingDetailsAdditionalTabs !== 'undefined') data.push(listingDetailsAdditionalTabs); $(data).each(function(index) { var tabDisplayName = LanguagePlugin.replace(this.Name,this.Name); currentTab = "#listingdetail-tab" + count; customContent = "#CustomDetailFrame" + count; if (this.PropertyDetailTypeName == 0) { //Details $(currentTab).addClass("active"); $(currentTab).addClass("tabstrip-detail"); $(currentTab).html("" + tabDisplayName +""); } else if (this.PropertyDetailTypeName == 1) { //Neighborhood if ("False" == "False") { $(currentTab).removeClass("active"); $(currentTab).addClass("tabstrip-neighborhood"); $(currentTab).html("" + tabDisplayName +""); } } else if (this.PropertyDetailTypeName == 3) { //Map if ("False" == "False" && !(110 < 85)) { $(currentTab).removeClass("active"); $(currentTab).addClass("tabstrip-map"); $(currentTab).html("" + tabDisplayName +""); } } else if (this.PropertyDetailTypeName == 4) { //Walk score $(currentTab).removeClass("active"); $(currentTab).addClass("tabstrip-walkscore"); $(currentTab).html("" + tabDisplayName +""); } else if (this.PropertyDetailTypeName == 6) { //Custom $(currentTab).removeClass("active"); $(currentTab).addClass("tabstrip-custom" + customTabCount); $(currentTab).html('' + tabDisplayName + ""); $('#custom' + customTabCount).attr("data-url", this.Url); $('#custom' + customTabCount).attr("data-popup", this.UrlIsPopUp); customTabCount++; } else if (this.PropertyDetailTypeName == 7) { //Listing $(currentTab).removeClass("active"); $(currentTab).addClass("tabstrip-propertyhistory"); if ($("#listingdetail-propertyhistory").css("display") == "none") { tabDisplayName = "Nearby Sales"; } else if ($("#listingdetail-recentlysold").css("display") == "none") { tabDisplayName = "Sales History"; } $(currentTab).html("" + tabDisplayName +""); } $(currentTab).find('a').html('\ \ ' + tabDisplayName + '\ '); count++; }); latitude = 39.68782; longitude = -104.9849; $('#listingdetail-tabs-propertyhistory').hide(); jQuery("#listingdetail-tabs-tabstrip a").click(function() { var $parent = $(this).parent(); var isPopup = false; var tab = $(this).attr("id"); tab = tab.substring(tab.lastIndexOf("-")+1); var ifrm; if (tab.substring(0, 6) == "custom") { ifrm = document.getElementById(tab); isPopup = $('#' + tab).attr('data-popup'); } if ($parent.is(".active") && !isPopup) return; $parent.prevAll(".active").removeClass("active"); $parent.nextAll(".active").removeClass("active"); $parent.addClass("active"); var $tab = $("#listingdetail-tabs-" + tab); $tab.prevAll().hide(); $tab.nextAll().hide(); $tab.show(); if (tab == "neighborhood") { ifrm = document.getElementById("Master_NeighborhoodFrame"); if (ifrm && ifrm.src.length == 0) { ifrm.src = "https://www.rdesk.com/communityinfo/CommunityReports.aspx?Street=1584+S+Sherman+Street+&City=Denver&State=CO&ZipCode=80210&SchoolDistrictCode=Denver+1&llowprint=0&showreportheader=1&showtoolbar=0&appname=1166&LoadedInRdesk=0&AllowSave=0&allowcompare=1&allowchangelocation=0&showhelpicon=1&CSSFile=https://socalmls-homesimages.fnistools.com/Images/REcos/1216/CSS/Neighborhood.css&ReportName=HomeValues2&chartScaleWidth=.65"; } } else if (tab == "mortgage") { ifrm = document.getElementById("Master_CalcMortgageFrame"); if (ifrm && ifrm.src.length == 0) ifrm.src = "https://partners.leadfusion.com/tools/rdesk/home02/tool.fcs?LoanAmt=311200&AppVal=389000&TermYrs=30&IntRate=4.5&YrIns=1215.625&YrPropTax=1903"; } else if (tab == "map") { var $mapDiv = $("#listingdetail-tabs-map"); if (!$mapDiv.data("loaded")) { mainMap = new BingMap({ startingMidLat: latitude, startingMidLong: longitude, startingZoom: 17, mapView: 's', centerPin: true, showBubble: false, showPoi: true, showLayerMenu: true, showParcelLines: true, controlTheme: controlTheme, container: 'mapsearch-mainmap', backend: rbw.context.mapProvider, disableMouseWheel: true, poiEnabled: true //Setting this to Initialize the POI pins on Map Tab in Listing Detail page - AGENT-1723 }); setTimeout(mainMap.load, 500); $mapDiv.data("loaded", true); $(window).unload(mainMap.dispose); } } else if (tab == "walkscore") { LoadWalkScore({width: $('#listingdetail-tabs-tabstrip').width()}); } else if (tab == "propertyhistory") { var $nearbyDiv = $("#nearbysales-ajax"); if (!$nearbyDiv.data("loaded")) { $nearbyDiv.data("loaded", true); $nearbyDiv.load(Utils.AppPath + "/include/ajax/api.aspx?op=getnearbysaleswidget&listingid=116354593", function () { if (typeof addLogin === "function") { addLogin(true); } }); } } else if (tab.substring(0, 6) == "custom") { //Get url / popup value from iframe attr $('#' + tab).attr('style', 'display:inline'); var url = $('#' + tab).attr('data-url'); if (url.substring(0, 1) == '/') { var primaryUrl = "http://" + url; } else { if (url.substring(0, 4) != 'http') { url = "http://" + url; } } if (ifrm && ifrm.src.length == 0) { if (isPopup == 'true') { popup(url, 'CustomPopup', ''); } else { ifrm.src = url; } } } }) .each(function () { var tab = $(this); tab.attr('tabindex', '0'); tab.keypress(function(event) { if (event.keyCode == '13') { event.preventDefault(); tab.click(); } }); }); if ($('#listingdetail-tabs-tabstrip:hidden').length) { $('#listingdetail-tabs-tabstrip:hidden').remove(); } $('#listingdetail-tabs-tabstrip > li:hidden, #listingdetail-tabs-tabstrip > li:empty').remove(); var $visibleTabs = $('#listingdetail-tabs-tabstrip > li'); var visibleTabWidth = 99 / $visibleTabs.length; $visibleTabs.css({width: visibleTabWidth + '%'}); if ( self !== top ) { // Check if this page is inside and iframe $visibleTabs.css({width: '32%'}); } $('#listingdetail-tabs-skipnav').click(function () { var selector = '#listingdetail-tabs-tabstrip-walkscore'; window.location.href = window.location.href + '#' + selector; jQuery(selector).click(); }); $('#listingdetail-skip-slideshow').click(function () { var selector = '#listingdetail-tabs-tabstrip-detail'; window.location.href = window.location.href + '#' + selector; jQuery(selector).click(); }); $('.details-idx-disclaimer_container img').attr('alt', 'MLS logo'); var isMortgageCalculatorVisible = true; if (isMortgageCalculatorVisible) { $('#mortgage-calculator').click(function () { $.fn.colorbox({ iframe: true, close: "", width: 550, height: 900, href: "https://partners.leadfusion.com/tools/rdesk/home02/tool.fcs?LoanAmt=311200&AppVal=389000&TermYrs=30&IntRate=4.5&YrIns=1215.625&YrPropTax=1903" }); $('body').css('overflow', 'auto'); }); } else { $('#mortgage-calculator').hide(); } }); Courtesy: LX Properties page-> property detail->Top of the page -- Previous | Back to Search
Previous | Next
Back to Search