Real Living The Hatmaker Group

'); $("#description-menu-birdseye-item>a").html(mapName); }); $(function () { $('#listingdetail-sscontainer').css('visibility', 'visible'); $('#description-menu-birdseye-item a').live('click', function (e) { $('#photo-carousel-container').addClass('showingMap'); var $mapDiv = $("#gallery-birdseye-map-container"); if (!$mapDiv.data("loaded")) { galleryMap = new BingMap({ startingMidLat: latitude, startingMidLong: longitude, startingZoom: 18, mapView: mapDefault, centerPin: true, showBubble: false, showPoi: false, showLayerMenu: false, showParcelLines: true, disableMouseWheel: true, controlTheme: controlTheme, container: 'gallery-birdseye-map', backend: rbw.context.mapProvider }); setTimeout(galleryMap.load, 500); $mapDiv.data("loaded", true); $(window).unload(galleryMap.dispose); } else { galleryMap.load(); } $('#description-menu-birdseye-item').hide(); $('#description-menu-photogallery-item').show(); $('#photo-viewer-description').hide(); e.preventDefault(); }); var hideMapEvent = function (e) { $('#photo-carousel-container').removeClass('showingMap'); $('#description-menu-birdseye-item').show(); $('#description-menu-photogallery-item').hide(); $('#photo-viewer-description').show(); if (e) e.preventDefault(); }; $('#description-menu-photogallery-item a').live('click', hideMapEvent); $('body').live('photoCarousel.changeCarouselIndex', hideMapEvent); if (window.location.hash == '#listingphoto-gallery-large') PhotoCarousel.showFullScreen(); $('.listingdetail_all_photos').live('click', function () { hideMapEvent(); PhotoCarousel.showFullScreen(); }); if ($('#description-menu-virtualtour-item').length > 0) { $('#description-menu-virtualtour-item').removeClass('divider-before'); } else if ($('#description-menu-largerphotos-item').length > 0) { $('#description-menu-largerphotos-item').removeClass('divider-before'); } else { $('#description-menu-birdseye-item,#description-menu-photogallery-item').removeClass('divider-before'); } }); })();

Source : http://www.realliving.com/homes-for-sale/4007-Juniper-Meadows-Houston-TX-77053-208505398

Related Posts