livemartinsquare.com Open in urlscan Pro
45.154.183.183  Public Scan

URL: https://livemartinsquare.com/
Submission: On April 16 via api from CA — Scanned from US

Form analysis 1 forms found in the DOM

POST /

<form method="post" action="/" id="form">
  <div class="aspNetHidden">
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
      value="o/VOI4K4caItNa8sxmOc17vSA8vnCEe9txT8V2VNEOeL7goDLxZs/bl3QbJyYKY8346Xia/rqns6HvKV6nPMICJVKkDv33QJt5IGAe73HwWCrZZWldGluQLZ6cgdIanDa5jJykN9+3/pyIlK/SZ0CJm2eCIMJAkquC4rmhUo+UkU06r4JyMXAldMiqk93nOivC94/4Wd9xmKCHtbmfcwDo9h01cIQBB0sn3v5JF4tW+v73pzGE2w1HulwKq99KSrAU7TTEjVN5k10d7T2KVum28ig1hn4hkwZ2tDUMQtEwgACcDhJ/oUwZ3c+pRVm/q/3Lvrg/2li/riZyC70y247gl+ljAhx5Ime7YE5yVw/Bd1GW9NIsYAGJAh0AsgsZFJA3WU4CDK5x5czxNaNyxO+k+RFwORnL9W2j9qJxbdvaZ4e9ZPEqfcc9mA8EY8fQZ0rdW8zszeD9scjeYjkpVDhUUZd81NCIYPH3iVIbghvanvIlPQYza7VtpuuZFgxcJq6P//zFbzv0e+DRYKgP3O6lIlo43H9TVAY4T2qjylB3Z8aAF+MHf7ITd5iCThmQlGKbXKlNK2lLfo0J22SytbcBiGA4bASYy4KA9OhiDU1bFv1np27XCsMbM/RWCoWMnG8IKY1I4kToxL7fJcLvMjRSsn1kf0mgsz9QVe6b0X4NJmMHltJrGPAYu/HdJUS8DUldbL1Uv5FfRl4lStbSfX1mGEEgymTcOyaEHjTuoU1zdgnYvFSP3nmdul3fCg57T0HXE5TkFKQQoaacPBbVugd7WA9zZTmGOomdnsxI8EtK2WnEcDwB1oo7Ko1i9Zdv9D3gXF44NcZHio5VVZF52YJWxqF8JSQem5cOdZehLa0KXNg2mAhnl/cOGcj3SdORRkkY3A8629+6AEnx2lZVqtL4yqN3n50plOwi/X3C6pFWtfiR2M47UhRtdWMYR9sm4VPTFgu6GPtPLI09b71LjNQ3KIdHMNAHwleFrqfc+iCyYdCq/Se7H0DgiV6mLuDqOvhtP4tyb/Y6+IsYM5zr/Uo1OD47xI+U0F18WEGkeak9tdVOIzyQzCl8HLRwtsoIvQLmC76xBtMRCt7/+bpUK69M/RMIfHtzAFH85yHUMV7Xk=">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['form'];
    if (!theForm) {
      theForm = document.form;
    }

    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }
    //]]>
  </script>
  <script src="/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZLJliYB8TA_FIF9xlHcKd7ag0Vv3EWtMdA4IBxcPvyX2M5F_ORIargEI2RFqew7B_g2&amp;t=638393210639266807" type="text/javascript"></script>
  <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDS1oKsJ_hSSZqIslqkR4EdK1VndKUOPYM&amp;libraries=places" type="text/javascript"></script>
  <script src="/assets/common/footer/js/footer.js" type="text/javascript"></script><input type="hidden" name="lng" id="lng" value="en-US">
  <script type="text/javascript">
    //<![CDATA[
    function PM_Postback(param) {
      if (window.top.HideScreenLockWarningAndSync) {
        window.top.HideScreenLockWarningAndSync(1080);
      }
      if (window.CMSContentManager) {
        CMSContentManager.allowSubmit = true;
      };
      __doPostBack('m$am', param);
    }

    function PM_Callback(param, callback, ctx) {
      if (window.top.HideScreenLockWarningAndSync) {
        window.top.HideScreenLockWarningAndSync(1080);
      }
      if (window.CMSContentManager) {
        CMSContentManager.storeContentChangedStatus();
      };
      WebForm_DoCallback('m$am', param, callback, ctx, null, true);
    }
    //]]>
  </script>
  <script src="/ScriptResource.axd?d=NJmAwtEo3Ipnlaxl6CMhvgm388C7z57L5COL7njlfxHabVp02JjeGBqhojV0DvhOls37naEdTKvtve-DZGAUfkLhXnkKZ0JM5n8W_iT84YozJbVtHk6XR7HfTxh00jaQbIJ5RlBvWf7fnz-N3zpSVKNk_Hm4b82dGd4p6rDl7rs1&amp;t=3cf0aaa4" type="text/javascript">
  </script>
  <script src="/ScriptResource.axd?d=dwY9oWetJoJoVpgL6Zq8OBLhaBrqwBdVAb8vaEtP5p0RwE8U2clwoyTHecbvHf4xQfmyrJ2iJaF8M22aUIdHdYyU7qY-2hjISrIPPxmhFqA408i6Y0GxT1-SnCjYV3lgC3TXr_eJ0QD4CYVGcu8j6ZFo_C_b-R4EfAA4qAquMMk1&amp;t=3cf0aaa4" type="text/javascript">
  </script>
  <script type="text/javascript">
    //<![CDATA[
    var CMS = CMS || {};
    CMS.Application = {
      "language": "en",
      "imagesUrl": "/CMSPages/GetResource.ashx?image=%5bImages.zip%5d%2f",
      "isDebuggingEnabled": false,
      "applicationUrl": "/",
      "isDialog": false,
      "isRTL": "false"
    };
    //]]>
  </script>
  <div class="aspNetHidden">
    <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="A5343185">
    <input type="hidden" name="__SCROLLPOSITIONX" id="__SCROLLPOSITIONX" value="0">
    <input type="hidden" name="__SCROLLPOSITIONY" id="__SCROLLPOSITIONY" value="0">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    Sys.WebForms.PageRequestManager._initialize('manScript', 'form', ['tctxM', ''], [], [], 90, '');
    //]]>
  </script>
  <div id="ctxM">
  </div>
  <script language="javascript" type="text/javascript">
    $(document).ready(function() {
      var gtm = document.createElement('script');
      let GTMAccountNumber = 'GTM-PGXC6VC';
      var text = document.createTextNode(
        `<!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=${GTMAccountNumber}" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) -->`
        )
      gtm.appendChild(text)
      var bodyFirstChild = document.body.firstChild;
      bodyFirstChild.parentNode.insertBefore(gtm, bodyFirstChild);
    })
  </script>
  <!-- MediaViewer Added -->
  <header class="header-navigation">
    <div class="container-header">
      <div class="header-overlay"></div>
      <div id="" class="header-top-container">
        <div id="header-address">
          <i class="fa fa-map-marker" aria-hidden="true"></i>
          <a href="http://maps.google.com/?q=311 Petie Way, Gray, TN 37615" target="_blank" id="directionsLink" role="button" class="header-address">
    <span class="header-street">311 Petie Way </span>
    <span class="header-citystate">Gray, TN</span>
    <span class="header-zip">37615</span>
  </a>
        </div>
        <div id="header-phone" class=""><i class="fa fa-mobile" aria-hidden="true"></i>
          <a class="seo-number" href="tel:(423) 516-8291" onclick="f_analyticsSendEvent('general', 'click-phone-number', '(423) 516-8291')">(423) 516-8291</a>
        </div>
        <div id="liveChat" class=""></div>
      </div>
      <div id="" class="header-bottom-container">
        <div id="" class="property-logo"><a href="http://livemartinsquare.com"><img id="p_lt_zoneHeaderBottom_EditableImage_ucEditableImage_imgImage" title="Martin Square" src="https://capi.myleasestar.com/v2/dimg-crop/158689460/0x150/158689460.png" alt="Martin Square">

</a></div><button data-toggle="collapse" data-target="#specials-flyout" type="button" role="button" aria-label="show special offers" id="header-specials-CTA" class="header-CTA-button"> Lease Now
        </button><a href="https://www.livemartinsquare.com/?showCalendar=true" target="_self" id="header-CTA" class="header-CTA-button" role="button">Schedule a Tour</a><span class="menu-left-bar"></span><button type="button" role="button"
          aria-label="open navigation menu" class="menu-toggle">
          <div class="hamburger-bar top"></div>
          <div class="hamburger-bar middle"></div>
          <div class="hamburger-bar bottom"></div>
        </button>
      </div>
    </div>
  </header>
  <div id="main-menu-flyout" class="">
    <div class="flyout-overlay"></div>
    <div class="menu-container">
      <button type="button" class="menu-toggle" role="button" aria-label="close">
        <div class="sp-close-box">
          <div class="sp-close-bar sp-close-1"></div>
          <div class="sp-close-bar sp-close-2"></div>
        </div>
      </button>
      <ul id="menuElem">
        <li class="active home">
          <a href="/">Home</a>
        </li>
        <li class="floor-plans">
          <a href="/Floor-plans.aspx">Floor Plans</a>
        </li>
        <li class="gallery">
          <a href="/Gallery.aspx">Gallery</a>
        </li>
        <li class="amenities">
          <a href="/Amenities.aspx">Amenities</a>
        </li>
        <li class="neighborhood">
          <a href="/Location.aspx">Location</a>
        </li>
        <li class="residents">
          <a href="https://martinsquare.activebuilding.com/" target="_blank">Residents</a>
        </li>
        <li class="contact">
          <a href="/Contact.aspx">Contact Us</a>
        </li>
      </ul>
    </div>
  </div>
  <div id="specials-flyout" class="collapse">
    <div class="flyout-overlay"></div>
    <button type="button" id="specials-close" data-toggle="collapse" data-target="#specials-flyout" role="button" aria-label="close">
      <div class="sp-close-box">
        <div class="sp-close-bar sp-close-1"></div>
        <div class="sp-close-bar sp-close-2"></div>
      </div>
    </button>
    <div class="specials-content">
      <h3 class="specials-header"> Lease Now </h3>
      <p><a href="https://www.livemartinsquare.com/Floor-plans.aspx">Apply Today</a></p>
    </div>
  </div>
  <div class="page-container">
    <div id="page-home" class="inner-page-home">
      <div class="home-banner container-fluid">
        <div class="row">
          <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_pnlContainer">
            <script type="text/javascript">
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_showMuteBtn = false;
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_soundAutoPlay = false;
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoOnMobile = false;
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoID = '';
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource = 'youtube';
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_isMobile = (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(navigator.userAgent)) ? true :
                false;
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_lazyLoad = 'False';
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_imageSize = '1920x1080';
              var p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_backgroundVideoObserver;
              var trueVar = true;
              var sliderWTi = $(window).width();
              var sliderHTi = $(window).height();
              var sliderWT, sliderHT, afterResize;
              var bgSliderWidth = $(window).width();
              var bgSliderFire = 0
              $(document).ready(function() {
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_lazyLoad.toLowerCase() == 'true' && (navigator.userAgent.toLocaleLowerCase().indexOf('safari') == -1) && (navigator.userAgent
                    .indexOf("Trident/7.0") == -1)) {
                  try {
                    p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_backgroundVideoObserver = new IntersectionObserver(bgvIntersectCallback, intersectOptions);
                    p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_backgroundVideoObserver.observe(document.querySelector('#bgvIntersect'));
                    if ($('#head').length > 0) {
                      p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_backgroundVideoObserver.observe(document.querySelector('#head'));
                    }
                  } catch (err) {
                    console.warn(err);
                  }
                } else {
                  f_convertBgvImages();
                }

                function addEvent(element, eventName, callback) {
                  if (element.addEventListener) {
                    element.addEventListener(eventName, callback, false);
                  } else {
                    element.attachEvent(eventName, callback, false);
                  }
                }
                var tag = document.createElement('script');
                tag.id = 'iframe-demo';
                tag.src = 'https://www.youtube.com/iframe_api';
                var firstScriptTag = document.getElementsByTagName('script')[0];
                firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .flexslider').flexslider({});
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource.toLowerCase() == 'vimeo') {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video').css({
                    backgroundImage: 'url(https://vumbnail.com/' + p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoID + '.jpg)'
                  });
                }
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource.toLowerCase() == 'wistia') {
                  console.log('Wistia Thumb Start');
                  var baseUrl = "https://fast.wistia.com/oembed/?url=";
                  var accountUrl = encodeURIComponent("https://home.wistia.com/medias/");
                  var mediaHashedId = p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoID;
                  var thumb_args = "image_play_button=false&image_crop_resized=1280x720";
                  $.getJSON(baseUrl + accountUrl + mediaHashedId + "&format=json&callback=?", function(data) {
                    var thumb = data.thumbnail_url.split('?')[0];
                    $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video').css({
                      backgroundImage: 'url(' + thumb + '?' + thumb_args + ')'
                    });
                  })
                }
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource.toLowerCase() == 'youtube') {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video').css({
                    backgroundImage: 'url(https://img.youtube.com/vi/' + p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoID + '/maxresdefault.jpg'
                  });
                }
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video').append(
                  '<button class="video-play-btn" type="button"><i class="fa fa-play-circle" aria-hidden="true"></i></button>');
              });
              $(window).resize(function() {
                if ($(window).width() != bgSliderWidth) {
                  bgSliderWidth = $(window).width();
                  bgSliderPadding();
                }
              });
              var bgvIntersectCallback = function(entries, observer) {
                if (entries && entries[0].isIntersecting) {
                  f_convertBgvImages();
                  p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_backgroundVideoObserver.unobserve(document.querySelector('#bgvIntersect'));
                }
              }

              function f_convertBgvImages() {
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .bgv-image').each(function(i, v) {
                  var url = $(v).find('meta[itemprop="contentUrl"]').attr('content');
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides').append('<li class="slides-image"></li>');
                  var liSlideHT = $(".slides-image").height();
                  var liSlideWT = $(".background-video-container").width();
                  url = url.replace('dimg', 'dimg-crop').replace(p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_imageSize, Math.round(liSlideWT * window.devicePixelRatio) + 'x' + Math.round(
                    liSlideHT * window.devicePixelRatio));
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides .slides-image:eq(' + i + ')').css('background-image', 'url(' + url + ')');
                });
                sliderWTi = $(".slides-image").width();
                sliderHTi = $(".slides-image").height();
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_isMobile || $(window).width() <= 768) {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .flexslider').flexslider({
                    animation: "slide",
                    easing: "swing",
                    useCSS: false,
                    animationLoop: ($('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides li').length > 1) ? true : false,
                    smoothHeight: false,
                    slideshow: false,
                    slideshowSpeed: 3000,
                    video: true,
                    controlNav: true,
                    start: function() {
                      bgSliderPadding();
                    },
                    after: function(slider) {
                      if ((false == true) && (!slider.playing)) {
                        slider.play();
                      }
                    }
                  });
                } else {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .flexslider').flexslider({
                    animation: "slide",
                    easing: "swing",
                    useCSS: false,
                    animationLoop: (($('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides li').length > 1) ? true : false),
                    smoothHeight: false,
                    slideshow: false,
                    slideshowSpeed: 3000,
                    video: true,
                    controlNav: true,
                    start: function() {
                      bgSliderPadding();
                    },
                    after: function(slider) {
                      if ((false == true) && (!slider.playing)) {
                        slider.play();
                      }
                    }
                  });
                }
                if ($('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video.clone').length == 2) {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video.clone').last().remove();
                }
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_showMuteBtn && p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource
                  .toLowerCase() == 'youtube') {
                  var volumeClass = (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_soundAutoPlay) ? 'fa-volume-up' : 'fa-volume-off';
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video').append('<button class="video-mute-btn" type="button"><i class="fa ' + volumeClass +
                    '" aria-hidden="true"></i></button>');
                }
              }
              $(window).on('resize', function(e) {
                clearTimeout(afterResize);
                afterResize = setTimeout(function() {
                  sliderWT = $(".slides-image").width() * window.devicePixelRatio;
                  sliderHT = $(".slides-image").height() * window.devicePixelRatio;
                  if ((sliderWT > (sliderWTi) * 1.3) || (sliderHT > (sliderHTi) * 1.3)) {
                    $(".background-video-container").each(function() {
                      var bgvSliderID = $(this).attr("id");
                      $("#" + bgvSliderID + " .slides-image").each(function() {
                        var slideImgURL = $(this).css('background-image');
                        var slideImgURLAttr = slideImgURL.split("/");
                        slideImgURLAttr.filter(function(size, index) {
                          if (size.match(/^\d+x\d+$/g)) {
                            slideImgURLAttr[index] = Math.round(sliderWT) + "x" + Math.round(sliderHT);
                          }
                        });
                        slideImgURL = slideImgURLAttr.join("/");
                        $(this).css('background-image', slideImgURL);
                      })
                    })
                    sliderWTi = sliderWT;
                    sliderHTi = sliderHT;
                  }
                }, 250);
              });

              function bgSliderPadding() {
                console.log('sliderPadding Fired');
                bgSliderFire++;
                console.log('bgSliderFire: ' + bgSliderFire);
                $('.background-video-container').addClass("slideFire");
                var windowWidth = $(window).width();
                var windowHeight = $(window).height();
                var minPadding = 20;
                var basePadding = .2;
                var paddingPercent = (windowWidth > 1400) ? basePadding : basePadding * (windowWidth / 1400);
                var padding = (windowHeight * paddingPercent < minPadding) ? minPadding : windowHeight * paddingPercent;
                var videoHeight = $('.video-wrapper').innerHeight();
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-banner .slides li').height($(
                  '#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-banner').height());
                if ($('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-banner .row').length > 0) {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-banner .slides li').height($(
                    '#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-banner .row').height() + padding * 2);
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-banner .row').css({
                    'padding': 0,
                    'position': 'absolute',
                    'top': padding
                  });
                }
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-banner .flex-direction-nav a').css({
                  'display': 'block'
                });
                var topOffset = -((videoHeight / 2) - ($('.slides-banner').height() / 2));
                var zoomOffset = (topOffset > 0) ? topOffset * .01 : 0;
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').css({
                  'top': topOffset,
                  'transform': 'scale(' + (1 + zoomOffset) + ')'
                });
                console.log('Is Mobile: ' + p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_isMobile);
                console.log('Window Width: ' + windowWidth);
                console.log('Video Mobile: ' + p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoOnMobile);
                console.log('Video Height: ' + videoHeight);
                //if ((p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_isMobile || windowWidth <= 768) && p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource.toLowerCase() == 'youtube' && p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoOnMobile != true) {
                //if ((p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_isMobile || windowWidth <= 768) && p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoOnMobile != true) {
                if ((p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_isMobile || windowWidth <= 768)) {
                  console.log('Mobile Play Detected');
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').hide();
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-mute-btn').hide();
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').show();
                  if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoOnMobile != true) {
                    $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').remove();
                  }
                } else {
                  console.log('Desktop Play Detected');
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').show();
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').hide();
                }
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource.toLowerCase() == 'vimeo') {
                  console.log('Vimeo Detected');
                  galleryVimeoPlayer();
                }
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource.toLowerCase() == 'wistia') {
                  console.log('Wistia Detected');
                  galleryWistiaPlayer();
                }
              }

              function galleryVimeoPlayer() {
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').click(function(e) {
                  e.preventDefault();
                  console.log('Vimeo Button Fire!');
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').show();
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').hide();
                });
              }

              function galleryWistiaPlayer() {
                console.log('Wistia Player Fire!');
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').show();
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').remove();
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoOnMobile != true) {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').hide();
                }
              }
              var bgYTPlayer;
              var bgYTInstance = 1;

              function onYouTubeIframeAPIReady() {
                bgYTPlayer = new YT.Player('p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_videobvVideo', {
                  events: {
                    'onReady': bgYTonPlayerReady,
                    'onStateChange': bgYTonPlayerStateChange
                  }
                });
                bgYTPlayer = new YT.Player('p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_videobvVideo_clone', {
                  events: {
                    'onReady': bgYTonPlayerReady,
                    'onStateChange': bgYTonPlayerStateChange
                  }
                });
              }
              var myPlayerState;

              function bgYTonPlayerStateChange(event) {
                if (event.data == YT.PlayerState.PLAYING || event.data == YT.PlayerState.BUFFERING) {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').hide();
                } else {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').show();
                }
              }

              function bgYTonPlayerReady(event) {
                var windowWidth = $(window).width();
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_soundAutoPlay != true || bgYTInstance > 1) {
                  event.target.mute();
                }
                if (event.data == YT.PlayerState.PLAYING || event.data == YT.PlayerState.BUFFERING) {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').hide();
                } else {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').show();
                }
                if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_showMuteBtn) {
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').show();
                }
                $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video').css({
                  opacity: 1
                });
                // Add title to video container
                var intId = setInterval(function() {
                  if (bgYTPlayer) {
                    if (typeof bgYTPlayer.getPlayerState === "function") {
                      if ([1, 2, 5].indexOf(bgYTPlayer.getPlayerState()) >= 0) {
                        $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').attr('aria-label', 'Video: ' + bgYTPlayer.getVideoData().title);
                        clearInterval(intId);
                      }
                    }
                  }
                }, 100);
                if (bgYTInstance == 1) {
                  if ((p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_isMobile || windowWidth <= 768) &&
                    p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoOnMobile != true) {
                    $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .slides-video').css({
                      backgroundImage: 'url(https://img.youtube.com/vi/' + p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoID + '/maxresdefault.jpg'
                    });
                  }
                  if (p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_showMuteBtn && p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video_videoSource
                    .toLowerCase() == 'youtube') {
                    $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-mute-btn').click(function(e) {
                      e.preventDefault();
                      if (event.target.isMuted()) {
                        $(this).find('i').removeClass('fa-volume-off').addClass('fa-volume-up');
                        event.target.unMute();
                        event.target.setVolume(70);
                      } else {
                        $(this).find('i').removeClass('fa-volume-up').addClass('fa-volume-off');
                        event.target.mute();
                      }
                    });
                  }
                  $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').click(function(e) {
                    e.preventDefault();
                    event.target.playVideo();
                    $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-wrapper').show();
                    $('#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video .video-play-btn').hide();
                  });
                }
                bgYTInstance++;
              }
            </script>
            <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeBanner_WebPartLoader1_ctl00_background_video" class="background-video-container slideFire">
              <div id="bgvIntersect" class="slides-banner">
                <div class="flexslider">
                  <div class="flex-viewport" style="overflow: hidden; position: relative;">
                    <ul class="slides" style="width: 1000%; margin-left: -1600px;">
                      <li class="slides-image clone" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688040/1600x1200/158688040.jpg&quot;); width: 1600px; margin-right: 0px; float: left; display: block; height: 1200px;"
                        aria-hidden="true"></li>
                      <li class="slides-image flex-active-slide"
                        style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688037/1600x1200/158688037.jpg&quot;); width: 1600px; margin-right: 0px; float: left; display: block; height: 1200px;" data-thumb-alt=""></li>
                      <li class="slides-image" data-thumb-alt=""
                        style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688041/1600x1200/158688041.jpg&quot;); width: 1600px; margin-right: 0px; float: left; display: block; height: 1200px;"></li>
                      <li class="slides-image" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688040/1600x1200/158688040.jpg&quot;); width: 1600px; margin-right: 0px; float: left; display: block; height: 1200px;"
                        data-thumb-alt=""></li>
                      <li class="slides-image clone" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688037/1600x1200/158688037.jpg&quot;); width: 1600px; margin-right: 0px; float: left; display: block; height: 1200px;"
                        aria-hidden="true"></li>
                    </ul>
                  </div>
                  <ol class="flex-control-nav flex-control-paging">
                    <li><a href="#" class="flex-active">1</a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                  </ol>
                  <ul class="flex-direction-nav">
                    <li class="flex-nav-prev"><a class="flex-prev" href="#" style="display: block;">Previous</a></li>
                    <li class="flex-nav-next"><a class="flex-next" href="#" style="display: block;">Next</a></li>
                  </ul>
                </div>
                <div class="img_wrapper bgv-image" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                  <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688037/1920x1080/158688037.jpg">
                  <meta itemprop="name" content="Martin Square">
                </div>
                <div class="img_wrapper bgv-image" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                  <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688041/1920x1080/158688041.jpg">
                  <meta itemprop="name" content="Martin Square">
                </div>
                <div class="img_wrapper bgv-image" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                  <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688040/1920x1080/158688040.jpg">
                  <meta itemprop="name" content="Martin Square">
                </div>
              </div>
            </div>
          </div>
          <div id="home-banner-text">
            <h1 class="fjalla">A Modern Lifestyle</h1>
            <h2 class="rokkitt sub">Martin Square</h2>
          </div>
          <div class="pageDownButton"></div>
        </div>
      </div>
    </div>
    <div class="home-CTA-container container-fluid scroll-anchor">
      <div class="row">
        <a href="/neighborhood.aspx" target="_self" class="home-CTA col-md-4 col-xs-12 no-padding" id="home-CTA-1">
  <div class="home-CTA-overlay"></div>
  <div class="home-CTA-content">
    <div class="home-CTA-icon"><i class="icon-location"></i></div>
    <div class="home-CTA-text">Location</div>
  </div>
</a><a href="/gallery.aspx" target="_self" class="home-CTA col-md-4 col-xs-12 no-padding" id="home-CTA-2">
  <div class="home-CTA-overlay"></div>
  <div class="home-CTA-content">
    <div class="home-CTA-icon"><i class="icon-photo"></i></div>
    <div class="home-CTA-text">Gallery</div>
  </div>
</a><a href="/floor-plans.aspx" target="_self" class="home-CTA col-md-4 col-xs-12 no-padding" id="home-CTA-3">
  <div class="home-CTA-overlay"></div>
  <div class="home-CTA-content">
    <div class="home-CTA-icon"><i class="icon-double-bed"></i></div>
    <div class="home-CTA-text">Floor Plans</div>
  </div>
</a>
      </div>
    </div>
    <div class="home-section has-gallery container-fluid" id="home-section-1">
      <div class="row">
        <div id="section-1-content">
          <div class="section-left col-lg-7" style="padding-left: 115px;">
            <h2 class="section-header">Welcome To Martin Square</h2>
            <div class="section-text">
              <p class="MsoNormal" style="margin-bottom:0in;margin-top:0in;mso-margin-bottom-alt:
10.0pt;mso-margin-top-alt:0in;mso-add-space:auto;line-height:normal">Experience a higher standard of living when you lease one of these brand-<span
                  style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">new</span> three and four
                bedroom <span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">townhouses for
                  rent</span> at Martin Square <span
                  style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">in Gray, TN</span>.
                Sprawled across your expansive floor plan, a range of interior conveniences promise to deliver an exceptional lifestyle. Create memories in your new home centered around a modern gourmet kitchen with stylish finishes and a
                light-filled living room with upgraded blinds, and enjoy a central location close to everything. Your dynamic lifestyle starts here.&nbsp;<font face="Times New Roman, serif"><span style="font-size: 12pt;">
                    <o:p></o:p>
                  </span></font>
              </p>
            </div>
            <div id="" class="home-fp-search">
              <script type="text/javascript">
                $(document).ready(function() {
                  var internationalProperty = 'false';
                  var maxMoveInDateDays = 0;
                  var maxMoveInDate = null;
                  const fpsCurrentDate = new Date();
                  if (maxMoveInDateDays > 0) {
                    maxMoveInDate = new Date(fpsCurrentDate);
                    maxMoveInDate.setDate(maxMoveInDate.getDate() + maxMoveInDateDays);
                  }
                  var clientId = 'p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection1_FloorPlanSearchBar_pnlSearchBar';
                  $('#' + clientId + ' .floorplan-search-bedroom-list').rpdropdown();
                  $('#' + clientId + ' .floorplan-search-bathroom-list').rpdropdown();
                  $('#' + clientId + ' .floorplan-search-bar #txtMoveInDate-' + clientId).datepicker({
                    autoHide: true,
                    dateFormat: (internationalProperty == 'true' ? "dd/mm/yyyy" : "mm/dd/yyyy"),
                    startDate: new Date(),
                    endDate: (maxMoveInDateDays > 0 ? maxMoveInDate : null)
                  });
                  $('#' + clientId + ' .floorplan-search-bar #btnSearchFloorPlans').click(function(e) {
                    var params = {
                      beds: $('#' + clientId + ' .floorplan-search-bedroom-list').rpdropdown('value'),
                      baths: $('#' + clientId + ' .floorplan-search-bathroom-list').rpdropdown('value'),
                      moveInDate: $('#' + clientId + ' .floorplan-search-bar #txtMoveInDate-' + clientId).val(),
                    };
                    if (!params.beds && params.beds !== 0) params.beds = 'all';
                    if (!params.baths && params.baths !== 0) params.baths = 'all';
                    if ($._data(window, 'events') && $._data(window, 'events')["rpws-widgets-floorplans-search"]) {
                      $(window).trigger('rpws-widgets-floorplans-search', params);
                      $(window).trigger('rpws-templates-scrollto', 'floorplans');
                    } else {
                      var qs = '';
                      if (params.beds || params.beds == 0) qs += 'beds=' + params.beds + '&';
                      if (params.baths || params.baths == 0) qs += 'baths=' + params.baths + '&';
                      if (params.moveInDate) qs += 'moveindate=' + params.moveInDate + '&';
                      if (qs) qs = '?' + qs.substring(0, qs.length - 1);
                      var url = window.location.pathname.toString().replace(/\/$/, ""); //remove trailing slash (if there)
                      if (typeof rpSPS != 'undefined') {
                        if (rpSPS) {
                          url = url.substring(0, url.lastIndexOf('/')); //if this is an sps site then we need to remove the last segment in the url
                        }
                      }
                      window.location.href = url + '/floor-plans.aspx' + qs;
                    }
                  });
                });
                $.widget('custom.rpdropdown', {
                  options: {
                    value: 0
                  },
                  _create: function() {
                    this._listItems = this.element.find('ul.dropdown > li');
                    this._placeHolder = this.element.find('span');
                    this._value = null;
                    this._element = this.element;
                    this.element.uniqueId();
                    this.element.on('click', function(event) {
                      var list = $(this);
                      if (!list.hasClass('active')) {
                        var childList = $(this).children('.dropdown');
                        var currentListHeight = childList.outerHeight(true);
                        var availableSpace = window.innerHeight - (list.offset().top + list.outerHeight(true) - window.pageYOffset);
                        if (availableSpace < currentListHeight) {
                          list.addClass('reverse');
                          childList.css({
                            top: (-1 * currentListHeight)
                          });
                        } else {
                          list.removeClass('reverse');
                          childList.css({
                            top: ''
                          });
                        }
                      }
                      $(this).toggleClass('active');
                    });
                    this._listItems.on('click', $.proxy(this._clickHandler, this));
                    $(document).on('click', $.proxy(this._outsideClickHandler, this));
                  },
                  _clickHandler: function(e) {
                    var opt = $(e.target);
                    this._value = opt.data('value');
                    this._placeHolder.text(opt.text()).attr('title', opt.text());
                    this.element.click();
                    e.stopPropagation();
                  },
                  _outsideClickHandler: function(e) {
                    if ($(e.target).closest('.wrapper-dropdown').attr('id') != $(this.element).attr('id')) {
                      $(this.element).removeClass('active');
                    }
                  },
                  value: function() {
                    return this._value;
                  }
                });
              </script>
              <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection1_FloorPlanSearchBar_pnlSearchBar">
                <div class="floorplan-search-bar">
                  <span class="floorplan-search-label">CHECK AVAILABILITY: </span>
                  <div class="floorplan-search-bedroom-list wrapper-dropdown" id="ui-id-1">
                    <span title="BEDROOMS">BEDROOMS</span>
                    <ul class="dropdown">
                      <li data-value="3">3+ Beds</li>
                    </ul>
                  </div>
                  <div class="floorplan-search-bathroom-list wrapper-dropdown" id="ui-id-2">
                    <span title="BATHROOMS">BATHROOMS</span>
                    <ul class="dropdown">
                      <li data-value="2.5">2.5 Baths</li>
                    </ul>
                  </div>
                  <div class="floorplan-search-moveindate-container">
                    <input class="floorplan-search-moveindate" id="txtMoveInDate-p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection1_FloorPlanSearchBar_pnlSearchBar" type="text" placeholder="MOVE IN DATE">
                  </div>
                  <button class="floorplan-search-searchbutton" id="btnSearchFloorPlans" type="button">SEARCH</button>
                </div>
              </div>
            </div>
          </div>
          <div id="section-1-gallery" class="section-gallery gallery-right col-lg-5">
            <div class="gallery-image-box">
              <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection1_WebPartLoader_pnlContainer">
                <script type="text/javascript">
                  $(function() {
                    var target;
                    var animType = 'slide';
                    var slideshowSpeed = 3000;
                    var overlayOpacity = 0;
                    var timingRun = setInterval(function() {
                      f_rightClick(animType);
                    }, slideshowSpeed);
                    var bgImageHeight;
                    var numBgImages;
                    var rpbgId = '#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection1_WebPartLoader_ctl00_background_gallery';
                    var backgroundGalleryLazyLoad = 'False';
                    var backgroundGalleryImageSize = '1920x1080';
                    var backgroundGalleryObserver;
                    $(document).ready(function() {
                      $(window).on("menuStateChangeEvent", function(event, params) {
                        f_bgResize();
                      });
                      if (backgroundGalleryLazyLoad.toLowerCase() == 'true' && navigator.userAgent.toLocaleLowerCase().indexOf('safari') == -1) {
                        try {
                          backgroundGalleryObserver = new IntersectionObserver(bgIntersectCallback, intersectOptions);
                          backgroundGalleryObserver.observe(document.querySelector(rpbgId));
                          if ($('#head').length > 0) {
                            backgroundGalleryObserver.observe(document.querySelector('#head'));
                          }
                        } catch (err) {
                          console.warn(err);
                        }
                      } else {
                        f_convertBgImages();
                      }
                    });
                    var bgIntersectCallback = function(entries, observer) {
                      if (entries && entries[0].isIntersecting) {
                        f_convertBgImages();
                        backgroundGalleryObserver.unobserve(document.querySelector(rpbgId));
                      }
                    }

                    function f_convertBgImages() {
                      $('.bg-images li').each(function(i, v) {
                        var url = $(v).find('meta[itemprop="contentUrl"]').attr('content');
                        var newImageWidth = $(window).width() * window.devicePixelRatio;
                        newImageWidth = Math.round(newImageWidth) + 'x0';
                        url = url.replace('dimg', 'dimg-crop').replace(backgroundGalleryImageSize, newImageWidth);
                        $(v).css("background-image", 'url("' + url + '")');
                      });
                      if ('True'.toLowerCase() == 'true' && screen.width < 500) $(rpbgId + ' .dbg').remove();
                      else $(rpbgId + ' .mbg').remove();
                      if ('False'.toLowerCase() == 'true' || $(rpbgId + ' .background-gallery .bg-images li').length < 2 || animType == 'none') $(rpbgId + ' .bg-bullets').hide();
                      if ($(rpbgId + ' .background-gallery .bg-images li').length < 2 || animType == 'none') {
                        $(rpbgId + ' .bg-arrow-left').hide();
                        $(rpbgId + ' .bg-arrow-right').hide();
                      }
                      $(rpbgId + ' .background-gallery .li-image').addClass('overlay-opacity-' + overlayOpacity);
                      if (animType == 'none') {
                        $(rpbgId + ' .bg-images li').hide();
                        $(rpbgId + ' .bg-images li').first().show();
                      }
                      if (animType == 'slide' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        var firstImage = $(rpbgId + ' .bg-images li').first();
                        var lastImage = $(rpbgId + ' .background-gallery .bg-images li').last();
                        firstImage.clone().appendTo(rpbgId + ' .bg-images');
                        lastImage.clone().prependTo(rpbgId + ' .bg-images');
                      } else $(rpbgId + ' .bg-images li').first().css('opacity', 1);
                      bgImageHeight = $(rpbgId + '.background-gallery-container').parent().parent().height();
                      $(rpbgId + ' .background-gallery .bg-images').height(bgImageHeight);
                      window.addEventListener('resize', function() {
                        f_bgResize();
                      });
                      $(window).resize(function() {
                        f_bgResize();
                      });
                      numBgImages = $(rpbgId + ' .bg-images li').length;
                      f_bgResize();
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        $(rpbgId + ' .background-gallery .bg-images').css('left', '-' + $(rpbgId + '.background-gallery-container').width() + 'px');
                      }
                      $(rpbgId + ' .bg-bullets li').first().addClass('bg-selected');
                      $(rpbgId + ' .bg-bullets li').click(function() {
                        if (!$(this).hasClass('bg-selected')) {
                          target = $(this).index();
                          f_sliderResponse(target, animType);
                          resetTiming(animType);
                        }
                      });
                      $(rpbgId + ' .bg-arrow-right').click(function() {
                        f_rightClick(animType);
                      });
                      $(rpbgId + ' .bg-arrow-left').click(function() {
                        f_leftClick(animType);
                      });
                      $(rpbgId + ' .bg-images li').on('swipeleft', function() {
                        f_rightClick('slide');
                      }).on('swiperight', function() {
                        f_leftClick('slide');
                      });
                    }

                    function f_sliderResponse(target, animType) {
                      $(rpbgId + ' .bg-images').stop(true, true);
                      var imageWidth = $(rpbgId + '.background-gallery-container').width();
                      if (animType != 'fade') $(rpbgId + ' .bg-images').animate({
                        'left': '-' + (imageWidth * (target + 1)) + 'px'
                      }, function() {});
                      else {
                        $($(rpbgId + ' .bg-images li')[target]).animate({
                          opacity: 1
                        }, function() {});
                        $(rpbgId + ' .bg-images li').each(function(i, v) {
                          if (i != target) $(v).animate({
                            opacity: 0
                          });
                        });
                      }
                      $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                    }

                    function f_rightClick(animType) {
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        $(rpbgId + ' .bg-images').stop(true, true);
                        var imageWidth = $(rpbgId + '.background-gallery-container').width();
                        var newPosition;
                        if (animType == 'slide') {
                          if ($(rpbgId + ' .bg-images').position().left % 1 != 0) f_bgResize();
                          newPosition = Math.round($(rpbgId + ' .bg-images').position().left) - imageWidth;
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === $(rpbgId + ' .background-gallery .bg-images li').length - 2 ? target = 0 : target = target + 1;
                          $(rpbgId + ' .bg-images').animate({
                            'left': newPosition + 'px'
                          }, function() {
                            if (Math.abs(newPosition) == ($(rpbgId + ' .background-gallery .bg-images li').length - 1) * imageWidth) {
                              $(rpbgId + ' .bg-images').css({
                                'left': '-' + imageWidth + 'px'
                              });
                              target = 0;
                              $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                            }
                          });
                        } else if (animType == 'fade') {
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === $(rpbgId + ' .background-gallery .bg-images li').length - 1 ? target = 0 : target = target + 1;
                          $($(rpbgId + ' .bg-images li')[target]).animate({
                            opacity: 1
                          }, function() {});
                          $(rpbgId + ' .bg-images li').each(function(i, v) {
                            if (i != target) $(v).css('opacity', 0);
                          });
                          if (target == 0) $(rpbgId + ' .bg-images li').last().animate({
                            opacity: 0
                          }, function() {});
                        }
                        $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                        resetTiming(animType);
                      }
                    }

                    function f_leftClick(animType) {
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        $(rpbgId + ' .bg-images').stop(true, true);
                        var imageWidth = $(rpbgId + '.background-gallery-container').width();
                        var newPosition;
                        if (animType != 'fade') {
                          if ($(rpbgId + ' .bg-images').position().left % 1 != 0) f_bgResize();
                          newPosition = Math.round($(rpbgId + ' .bg-images').position().left + imageWidth);
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === 0 ? target = $(rpbgId + ' .background-gallery .bg-images li').length - 3 : target = target - 1;
                          $(rpbgId + ' .bg-images').animate({
                            'left': newPosition + 'px'
                          }, function() {
                            if (newPosition == 0) {
                              $(rpbgId + ' .bg-images').css({
                                'left': '-' + (($(rpbgId + ' .background-gallery .bg-images li').length - 2) * imageWidth) + 'px'
                              });
                              target = ($(rpbgId + ' .background-gallery .bg-images li').length - 3);
                              $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                            }
                          });
                        } else if (animType == 'fade') {
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === 0 ? target = $(rpbgId + ' .background-gallery .bg-images li').length - 1 : target = target - 1;
                          $($(rpbgId + ' .bg-images li')[target]).animate({
                            opacity: 1
                          }, function() {});
                          $(rpbgId + ' .bg-images li').each(function(i, v) {
                            if (i != target) $(v).css('opacity', 0);
                          });
                        }
                        $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                        resetTiming(animType);
                      }
                    }

                    function resetTiming(animType) {
                      clearInterval(timingRun);
                      timingRun = setInterval(function() {
                        f_rightClick(animType);
                      }, slideshowSpeed);
                    }

                    function f_bgResize() {
                      $(rpbgId + ' .bg-images').stop(true, true);
                      target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                      var newWidth = $(rpbgId + '.background-gallery-container').width() * (target + 1);
                      bgImageHeight = $(rpbgId + '.background-gallery-container').parent().parent().height();
                      $(rpbgId + ' .background-gallery .bg-images').height(bgImageHeight);
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) $(rpbgId + ' .background-gallery .bg-images').css('left', '-' + newWidth + 'px');
                      $(rpbgId + ' .background-gallery .li-image').css('width', $(rpbgId + '.background-gallery-container').width() + 'px');
                      $(rpbgId + ' .background-gallery').css('width', $(rpbgId + '.background-gallery-container').width() + 'px');
                      $(rpbgId + ' .background-gallery ul.bg-images').css('width', ($(rpbgId + '.background-gallery-container').width() * numBgImages) + 'px');
                    }
                  });
                </script>
                <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection1_WebPartLoader_ctl00_background_gallery" class="background-gallery-container">
                  <div id="rpbg-p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection1_WebPartLoader_ctl00_background_gallery" class="background-gallery bg-slide" style="width: 632px;">
                    <ul class="bg-images dbg" style="height: 600px; left: -1264px; width: 3160px;">
                      <li class="li-image li-image-2 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158767608/1600x0/158767608.jpg&quot;); width: 632px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158767608/1920x1080/158767608.jpg">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-0 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688035/1600x0/158688035.jpg&quot;); width: 632px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688035/1920x1080/158688035.jpg">
                          <meta itemprop="name" content="Martin Square">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-1 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688041/1600x0/158688041.jpg&quot;); width: 632px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688041/1920x1080/158688041.jpg">
                          <meta itemprop="name" content="Martin Square">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-2 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158767608/1600x0/158767608.jpg&quot;); width: 632px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158767608/1920x1080/158767608.jpg">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-0 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688035/1600x0/158688035.jpg&quot;); width: 632px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688035/1920x1080/158688035.jpg">
                          <meta itemprop="name" content="Martin Square">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                    </ul>
                    <div class="bg-arrow-left dbg">&nbsp;</div>
                    <div class="bg-arrow-right dbg">&nbsp;</div>
                    <ul class="bg-bullets dbg">
                      <li class="bg-bullet-0">●</li>
                      <li class="bg-bullet-1 bg-selected">●</li>
                      <li class="bg-bullet-2">●</li>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="home-pins">
      <script type="text/javascript">
        var iwp_pic_real_width, iwp_pic_real_height, iwp_scale;
        $(document).ready(function() {
          var img = $('.image-with-pins img')[0];
          $('<img/>').attr("src", $(img).attr("src")).load(function() {
            iwp_pic_real_width = this.width;
            iwp_pic_real_height = this.height;
            iwp_scale = $('.image-with-pins img').width() / iwp_pic_real_width;
            $('.image-with-pins').css({
              'width': $('.image-with-pins img').width(),
              'height': $('.image-with-pins img').height()
            });
            var tooltipDirection;
            for (i = 0; i < $('.image-with-pins .pin').length; i++) {
              var xpos = $('.image-with-pins .pin').eq(i).data('xpos') * iwp_scale;
              var ypos = $('.image-with-pins .pin').eq(i).data('ypos') * iwp_scale;
              if (ypos > $('.image-with-pins img').height() / 2) {
                tooltipDirection = 'map-tooltip-down';
              } else {
                tooltipDirection = 'map-tooltip-up';
              }
              $('.image-with-pins').append('<div style="left:' + xpos + 'px; top:' + ypos + 'px" class="map-tooltip-info ' + tooltipDirection + '" tabindex="0" aria-label="Pin on image" role="button" aria-describedby="map-tooltip' + i +
                '"><div id="map-tooltip' + i + '" class="map-tooltip" aria-label="Pin information" role="tooltip" tab-index="0">' + $('.image-with-pins .pin').eq(i).html() + '<span class="arrow"></div></div>');
            }
            $('.image-with-pins .map-tooltip-up, .map-tooltip-down').mouseenter(function() {
              $(this).children('.map-tooltip').fadeIn(100);
            }).mouseleave(function() {
              $(this).children('.map-tooltip').fadeOut(100);
            });
            $('.image-with-pins .map-tooltip-up, .map-tooltip-down').focus(function() {
              $(this).children('.image-with-pins .map-tooltip').fadeIn(100);
            }).blur(function() {
              $(this).children('.image-with-pins .map-tooltip').fadeOut(100);
            });
            adjustPinPos();
          });
        });

        function adjustPinPos() {
          $('.image-with-pins').css({
            'width': 'auto',
            'height': 'auto'
          });
          $('.image-with-pins').css({
            'width': $('.image-with-pins img').width(),
            'height': $('.image-with-pins img').height()
          });
          iwp_scale = $('.image-with-pins img').width() / iwp_pic_real_width;
          for (i = 0; i < $('.image-with-pins .pin').length; i++) {
            var xpos = $('.image-with-pins .pin').eq(i).data('xpos') * iwp_scale;
            var ypos = $('.image-with-pins .pin').eq(i).data('ypos') * iwp_scale;
            var pin = $('.image-with-pins .map-tooltip-info').eq(i);
            var infoBox = pin.find('.map-tooltip');
            var infoBoxArrow = infoBox.find('.arrow');
            var infoBoxArrowWidth = (infoBoxArrow.width() == 0) ? Math.abs(infoBoxArrow.outerWidth()) : Math.abs(infoBoxArrow.width());
            var pinWidth = pin.outerWidth();
            var pinHeight = pin.outerHeight();
            var infoBoxWidth = infoBox.outerWidth();
            var infoBoxHeight = infoBox.outerHeight();
            var padding = 20;
            var borderRadius = 5;
            var arrowPadding = 10;
            // pins close to the right
            var rightOffset = (infoBoxWidth / 2 + xpos) - $('.image-with-pins img').width();
            var rightOffsetDiff = (pinWidth / 2 + rightOffset + padding) - (infoBoxWidth / 2);
            if (rightOffset > 0) {
              infoBox.css({
                'margin-left': -(infoBoxWidth / 2 + rightOffset + padding)
              });
              infoBoxArrow.css({
                'margin-left': Math.abs(rightOffset) + padding - infoBoxArrowWidth / 2
              });
              // pins very very close to the right
              if (rightOffset > infoBoxWidth / 2 - infoBoxArrowWidth + (arrowPadding + borderRadius)) {
                infoBox.css({
                  'margin-left': -(infoBoxWidth - infoBoxArrowWidth + borderRadius)
                });
                infoBoxArrow.css({
                  'margin-left': 0,
                  'left': 'auto',
                  'right': (arrowPadding + borderRadius)
                });
              }
            }
            // pins close to the left
            var leftOffset = xpos - (pinWidth / 2);
            var leftOffsetDiff = (infoBoxWidth / 2) - leftOffset;
            if (xpos < infoBoxWidth / 2) {
              infoBox.css({
                'margin-left': -(infoBoxWidth / 2 - leftOffsetDiff - padding)
              });
              infoBoxArrow.css({
                'margin-left': -(leftOffsetDiff + padding + pinWidth / 2)
              });
              // pins very very close to the left
              if (xpos < infoBoxArrowWidth + (arrowPadding + borderRadius)) {
                infoBox.css({
                  'margin-left': -(infoBoxArrowWidth - borderRadius)
                });
                infoBoxArrow.css({
                  'margin-left': 0,
                  'left': (arrowPadding + borderRadius)
                });
              }
            }
            // center pins on x/y coordinates
            pin.css({
              'left': xpos - (pinWidth / 2),
              'top': ypos - (pinHeight / 2)
            });
          }
        }
        $(window).resize(function() {
          adjustPinPos();
        });
      </script>
      <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomePins_ImageWithPins_imageWithPins" class="image-with-pins-container">
        <div class="image-with-pins" style="width: 1600px; height: 941px;">
          <img src="https://capi.myleasestar.com/v2/dimg-crop/158767585/2000x1334/158767585.jpg?cropx=65&amp;cropy=236&amp;cropw=1866&amp;croph=1098" alt="image with pins">
          <div class="pin" data-xpos="1661.8376470588234" data-ypos="605.9012099681181">
            <h4 aria-label="Stainless Steel Appliances">Stainless Steel Appliances</h4>
            <p aria-label=""></p>
          </div>
          <div class="pin" data-xpos="599.3152941176471" data-ypos="546.6282687916475">
            <h4 aria-label="MOEN Chrome Hardware">MOEN Chrome Hardware</h4>
            <p aria-label=""></p>
          </div>
          <div class="pin" data-xpos="777.1341176470588" data-ypos="87.81176470588235">
            <h4 aria-label="LED Light Package">LED Light Package</h4>
            <p aria-label=""></p>
          </div>
          <div class="pin" data-xpos="1275.4658823529412" data-ypos="1020.8117982034122">
            <h4 aria-label="LVP Flooring">LVP Flooring</h4>
            <p aria-label=""></p>
          </div>
          <div style="left: 1407.94px; top: 502.529px;" class="map-tooltip-info map-tooltip-down" tabindex="0" aria-label="Pin on image" role="button" aria-describedby="map-tooltip0">
            <div id="map-tooltip0" class="map-tooltip" aria-label="Pin information" role="tooltip" tab-index="0" style="margin-left: -244.941px;">
              <h4 aria-label="Stainless Steel Appliances">Stainless Steel Appliances</h4>
              <p aria-label=""></p>
              <span class="arrow" style="margin-left: 24.9412px;"></span>
            </div>
          </div>
          <div style="left: 496.882px; top: 451.706px;" class="map-tooltip-info map-tooltip-up" tabindex="0" aria-label="Pin on image" role="button" aria-describedby="map-tooltip1">
            <div id="map-tooltip1" class="map-tooltip" aria-label="Pin information" role="tooltip" tab-index="0" style="">
              <h4 aria-label="MOEN Chrome Hardware">MOEN Chrome Hardware</h4>
              <p aria-label=""></p>
              <span class="arrow"></span>
            </div>
          </div>
          <div style="left: 649.353px; top: 58.2941px;" class="map-tooltip-info map-tooltip-up" tabindex="0" aria-label="Pin on image" role="button" aria-describedby="map-tooltip2">
            <div id="map-tooltip2" class="map-tooltip" aria-label="Pin information" role="tooltip" tab-index="0" style="">
              <h4 aria-label="LED Light Package">LED Light Package</h4>
              <p aria-label=""></p>
              <span class="arrow"></span>
            </div>
          </div>
          <div style="left: 1076.65px; top: 858.294px;" class="map-tooltip-info map-tooltip-down" tabindex="0" aria-label="Pin on image" role="button" aria-describedby="map-tooltip3">
            <div id="map-tooltip3" class="map-tooltip" aria-label="Pin information" role="tooltip" tab-index="0" style="">
              <h4 aria-label="LVP Flooring">LVP Flooring</h4>
              <p aria-label=""></p>
              <span class="arrow"></span>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="home-section has-gallery container-fluid" id="home-section-2">
      <div class="row">
        <div id="section-2-content">
          <div id="section-2-gallery" class="section-gallery gallery-left col-lg-6">
            <div class="gallery-image-box">
              <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection2_WebPartLoader2_pnlContainer">
                <script type="text/javascript">
                  $(function() {
                    var target;
                    var animType = 'slide';
                    var slideshowSpeed = 3000;
                    var overlayOpacity = 0;
                    var timingRun = setInterval(function() {
                      f_rightClick(animType);
                    }, slideshowSpeed);
                    var bgImageHeight;
                    var numBgImages;
                    var rpbgId = '#p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection2_WebPartLoader2_ctl00_background_gallery';
                    var backgroundGalleryLazyLoad = 'False';
                    var backgroundGalleryImageSize = '1920x1080';
                    var backgroundGalleryObserver;
                    $(document).ready(function() {
                      $(window).on("menuStateChangeEvent", function(event, params) {
                        f_bgResize();
                      });
                      if (backgroundGalleryLazyLoad.toLowerCase() == 'true' && navigator.userAgent.toLocaleLowerCase().indexOf('safari') == -1) {
                        try {
                          backgroundGalleryObserver = new IntersectionObserver(bgIntersectCallback, intersectOptions);
                          backgroundGalleryObserver.observe(document.querySelector(rpbgId));
                          if ($('#head').length > 0) {
                            backgroundGalleryObserver.observe(document.querySelector('#head'));
                          }
                        } catch (err) {
                          console.warn(err);
                        }
                      } else {
                        f_convertBgImages();
                      }
                    });
                    var bgIntersectCallback = function(entries, observer) {
                      if (entries && entries[0].isIntersecting) {
                        f_convertBgImages();
                        backgroundGalleryObserver.unobserve(document.querySelector(rpbgId));
                      }
                    }

                    function f_convertBgImages() {
                      $('.bg-images li').each(function(i, v) {
                        var url = $(v).find('meta[itemprop="contentUrl"]').attr('content');
                        var newImageWidth = $(window).width() * window.devicePixelRatio;
                        newImageWidth = Math.round(newImageWidth) + 'x0';
                        url = url.replace('dimg', 'dimg-crop').replace(backgroundGalleryImageSize, newImageWidth);
                        $(v).css("background-image", 'url("' + url + '")');
                      });
                      if ('True'.toLowerCase() == 'true' && screen.width < 500) $(rpbgId + ' .dbg').remove();
                      else $(rpbgId + ' .mbg').remove();
                      if ('False'.toLowerCase() == 'true' || $(rpbgId + ' .background-gallery .bg-images li').length < 2 || animType == 'none') $(rpbgId + ' .bg-bullets').hide();
                      if ($(rpbgId + ' .background-gallery .bg-images li').length < 2 || animType == 'none') {
                        $(rpbgId + ' .bg-arrow-left').hide();
                        $(rpbgId + ' .bg-arrow-right').hide();
                      }
                      $(rpbgId + ' .background-gallery .li-image').addClass('overlay-opacity-' + overlayOpacity);
                      if (animType == 'none') {
                        $(rpbgId + ' .bg-images li').hide();
                        $(rpbgId + ' .bg-images li').first().show();
                      }
                      if (animType == 'slide' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        var firstImage = $(rpbgId + ' .bg-images li').first();
                        var lastImage = $(rpbgId + ' .background-gallery .bg-images li').last();
                        firstImage.clone().appendTo(rpbgId + ' .bg-images');
                        lastImage.clone().prependTo(rpbgId + ' .bg-images');
                      } else $(rpbgId + ' .bg-images li').first().css('opacity', 1);
                      bgImageHeight = $(rpbgId + '.background-gallery-container').parent().parent().height();
                      $(rpbgId + ' .background-gallery .bg-images').height(bgImageHeight);
                      window.addEventListener('resize', function() {
                        f_bgResize();
                      });
                      $(window).resize(function() {
                        f_bgResize();
                      });
                      numBgImages = $(rpbgId + ' .bg-images li').length;
                      f_bgResize();
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        $(rpbgId + ' .background-gallery .bg-images').css('left', '-' + $(rpbgId + '.background-gallery-container').width() + 'px');
                      }
                      $(rpbgId + ' .bg-bullets li').first().addClass('bg-selected');
                      $(rpbgId + ' .bg-bullets li').click(function() {
                        if (!$(this).hasClass('bg-selected')) {
                          target = $(this).index();
                          f_sliderResponse(target, animType);
                          resetTiming(animType);
                        }
                      });
                      $(rpbgId + ' .bg-arrow-right').click(function() {
                        f_rightClick(animType);
                      });
                      $(rpbgId + ' .bg-arrow-left').click(function() {
                        f_leftClick(animType);
                      });
                      $(rpbgId + ' .bg-images li').on('swipeleft', function() {
                        f_rightClick('slide');
                      }).on('swiperight', function() {
                        f_leftClick('slide');
                      });
                    }

                    function f_sliderResponse(target, animType) {
                      $(rpbgId + ' .bg-images').stop(true, true);
                      var imageWidth = $(rpbgId + '.background-gallery-container').width();
                      if (animType != 'fade') $(rpbgId + ' .bg-images').animate({
                        'left': '-' + (imageWidth * (target + 1)) + 'px'
                      }, function() {});
                      else {
                        $($(rpbgId + ' .bg-images li')[target]).animate({
                          opacity: 1
                        }, function() {});
                        $(rpbgId + ' .bg-images li').each(function(i, v) {
                          if (i != target) $(v).animate({
                            opacity: 0
                          });
                        });
                      }
                      $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                    }

                    function f_rightClick(animType) {
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        $(rpbgId + ' .bg-images').stop(true, true);
                        var imageWidth = $(rpbgId + '.background-gallery-container').width();
                        var newPosition;
                        if (animType == 'slide') {
                          if ($(rpbgId + ' .bg-images').position().left % 1 != 0) f_bgResize();
                          newPosition = Math.round($(rpbgId + ' .bg-images').position().left) - imageWidth;
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === $(rpbgId + ' .background-gallery .bg-images li').length - 2 ? target = 0 : target = target + 1;
                          $(rpbgId + ' .bg-images').animate({
                            'left': newPosition + 'px'
                          }, function() {
                            if (Math.abs(newPosition) == ($(rpbgId + ' .background-gallery .bg-images li').length - 1) * imageWidth) {
                              $(rpbgId + ' .bg-images').css({
                                'left': '-' + imageWidth + 'px'
                              });
                              target = 0;
                              $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                            }
                          });
                        } else if (animType == 'fade') {
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === $(rpbgId + ' .background-gallery .bg-images li').length - 1 ? target = 0 : target = target + 1;
                          $($(rpbgId + ' .bg-images li')[target]).animate({
                            opacity: 1
                          }, function() {});
                          $(rpbgId + ' .bg-images li').each(function(i, v) {
                            if (i != target) $(v).css('opacity', 0);
                          });
                          if (target == 0) $(rpbgId + ' .bg-images li').last().animate({
                            opacity: 0
                          }, function() {});
                        }
                        $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                        resetTiming(animType);
                      }
                    }

                    function f_leftClick(animType) {
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) {
                        $(rpbgId + ' .bg-images').stop(true, true);
                        var imageWidth = $(rpbgId + '.background-gallery-container').width();
                        var newPosition;
                        if (animType != 'fade') {
                          if ($(rpbgId + ' .bg-images').position().left % 1 != 0) f_bgResize();
                          newPosition = Math.round($(rpbgId + ' .bg-images').position().left + imageWidth);
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === 0 ? target = $(rpbgId + ' .background-gallery .bg-images li').length - 3 : target = target - 1;
                          $(rpbgId + ' .bg-images').animate({
                            'left': newPosition + 'px'
                          }, function() {
                            if (newPosition == 0) {
                              $(rpbgId + ' .bg-images').css({
                                'left': '-' + (($(rpbgId + ' .background-gallery .bg-images li').length - 2) * imageWidth) + 'px'
                              });
                              target = ($(rpbgId + ' .background-gallery .bg-images li').length - 3);
                              $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                            }
                          });
                        } else if (animType == 'fade') {
                          target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                          target === 0 ? target = $(rpbgId + ' .background-gallery .bg-images li').length - 1 : target = target - 1;
                          $($(rpbgId + ' .bg-images li')[target]).animate({
                            opacity: 1
                          }, function() {});
                          $(rpbgId + ' .bg-images li').each(function(i, v) {
                            if (i != target) $(v).css('opacity', 0);
                          });
                        }
                        $(rpbgId + ' .bg-bullets li').removeClass('bg-selected').eq(target).addClass('bg-selected');
                        resetTiming(animType);
                      }
                    }

                    function resetTiming(animType) {
                      clearInterval(timingRun);
                      timingRun = setInterval(function() {
                        f_rightClick(animType);
                      }, slideshowSpeed);
                    }

                    function f_bgResize() {
                      $(rpbgId + ' .bg-images').stop(true, true);
                      target = $(rpbgId + ' .bg-bullets li.bg-selected').index();
                      var newWidth = $(rpbgId + '.background-gallery-container').width() * (target + 1);
                      bgImageHeight = $(rpbgId + '.background-gallery-container').parent().parent().height();
                      $(rpbgId + ' .background-gallery .bg-images').height(bgImageHeight);
                      if (animType != 'none' && $(rpbgId + ' .background-gallery .bg-images li').length > 1) $(rpbgId + ' .background-gallery .bg-images').css('left', '-' + newWidth + 'px');
                      $(rpbgId + ' .background-gallery .li-image').css('width', $(rpbgId + '.background-gallery-container').width() + 'px');
                      $(rpbgId + ' .background-gallery').css('width', $(rpbgId + '.background-gallery-container').width() + 'px');
                      $(rpbgId + ' .background-gallery ul.bg-images').css('width', ($(rpbgId + '.background-gallery-container').width() * numBgImages) + 'px');
                    }
                  });
                </script>
                <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection2_WebPartLoader2_ctl00_background_gallery" class="background-gallery-container">
                  <div id="rpbg-p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection2_WebPartLoader2_ctl00_background_gallery" class="background-gallery bg-slide" style="width: 765px;">
                    <ul class="bg-images dbg" style="height: 600px; left: -1530px; width: 3825px;">
                      <li class="li-image li-image-2 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688010/1600x0/158688010.jpg&quot;); width: 765px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688010/1920x1080/158688010.jpg">
                          <meta itemprop="name" content="Martin Square">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-0 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158767620/1600x0/158767620.jpg&quot;); width: 765px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158767620/1920x1080/158767620.jpg">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-1 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158767569/1600x0/158767569.jpg&quot;); width: 765px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158767569/1920x1080/158767569.jpg">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-2 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158688010/1600x0/158688010.jpg&quot;); width: 765px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158688010/1920x1080/158688010.jpg">
                          <meta itemprop="name" content="Martin Square">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                      <li class="li-image li-image-0 overlay-opacity-0" style="background-image: url(&quot;//capi.myleasestar.com/v2/dimg-crop/158767620/1600x0/158767620.jpg&quot;); width: 765px;">
                        <div class="img_wrapper dbg" itemprop="thumbnail" itemscope="itemscope" itemtype="http://schema.org/ImageObject">
                          <meta data-u="image" itemprop="contentUrl" content="//capi.myleasestar.com/v2/dimg/158767620/1920x1080/158767620.jpg">
                        </div>
                        <div class="bg-caption-container">
                          <div class="bg-caption"></div>
                          <div class="bg-description"></div>
                        </div>
                      </li>
                    </ul>
                    <div class="bg-arrow-left dbg">&nbsp;</div>
                    <div class="bg-arrow-right dbg">&nbsp;</div>
                    <ul class="bg-bullets dbg">
                      <li class="bg-bullet-0">●</li>
                      <li class="bg-bullet-1 bg-selected">●</li>
                      <li class="bg-bullet-2">●</li>
                    </ul>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <div class="section-right col-lg-6" style="padding-right: 115px;">
            <h2 class="section-header">Features with Style</h2>
            <div class="section-text">
              <div style="">
                <p class="MsoNormal" style="margin-bottom:0in;margin-top:0in;mso-margin-bottom-alt:
10.0pt;mso-margin-top-alt:0in;mso-add-space:auto;line-height:normal">The path to better days begins at Martin Square. In this vibrant community, you’ll enjoy every moment in your comfortable house surrounded by features that complement your style
                  and routine. Let beautiful stainless-steel appliances, MOEN chrome hardware, a pantry and soft-close cabinetry inspire your culinary adventures. Play fetch with your pet in your fenced backyard or soak up the sun as you tend to your
                  potted plants. Easy-to-clean luxury vinyl plank flooring and a washer and dryer set makes tidying up a breeze. When you’re ready to unwind for the day, indulge in some self-care in your bathroom with a double vanity and a
                  tub/shower, or let the stress melt away in your comfortable bedroom featuring a ceiling fan and walk-in closet. <o:p></o:p>
                </p>
                <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:0in;margin-top:0in;
mso-margin-bottom-alt:10.0pt;mso-margin-top-alt:0in;mso-add-space:auto;
line-height:normal">&nbsp;</p>
                <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:0in;margin-top:0in;
mso-margin-bottom-alt:10.0pt;mso-margin-top-alt:0in;mso-add-space:auto;
line-height:normal">This community has the amenities you want in a neighborhood you’ll love. Best of all, you’ll enjoy the comfort and space of a modern house without the hassles of homeownership. This easy lifestyle comes with included professional
                  landscaping, emergency maintenance and more.&nbsp;<font face="Times New Roman, serif"><span style="font-size: 12pt;">
                      <o:p></o:p>
                    </span></font>
                </p>
              </div>
            </div>
            <div class="section-CTA">
              <a href="/amenities.aspx" target="_self" class="CTA-button">View All Amenities<em class="fa fa-chevron-right"></em></a>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="home-section container-fluid" id="home-section-3">
      <div class="row">
        <div id="section-3-content">
          <div id="" class="container-fluid">
            <div class="row">
              <div id="section-3-content">
                <div class="home-content-overlay">
                  <h2>Discover Gray</h2>
                  <div class="mobile-align-left">
                    <p class="MsoNormal" style="margin-bottom:0in;margin-top:0in;mso-margin-bottom-alt:
10.0pt;mso-margin-top-alt:0in;mso-add-space:auto;line-height:normal">Located near I-26, this community of <span
                        style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;">townhomes</span>
                      gives you quick access to Downtown Square in Johnson City and its exciting mix of restaurants, breweries and shopping centers. Indulge in retail therapy at boutique shops, check out products from local artisans or find unique
                      gems at the many thrift and antique stores in the area. From live music at Capone’s to exciting events at Founders Park, there’s always something new to discover near Gray, TN. Schedule a tour to learn more about life at Martin
                      Square.&nbsp;<font face="Times New Roman, serif"><span style="font-size: 12pt;">
                          <o:p></o:p>
                        </span></font>
                    </p>
                  </div>
                  <div class="section-3-CTA">
                    <a href="/neighborhood.aspx" target="_self" class="footer-CTA-Button" role="button">Explore The Location<em class="fa fa-chevron-right"></em></a>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="home-section container-fluid" id="home-section-4">
      <div class="row">
        <div id="section-4-content">
          <div class="col-lg-5">
            <div id="section4-left-panel">
              <h2>Whats Happening At Martin Square</h2><a href="https://www.facebook.com/martinsquarehomes/" target="_blank" class="home-cta-button" role="button">
  <i class="fa fa-facebook-square" aria-hidden="true"></i>
  <span>
    Facebook
    <em class="fa fa-chevron-right" aria-hidden="true"></em>
  </span>
</a><a href="https://www.instagram.com/martinsquarehomes/" target="_blank" class="home-cta-button">
  <i class="fa fa-instagram" aria-hidden="true"></i>
  <span>
    Instagram
    <em class="fa fa-chevron-right" aria-hidden="true"></em>
  </span>
</a>
            </div>
          </div>
          <div class="col-lg-7">
            <div id="section4-right-panel">
              <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection4_WebPartLoader3_pnlContainer">
                <div id="p_lt_zonePagePlaceholder_pageplaceholder_p_lt_zoneHomeSection4_WebPartLoader3_ctl00_pnlGallerySocialGallery" class="widget gallery-social-widget">
                  <script type="text/javascript">
                    $(function() {
                      $('.fancybox-button').fancybox({
                        fullScreen: {
                          autoStart: false
                        },
                        thumbs: {
                          autoStart: false,
                          hideOnClose: true
                        },
                        smallBtn: "auto",
                        afterLoad: function(instance, current) {
                          var pixelRatio = window.devicePixelRatio || 1;
                          if (pixelRatio > 1.5) {
                            current.width = current.width / pixelRatio;
                            current.height = current.height / pixelRatio;
                          }
                        }
                      });
                    });
                  </script>
                  <div class="gallery-social-images" id="gallery-widget-images">
                    <a class="fancybox" data-fancybox="gallery" href="//capi.myleasestar.com/v2/dimg/158688039/1920x1080/158688039.jpg" style="background-image:url(//capi.myleasestar.com/v2/dimg-crop/158688039/390x390/158688039.jpg)"><img alt="" role="presentation" src="/templateresources/global/images/spacer.png"></a><a class="fancybox" data-fancybox="gallery" href="//capi.myleasestar.com/v2/dimg/158688033/1920x1080/158688033.jpg" style="background-image:url(//capi.myleasestar.com/v2/dimg-crop/158688033/390x390/158688033.jpg)"><img alt="" role="presentation" src="/templateresources/global/images/spacer.png"><div class="gallery-social-card"><div class="gallery-social-card-content"><p><em class="fa fa-picture-o"></em></p><p class="gallery-social-hashtag">Martin Square</p></div></div></a><a class="fancybox" data-fancybox="gallery" href="//capi.myleasestar.com/v2/dimg/158688037/1920x1080/158688037.jpg" style="background-image:url(//capi.myleasestar.com/v2/dimg-crop/158688037/390x390/158688037.jpg)"><img alt="" role="presentation" src="/templateresources/global/images/spacer.png"></a><a class="fancybox" data-fancybox="gallery" href="//capi.myleasestar.com/v2/dimg/158688011/1920x1080/158688011.jpg" style="background-image:url(//capi.myleasestar.com/v2/dimg-crop/158688011/390x390/158688011.jpg)"><img alt="" role="presentation" src="/templateresources/global/images/spacer.png"></a><a class="fancybox" data-fancybox="gallery" href="//capi.myleasestar.com/v2/dimg/158688029/1920x1080/158688029.jpg" style="background-image:url(//capi.myleasestar.com/v2/dimg-crop/158688029/390x390/158688029.jpg)"><img alt="" role="presentation" src="/templateresources/global/images/spacer.png"></a><a class="fancybox" data-fancybox="gallery" href="//capi.myleasestar.com/v2/dimg/158688018/1920x1080/158688018.jpg" style="background-image:url(//capi.myleasestar.com/v2/dimg-crop/158688018/390x390/158688018.jpg)"><img alt="" role="presentation" src="/templateresources/global/images/spacer.png"></a>
                    <div class="gallery-social-footer">
                      <div class="col-md-8"><a href="/floor-plans.aspx">Lease Now</a></div>
                      <div class="col-md-4 gallery-social-footer-name"><a href="/Gallery.aspx"><em class="fa fa-picture-o"></em> General</a></div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <script type="text/javascript">
      $(document).ready(function() {
        var disableOnMobile = 'False';
        var isSmallScreenDevice = $(window).width() <= 500;
        var cookie = f_getSessionCookie('showOnPageLoad');
        var endDate = '';
        var convertedEndDate = new Date(endDate + " 23:59:59");
        var today = new Date();
        var page = '~/';
        //should only popup for the home page
        if (page == "~/" && (!endDate || convertedEndDate > today)) {
          if (!cookie || 'False'.toLowerCase() == 'true') {
            if (('False'.toLowerCase() == 'true' || 'False'.toLowerCase() == 'true') && ((disableOnMobile.toLowerCase() == 'false' || !isSmallScreenDevice))) {
              f_showDialog(true);
            }
            f_setSessionCookie('showOnPageLoad', false);
          }
        }
        $(document).keydown(function(event) {
          if (event.keyCode == 27) {
            f_hideDialog();
          }
        });
      });

      function f_setSessionCookie(cookieName, value) {
        document.cookie = cookieName + "=" + value;
      }

      function f_getSessionCookie(cookieName) {
        var cookieValue = document.cookie;
        var cookieStart = cookieValue.indexOf(" " + cookieName + "=");
        if (cookieStart == -1) {
          cookieStart = cookieValue.indexOf(cookieName + "=");
        }
        if (cookieStart == -1) {
          cookieValue = null;
        } else {
          cookieStart = cookieValue.indexOf("=", cookieStart) + 1;
          var cookieEnd = cookieValue.indexOf(";", cookieStart);
          if (cookieEnd == -1) {
            cookieEnd = cookieValue.length;
          }
          cookieValue = unescape(cookieValue.substring(cookieStart, cookieEnd));
        }
        return cookieValue;
      }

      function f_showDialog(modal) {
        if ($('#popUpWindowDialog').length > 0) {
          $("#popup-overlay").show();
          $(".popUpWindowLightBox").fadeIn(300);
          if (modal) {
            $("#popup-overlay").unbind("click");
          } else {
            $("#popup-overlay").click(function() {
              f_hideDialog();
            });
          }
        }
      }

      function f_hideDialog() {
        $("#popup-overlay").hide();
        $(".popUpWindowLightBox").fadeOut(300);
      }
    </script>
    <div id="popup-overlay" class="popup-overlay"></div>
    <div id="p_lt_zonePagePlaceholder_rpWebpart_PopUp_PopUpWindow" class="popUpWindowLightBox">
      <div id="popUpWindowDialog" class="popUpWindowDialog">
        <div id="popUpWindowHeader" class="popUpWindowHeader"></div>
        <div id="divCloseButton" class="divCloseButton"><a href="#" id="popBtnClose" onclick="f_hideDialog()" aria-label="Close Window" tab-index="0">Close</a></div>
        <div id="popUpWindowText" class="popUpWindowText"></div>
      </div>
    </div>
  </div>
  <div id="elan-footer-map" class="">
    <div class="map-border">
      <div id="p_lt_zoneFooterMap_GoogleMapWithStyle_pnlGoogleMapWithStyle" class="google-map-with-style">
        <script type="text/javascript">
          $(function() {
            var map;
            var infoWindow;
            var customMapPinsObj = '[]' ? JSON.parse('[]') : '';
            $(document).ready(function() {
              f_initMap();
            });

            function f_initMap() {
              origin = new google.maps.LatLng(latitude, longitude);
              var stylesObj = [{
                elementType: 'geometry',
                stylers: [{
                  color: '#f5f5f5'
                }]
              }, {
                elementType: 'labels.icon',
                stylers: [{
                  visibility: 'off'
                }]
              }, {
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#616161'
                }]
              }, {
                elementType: 'labels.text.stroke',
                stylers: [{
                  color: '#f5f5f5'
                }]
              }, {
                featureType: 'administrative.land_parcel',
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#bdbdbd'
                }]
              }, {
                featureType: 'poi',
                elementType: 'geometry',
                stylers: [{
                  color: '#eeeeee'
                }]
              }, {
                featureType: 'poi',
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#757575'
                }]
              }, {
                featureType: 'poi.park',
                elementType: 'geometry',
                stylers: [{
                  color: '#e5e5e5'
                }]
              }, {
                featureType: 'poi.park',
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#9e9e9e'
                }]
              }, {
                featureType: 'road',
                elementType: 'geometry',
                stylers: [{
                  color: '#ffffff'
                }]
              }, {
                featureType: 'road.arterial',
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#757575'
                }]
              }, {
                featureType: 'road.highway',
                elementType: 'geometry',
                stylers: [{
                  color: '#dadada'
                }]
              }, {
                featureType: 'road.highway',
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#616161'
                }]
              }, {
                featureType: 'road.local',
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#9e9e9e'
                }]
              }, {
                featureType: 'transit.line',
                elementType: 'geometry',
                stylers: [{
                  color: '#e5e5e5'
                }]
              }, {
                featureType: 'transit.station',
                elementType: 'geometry',
                stylers: [{
                  color: '#eeeeee'
                }]
              }, {
                featureType: 'water',
                elementType: 'geometry',
                stylers: [{
                  color: '#c9c9c9'
                }]
              }, {
                featureType: 'water',
                elementType: 'labels.text.fill',
                stylers: [{
                  color: '#9e9e9e'
                }]
              }];
              googleMapWithStyle = new google.maps.Map(document.getElementById('p_lt_zoneFooterMap_GoogleMapWithStyle_pnlGoogleMapWithStyle_googleMapWithStyle'), {
                scrollwheel: false,
                center: origin,
                zoom: 16,
                mapTypeControl: false
              });
              googleMapWithStyle.setOptions({
                styles: stylesObj
              });
              var markerIcon = {
                path: 'M54.549,17.947c-12.314,0-22.332,10.02-22.332,22.334c0,11.854,20.262,39.548,21.125,40.721l0.805,1.096,c0.094,0.129,0.244,0.204,0.402,0.204c0.16,0,0.309-0.075,0.404-0.204l0.805-1.096c0.863-1.173,21.125-28.867,21.125-40.721,C76.883,27.967,66.863,17.947,54.549,17.947z M54.549,32.281c4.412,0,8,3.588,8,8c0,4.41-3.588,8-8,8c-4.41,0-8-3.59-8-8,C46.549,35.869,50.139,32.281,54.549,32.281z',
                fillColor: '#' + '1d2f40',
                fillOpacity: 1,
                scale: 1,
                strokeWeight: 0,
                anchor: new google.maps.Point(55, 80)
              };
              var marker = new google.maps.Marker({
                position: origin,
                map: googleMapWithStyle,
                icon: markerIcon,
                geometry: {
                  location: origin
                },
                name: name,
                vicinity: addressLine1,
                addressState: addressState,
                addressPostalCode: addressPostalCode,
                phonesNumber: phonesNumber,
                website: website,
                city: city
              });
              var center;

              function calculateCenter() {
                center = googleMapWithStyle.getCenter();
              }
              google.maps.event.addDomListener(googleMapWithStyle, 'idle', function() {
                calculateCenter();
              });
              google.maps.event.addDomListener(window, 'resize', function() {
                googleMapWithStyle.setCenter(center);
              });
              var customMarkerIcon = {
                url: '/templateresources/global/icons/map-icons/general.png',
                scaledSize: new google.maps.Size(26, 26),
                anchor: new google.maps.Point(13, 13),
              };
              $(customMapPinsObj).each(function(i, v) {
                var customMarkerOptions = {
                  position: new google.maps.LatLng(v.Latitude, v.Longitude),
                  map: googleMapWithStyle,
                  icon: customMarkerIcon,
                  geometry: {
                    location: new google.maps.LatLng(v.Latitude, v.Longitude)
                  },
                  name: v.Name,
                  vicinity: v.Address,
                  addressState: v.State,
                  addressPostalCode: v.Zip,
                  website: v.Url,
                  city: v.City
                };
                var customMarker = new google.maps.Marker(customMarkerOptions);
                var customPin = '<div class="neighborhood-widget__marker">' + '<h4><a href="' + v.Url + '" target="_blank">' + v.Name + '</a></h4>' + '<p>' + v.Address.replace(/,/g, '<br />') + '</p>' + ' <p>' + v.City + ', ' + v.State +
                  ' ' + v.Zip + '</p>' + '<p><a href="https://www.google.com/maps/dir/Current+Location/' + v.Address.replace(/ /g, '+') + ',' + v.City.replace(/ /g, '+') + ',' + v.State +
                  '" target="_blank"><strong>Get Directions</strong></a></p></div>';
                google.maps.event.addListener(customMarker, 'mouseover', function() {
                  if (infoWindow != undefined) {
                    infoWindow.close();
                  }
                  infoWindow = new google.maps.InfoWindow({
                    content: customPin
                  });
                  infoWindow.open(googleMapWithStyle, customMarker);
                });
                google.maps.event.addListener(customMarker, 'click', function() {
                  if (infoWindow != undefined) {
                    infoWindow.close();
                  }
                  infoWindow = new google.maps.InfoWindow({
                    content: customPin
                  });
                  infoWindow.open(googleMapWithStyle, customMarker);
                  $('.neighborhood-widget__marker').parent().parent().parent().prev().find('> div').eq(7).css('border-top', '3px solid #142157;');
                });
              });
            }
          });
        </script>
        <div id="p_lt_zoneFooterMap_GoogleMapWithStyle_pnlGoogleMapWithStyle_googleMapWithStyle" class="google-map-container">
          <div style="height: 100%; width: 100%;"></div>
        </div>
      </div>
    </div>
  </div>
  <div id="footer-main">
    <div class="footer-main-overlay">
      <div id="footer-contact" class="">
        <div class="footer-contact-image" style="height: 549px;"></div>
        <div class="footer-contact-center">
          <div class="footer-contact-top">
            <h3 class="property-name">Martin Square</h3>
            <div id="footer-address">
              <i class="fa fa-map-marker" aria-hidden="true"></i>
              <a href="http://maps.google.com/?q=311 Petie Way, Gray, TN 37615" target="_blank" id="directionsLink" role="button" class="header-address">
        <div class="footer-add-1">311 Petie Way </div>
        <div class="footer-add-2">Gray, TN 37615</div>
      </a>
            </div>
            <div id="" class="contact-section-phone"><i class="fa fa-mobile" aria-hidden="true"></i>
              <a class="seo-number" href="tel:(423) 516-8291" onclick="f_analyticsSendEvent('general', 'click-phone-number', '(423) 516-8291')">(423) 516-8291</a>
            </div>
          </div>
          <div id="" class="footer-hours">
            <script type="text/javascript">
              $(document).ready(function() {
                var useTooltipLayout = 'full-list'.toLowerCase();
                var hideOfficeHoursInLabel = 'False'.toLowerCase() == 'true';
                if (useTooltipLayout == 'full-list') {
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-container-u').addClass('full-list');
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').show();
                } else if (useTooltipLayout == 'no-tooltip') {
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-container-u').addClass('no-tooltip');
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').click(function() {
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').slideToggle();
                  });
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-list-u li').click(function() {
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').hide("slow");
                  });
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-u').html('');
                } else if (screen.width > 500) {
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').hover(function() {
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').show();
                    var topLocation = parseInt(document.getElementById("p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-u").getBoundingClientRect().top) - parseInt($(
                      '.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').outerHeight()) - 10;
                    var leftLocation;
                    var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth || 0;
                    if ($('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').offset().left > (screenWidth / 2)) {
                      leftLocation = parseInt($('#p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-u').offset().left) - 50;
                      $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').addClass('right');
                    } else leftLocation = parseInt($('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').offset().left);
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').css({
                      top: topLocation + 'px',
                      left: leftLocation + 'px'
                    });
                  });
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').mouseout(function() {
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').hide();
                  });
                } else {
                  $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').click(function(e) {
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').show();
                    var topLocation = parseInt(document.getElementById("p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-u").getBoundingClientRect().top) - parseInt($(
                      '.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').outerHeight()) - 10;
                    var leftLocation;
                    var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth || 0;
                    if ($('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').offset().left > (screenWidth / 2)) {
                      leftLocation = parseInt($('#p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-u').offset().left) - 50;
                      $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').addClass('right');
                    } else leftLocation = parseInt($('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').offset().left);
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').css({
                      top: topLocation + 'px',
                      left: leftLocation + 'px'
                    });
                    $('.oh-overlay').show();
                  });
                  $('.oh-overlay').click(function() {
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').hide();
                    $('.oh-overlay').hide();
                    return false;
                  });
                  $('.oh-button-close').click(function() {
                    $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u').hide();
                    $('.oh-overlay').hide();
                    return false;
                  });
                }
                var date = new Date();
                var today = date.getDay();
                var todayShort = '';
                switch (today) {
                  case 0:
                    todayShort = 'Sun';
                    break;
                  case 1:
                    todayShort = 'Mon';
                    break;
                  case 2:
                    todayShort = 'Tue';
                    break;
                  case 3:
                    todayShort = 'Wed';
                    break;
                  case 4:
                    todayShort = 'Thu';
                    break;
                  case 5:
                    todayShort = 'Fri';
                    break;
                  case 6:
                    todayShort = 'Sat';
                    break;
                }
                var firstDay = '';
                var lastDay = '';
                var firstDayValue = 0;
                var lastDayValue = 0;
                var todaysHours = '';
                $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-list-u li').each(function(i, v) {
                  if ($(v).html().toLowerCase().indexOf(todayShort.toLowerCase()) > -1) {
                    $(v).css('font-weight', 'bold');
                    todaysHours = $(v).html().substring($(v).html().indexOf(': ') + 2);
                  } else if ($(v).html().toLowerCase().indexOf('-' > -1)) {
                    firstDay = $(v).html().substring(0, 3);
                    lastDay = $(v).html().substring($(v).html().indexOf('- ') + 2, $(v).html().indexOf('- ') + 5);
                    firstDayValue = getDayValue(firstDay.toLowerCase());
                    lastDayValue = getDayValue(lastDay.toLowerCase());
                    if (today >= firstDayValue && today <= lastDayValue) {
                      $(v).css('font-weight', 'bold');
                      todaysHours = $(v).html().substring($(v).html().indexOf(': ') + 2);
                    }
                  }
                });
                if (hideOfficeHoursInLabel) $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').html("Office Hours");
                else $('.p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u').html("Today's Hours: " + todaysHours);

                function getDayValue(day) {
                  var value = 0;
                  switch (day) {
                    case "sun":
                      value = 0;
                      break;
                    case "mon":
                      value = 1;
                      break;
                    case "tue":
                      value = 2;
                      break;
                    case "wed":
                      value = 3;
                      break;
                    case "thu":
                      value = 4;
                      break;
                    case "fri":
                      value = 5;
                      break;
                    case "sat":
                      value = 6;
                      break;
                  }
                  return value;
                }
              });
            </script>
            <div class="oh-overlay" style=""></div>
            <div class="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-container-u office-hours-container full-list">
              <a id="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-u" class="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-link-c-u oh-link-c">Today's Hours: 9:00AM to 6:00PM</a>
              <div class="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-modal-container-u office-hours-modal-container" style="">
                <div class="oh-header">
                  <div class="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-oh-u oh">Office Hours:</div>
                  <div class="oh-button-close">×</div>
                </div>
                <div id="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours" class="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-list-container-u">
                  <ul class="p_lt_zoneFooterContact_OfficeHours_pnlOfficeHours-office-hours-list-u office-hours-list">
                    <li>Monday: 9:00AM to 6:00PM</li>
                    <li style="font-weight: bold;">Tuesday: 9:00AM to 6:00PM</li>
                    <li>Wednesday: 9:00AM to 6:00PM</li>
                    <li>Thursday: 9:00AM to 6:00PM</li>
                    <li>Friday: 9:00AM to 6:00PM</li>
                    <li>Saturday: 10:00AM to 5:00PM</li>
                    <li>Sunday: 1:00PM to 5:00PM</li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div id="" class="footer-form">
          <h3>Get In Touch</h3>
          <script type="text/javascript">
            var rpData = null;
            var listofReasons = '';
            var defaultSource = '';
            var hideRefer = 'true';
            var hideBed = 'false';
            var enablePrivacyPolicy = 'false';
            var pmcName = 'View Greystar website';
            var overridePrivacy = 'href="https://www.greystar.com/privacy" target="_blank"';
            var contactLeadSources =
              '<select tabindex="7" class="body-txt1" id="usersource" name="usersource"><option value="">-Select Source-</option><option value="3377">Affordable Housing Agency</option><option value="4860">Airbnb</option><option value="46">Apartment List</option><option value="48">Apartment Locator</option><option value="52">ApartmentRatings.com</option><option value="56">Apartments.com</option><option value="215">Corporate Housing</option><option value="229">Craigslist.org</option><option value="1562">Direct Mail</option><option value="1129">Employee Referral</option><option value="300">Event Marketing</option><option value="394">Greystar Property Referral</option><option value="393">Greystar.com</option><option value="430">In House Transfer</option><option value="501">LiveWork In Area</option><option value="507">Local Internet Listings</option><option value="3245">Local Internet Source</option><option value="513">Local Publication</option><option value="546">Military Housing</option><option value="5373">MLS Listing</option><option value="3382">NonPaid Referral</option><option value="3385">NonPaid Social</option><option value="1603">Off Site Signage</option><option value="3388">Online Business Listing</option><option value="2749">Outbound</option><option value="614">Outreach Marketing</option><option value="3391">Paid Display</option><option value="3394">Paid Email</option><option value="3483">Paid Search</option><option value="1742">Paid Social</option><option value="3400">Paid Video</option><option value="3403">Paid Zillow Boost</option><option value="3406">Pilot Active Adult</option><option value="3412">Pilot ILS</option><option value="6250">Pilot Organic Digital </option><option value="6174">Pilot Paid Digital</option><option value="3415">Pilot Referral</option><option value="3421">Pilot Social and Reputation</option><option value="6251">Pilot Student Living</option><option value="3424">Pilot Traditional</option><option value="2070">Preferred Employer</option><option value="970">Property Website</option><option value="693">Realtor.com</option><option value="1694">Relate 24 7</option><option value="6232">RentMarketplace</option><option value="2875">Resident Referral</option><option value="2953">Sister Property Referral</option><option value="840">StreetEasy</option><option value="845">Student Housing</option><option value="942">Walk In</option><option value="1001">Yelp.com</option><option value="1007">Zillow Rental Network</option><option value="1015">Zumper</option></select>';
            var internationalProperty = 'false'; //internationalProperty = 'true';//debug
            var disableReferralTracking = 'False';
            var countryCode = 'USA';
            var enableRecaptcha = 'true';
            var pageName = 'General';
            var cmsSiteId = '75867';
            var widgetName = 'rpWebpart_GoogleRecaptcha';
            var timeoutValue = 120000;
            var googleAnalyticsId = '';
            var formSuccess = false;
            var captchaToken = "";
            var o = {};
            var kpv = {
              "Studio+": {
                "key": 192,
                "bed": 0,
                "bath": 0
              },
              "S Bed /1 Bath": {
                "key": 192,
                "bed": 5,
                "bath": 1
              },
              "S Bed /1.5 Bath": {
                "key": 192,
                "bed": 5,
                "bath": 1.5
              },
              "1 Bed /1 Bath": {
                "key": 193,
                "bed": 1,
                "bath": 1
              },
              "1 Bed /1.5 Bath": {
                "key": 193,
                "bed": 1,
                "bath": 1.5
              },
              "1 Bed /2 Bath": {
                "key": 194,
                "bed": 1,
                "bath": 2
              },
              "1 Bed /2.5 Bath": {
                "key": 194,
                "bed": 1,
                "bath": 2.5
              },
              "2 Bed /1 Bath": {
                "key": 195,
                "bed": 2,
                "bath": 1
              },
              "2 Bed /1.5 Bath": {
                "key": 195,
                "bed": 2,
                "bath": 1.5
              },
              "2 Bed /2 Bath": {
                "key": 196,
                "bed": 2,
                "bath": 2
              },
              "2 Bed /2.5 Bath": {
                "key": 196,
                "bed": 2,
                "bath": 2.5
              },
              "3 Bed /1 Bath": {
                "key": 197,
                "bed": 3,
                "bath": 1
              },
              "3 Bed /1.5 Bath": {
                "key": 197,
                "bed": 3,
                "bath": 1.5
              },
              "3 Bed /2 Bath": {
                "key": 198,
                "bed": 3,
                "bath": 2
              },
              "3 Bed /2.5 Bath": {
                "key": 198,
                "bed": 3,
                "bath": 2.5
              },
              "3 Bed /3 Bath": {
                "key": 199,
                "bed": 3,
                "bath": 3
              },
              "3 Bed /3.5 Bath": {
                "key": 199,
                "bed": 3,
                "bath": 3.5
              },
              "4 Bed /1 Bath": {
                "key": 200,
                "bed": 4,
                "bath": 1
              },
              "4 Bed /1.5 Bath": {
                "key": 200,
                "bed": 4,
                "bath": 1.5
              },
              "4 Bed /2 Bath": {
                "key": 201,
                "bed": 4,
                "bath": 2
              },
              "4 Bed /2.5 Bath": {
                "key": 201,
                "bed": 4,
                "bath": 2.5
              },
              "4 Bed /3 Bath": {
                "key": 202,
                "bed": 4,
                "bath": 3
              },
              "4 Bed /3.5 Bath": {
                "key": 202,
                "bed": 4,
                "bath": 3.5
              },
              "5 Bed /1 Bath": {
                "key": 202,
                "bed": 5,
                "bath": 1
              },
              "5 Bed /1.5 Bath": {
                "key": 202,
                "bed": 5,
                "bath": 1.5
              },
              "5 Bed /2 Bath": {
                "key": 202,
                "bed": 5,
                "bath": 2
              },
              "5 Bed /2.5 Bath": {
                "key": 202,
                "bed": 5,
                "bath": 2.5
              },
              "5 Bed /3 Bath": {
                "key": 202,
                "bed": 5,
                "bath": 3
              },
              "5 Bed /3.5 Bath": {
                "key": 202,
                "bed": 5,
                "bath": 3.5
              }
            };
            $(document).ready(function() {
              var datePicker_dateFormat = (internationalProperty == 'true') ? "dd/mm/yy" : "mm/dd/yy";
              $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf_movedate').datepicker({
                startDate: new Date(),
                autoHide: true,
                dateFormat: datePicker_dateFormat,
                autoclose: true
              });
              $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf_movedate').on('pick.datepicker', function(e) {
                var postDate = $(this).datepicker('formatDate', e.date);
                $(this).val(postDate);
                isFieldValid($(this));
                $(this).data('post-data', postDate);
              });
              $.ajax({
                type: 'GET',
                url: 'CmsSiteManager/callback.aspx?act=Proxy/GetFloorPlans',
                dataType: 'jsonp',
                timeout: timeoutValue,
                success: function(data) {
                  rpData = data;
                  buildBedRoomSelect();
                },
                error: function(response) {
                  if (response.statusText === "timeout") {
                    $('#pnlMobile').html(
                      "<div class='timeout-message'><div class='timeout-icon'><img src='/globalresources/widgets/images/TimeOutSessionIcon.png' /></div><div class='timeout-text-message'><b>Time Out Error</b>.<br> Refresh Page or Try Again Later</div></div>"
                      );
                  }
                }
              });
              $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contactus-float-input-div.reason').append(contactLeadSources);
              if (hideBed.toLowerCase() == 'true') {
                $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contactus-float-input-div.bed').hide();
              }
              if (hideRefer.toLowerCase() == 'true') {
                $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contactus-float-input-div.reason').hide();
              } else $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #contact .contactus-float-input-div.comments-txt').css('height', '186px');
              if (defaultSource == 0) $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #usersource').val('');
              else if (defaultSource) $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #usersource').val(defaultSource);
              else $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #usersource').val('');
              if (disableReferralTracking.toLowerCase() != 'true' && matchedSourceId) {
                $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #usersource').val(matchedSourceId);
                $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #contactusReason').hide();
              }
              $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #dayPhone1').on("keyup", function() {
                var value = $(this).val();
                var regex1 = /[^[0-9 +]]*/gi;
                var regex2 = /[^[0-9]]*/gi;
                var newValue = value.substring(0, 1).replace(regex1, '') + value.substring(1).replace(regex2, '');
                $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #dayPhone1').val(newValue);
              });
            });

            function buildBedRoomSelect() {
              var bathRooms = 0;
              var bedRooms = 0;
              var countUnit = 1;
              for (var i = 0; i < rpData.floorplans.length; i++) {
                var currentbathRooms = rpData.floorplans[i].bathRooms;
                var currentbedRooms = rpData.floorplans[i].bedRooms;
                if (bathRooms != currentbathRooms || bedRooms != currentbedRooms) {
                  var str = currentbedRooms + ' Bed /' + currentbathRooms + ' Bath';
                  try {
                    $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #bedbathid').append('<option value="' + kpv[str]["key"] + '" class="text">' + str + '</option>');
                  } catch (err) {
                    //This error typically happens when it cannot find the str and consaquently cannot find the key.
                  }
                  bathRooms = currentbathRooms;
                  bedRooms = currentbedRooms;
                  countUnit++;
                }
              }
            }

            function f_getCookie(cookieName) {
              var cookieValue = document.cookie;
              var cookieStart = cookieValue.indexOf(" " + cookieName + "=");
              if (cookieStart == -1) {
                cookieStart = cookieValue.indexOf(cookieName + "=");
              }
              if (cookieStart == -1) {
                cookieValue = null;
              } else {
                cookieStart = cookieValue.indexOf("=", cookieStart) + 1;
                var cookieEnd = cookieValue.indexOf(";", cookieStart);
                if (cookieEnd == -1) {
                  cookieEnd = cookieValue.length;
                }
                cookieValue = unescape(cookieValue.substring(cookieStart, cookieEnd));
              }
              return cookieValue;
            }

            function floatValidPhone(b) {
              var a = window.event ? b.keyCode : b.which;
              if (internationalProperty == 'true' && $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #dayPhone1').val().length == 0 && b.shiftKey && b.keyCode == 43) return true;
              if (a == 0 || a == 8) return true;
              if (a > 47 && a < 58) return true;
              else return false;
            }
          </script>
          <style>
            .contact-mobile-form .reqErr {
              border: 1px solid red !important;
            }

            .contact-mobile-form .error-msg {
              display: inline-block;
              color: red;
              margin-top: 10px;
            }

            .grecaptcha-badge {
              bottom: 100px !important;
            }
          </style>
          <div id="p_lt_zoneFooterContact_ContactUs_Floating_rpcf">
            <div id="pnlMobile" class="mobile cf-pnlMobile timeout-error-contact">
              <div class="contact-mobile-form">
                <input name="pid" type="hidden" id="pid">
                <input name="lcid" type="hidden" id="lcid">
                <input name="cid" type="hidden" id="cid">
                <input name="trackingid" type="hidden" id="trackingid">
                <div id="contactusFirstName" class="contactus-float-input-div">
                  <input id="firstname" name="firstname" type="text" placeholder="First name" maxlength="40" tabindex="0" class="body-txt1 required" title="First name" aria-label="first name">
                  <span class="required-field">*</span>
                </div>
                <div id="contactusLastName" class="contactus-float-input-div">
                  <input id="lastname" name="lastname" type="text" placeholder="Last name" maxlength="40" tabindex="0" class="body-txt1 required" title="Last name" aria-label="last name">
                  <span class="required-field">*</span>
                </div>
                <div id="contactusEmail" class="contactus-float-input-div">
                  <input id="email" name="email" type="text" placeholder="Email" maxlength="40" tabindex="0" class="body-txt1 required email" title="Email" aria-label="email">
                  <span class="required-field">*</span>
                </div>
                <div id="contactusEmailCtrl" class="contactus-float-input-div">
                  <input tabindex="-1" id="e-mail" type="text" class="hpInput">
                  <p style="display:none">Do not fill out this input form, it is for bot control purposes only.</p>
                </div>
                <div id="contactusPhone" class="contactus-float-input-div">
                  <input id="dayPhone1" name="dayPhone1" type="text" placeholder="Phone number" maxlength="21" tabindex="0" class="body-txt1 required" title="Phone number" aria-label="phone number" onkeypress="return floatValidPhone(event);">
                  <span class="required-field">*</span>
                </div>
                <div id="contactusBedBath" class="contactus-float-input-div bed">
                  <select id="bedbathid" name="bedbathid" tabindex="0" class="body-txt1" aria-label="bedrooms">
                    <option value="">Select Bedrooms</option>
                    <option value="198" class="text">3 Bed /2.5 Bath</option>
                    <option value="201" class="text">4 Bed /2.5 Bath</option>
                  </select>
                </div>
                <div id="contactusMoveDate" class="contactus-float-input-div move-in">
                  <input id="p_lt_zoneFooterContact_ContactUs_Floating_rpcf_movedate" name="movedate" tabindex="0" type="text" class="body-txt1 required" readonly="readonly" aria-label="move in date" title="Move In Date" placeholder="Move In Date">
                  <span class="required-field">*</span>
                </div>
                <div id="contactusReason" class="contactus-float-input-div reason" style="display: none;"><select tabindex="7" class="body-txt1" id="usersource" name="usersource">
                    <option value="">-Select Source-</option>
                    <option value="3377">Affordable Housing Agency</option>
                    <option value="4860">Airbnb</option>
                    <option value="46">Apartment List</option>
                    <option value="48">Apartment Locator</option>
                    <option value="52">ApartmentRatings.com</option>
                    <option value="56">Apartments.com</option>
                    <option value="215">Corporate Housing</option>
                    <option value="229">Craigslist.org</option>
                    <option value="1562">Direct Mail</option>
                    <option value="1129">Employee Referral</option>
                    <option value="300">Event Marketing</option>
                    <option value="394">Greystar Property Referral</option>
                    <option value="393">Greystar.com</option>
                    <option value="430">In House Transfer</option>
                    <option value="501">LiveWork In Area</option>
                    <option value="507">Local Internet Listings</option>
                    <option value="3245">Local Internet Source</option>
                    <option value="513">Local Publication</option>
                    <option value="546">Military Housing</option>
                    <option value="5373">MLS Listing</option>
                    <option value="3382">NonPaid Referral</option>
                    <option value="3385">NonPaid Social</option>
                    <option value="1603">Off Site Signage</option>
                    <option value="3388">Online Business Listing</option>
                    <option value="2749">Outbound</option>
                    <option value="614">Outreach Marketing</option>
                    <option value="3391">Paid Display</option>
                    <option value="3394">Paid Email</option>
                    <option value="3483">Paid Search</option>
                    <option value="1742">Paid Social</option>
                    <option value="3400">Paid Video</option>
                    <option value="3403">Paid Zillow Boost</option>
                    <option value="3406">Pilot Active Adult</option>
                    <option value="3412">Pilot ILS</option>
                    <option value="6250">Pilot Organic Digital </option>
                    <option value="6174">Pilot Paid Digital</option>
                    <option value="3415">Pilot Referral</option>
                    <option value="3421">Pilot Social and Reputation</option>
                    <option value="6251">Pilot Student Living</option>
                    <option value="3424">Pilot Traditional</option>
                    <option value="2070">Preferred Employer</option>
                    <option value="970">Property Website</option>
                    <option value="693">Realtor.com</option>
                    <option value="1694">Relate 24 7</option>
                    <option value="6232">RentMarketplace</option>
                    <option value="2875">Resident Referral</option>
                    <option value="2953">Sister Property Referral</option>
                    <option value="840">StreetEasy</option>
                    <option value="845">Student Housing</option>
                    <option value="942">Walk In</option>
                    <option value="1001">Yelp.com</option>
                    <option value="1007">Zillow Rental Network</option>
                    <option value="1015">Zumper</option>
                  </select></div>
                <div id="contactusComments" class="contactus-float-input-div comments-txt">
                  <textarea id="msg" name="msg" rows="3" cols="20" tabindex="0" class="body-txt1" title="Comments" placeholder="Comments" aria-label="comments"></textarea>
                </div>
                <div id="contactusPrivacy" class="contactus-float-input-div privacy">
                  <input id="privacyid" name="privacyid" type="checkbox" class="privacy-check" value="Agree" tabindex="0" aria-label="privacy policy agreement">
                  <label for="privacyid">I have read and agreed to the View Greystar website Privacy Policy.</label> <a href="https://www.greystar.com/privacy" target="_blank">Read More</a>
                  <span class="required-field">*</span>
                </div>
                <div class="required-info"><span>*</span> Required Information</div>
                <div class="submitbutton">
                  <button type="button" id="btnSubmit" class="cf-submit" aria-label="Submit Form" name="button">Submit</button>
                </div>
                <p id="errorMessage" class="error-msg"></p>
                <div class="disclaimerText"></div>
                <script type="text/javascript">
                  var enablePrivacyPolicy = 'false';
                  $(document).ready(function($) {
                    if (enablePrivacyPolicy.toLowerCase() == 'false') {
                      $('#privacyid').removeClass("required");
                    } else {
                      $('#contactusPrivacy').show();
                      $('#privacyid').addClass("required");
                    }
                  });

                  function setFormErrorMessage(message) {
                    $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf #errorMessage').html(message);
                  }

                  function setInputValidity($input, isValid) {
                    if (isValid) {
                      $input.removeAttr("aria-invalid");
                      $input.removeClass('reqErr');
                    } else {
                      $input.attr("aria-invalid", "true");
                      $input.addClass('reqErr');
                    }
                  }

                  function isFieldValid($input) {
                    var bIsValid = false;
                    if ($input.hasClass("email")) {
                      bIsValid = validateEmail($input);
                    } else if ($input.hasClass("privacy-check")) {
                      if ($input.is(":not(:checked)")) {
                        bIsValid = false;
                        $("label[for=" + $input.attr("id") + "]").addClass('reqErr');
                      } else {
                        bIsValid = true;
                        $("label[for=" + $input.attr("id") + "]").removeClass('reqErr');
                      }
                    } else {
                      //just do a required check... field must have content
                      bIsValid = $input.val() != "";
                    }
                    setInputValidity($input, bIsValid);
                    //check to see we need to clear out the error message
                    if ($('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form input.required.reqErr').length == 0) {
                      setFormErrorMessage("");
                    }
                    return bIsValid;
                  }
                  $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form input.required').blur(function() {
                    isFieldValid($(this));
                  });
                  $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form select.required').blur(function() {
                    isFieldValid($(this));
                  });
                  $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form input.requiredR').blur(function() {
                    isFieldValid($(this));
                  });

                  function validateEmail($input) {
                    var reg = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
                    return reg.test($input.val());
                  }
                  $('.contact-us-enhanced .required-group input[type="checkbox"]').each(function() {
                    if ($(this).is(":not(:checked)")) {
                      var msg = $(this).attr("aria-label");
                      $(this).attr("aria-invalid", "true");
                      $(this).addClass('validate-field');
                      $("label[for=" + $(this).attr("id") + "]").addClass('validate-field');
                    } else {
                      $(this).removeAttr("aria-invalid");
                      $(this).removeClass('validate-field');
                      $("label[for=" + $(this).attr("id") + "]").removeClass('validate-field');
                    }
                  });

                  function changeMessage() {
                    alert("error loading");
                  }

                  function sendContactInfo() {
                    if (enableRecaptcha == "true") {
                      o['cmsSiteId'] = cmsSiteId;
                      o['pageName'] = pageName;
                      o['widgetName'] = widgetName;
                    }
                    o['googleAnalyticsId'] = googleAnalyticsId;
                    $("#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form input").each(function() {
                      var postData = $(this).data('post-data');
                      o[$(this).attr('name')] = (postData == null || postData == undefined) ? $(this).val() : postData;
                    });
                    $("#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form select").each(function() {
                      if ($(this).attr('name') == 'usersource') o[$(this).attr('name')] = $('option:selected', this).text();
                      else o[$(this).attr('name')] = $(this).val();
                    });
                    $("#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form textarea").each(function() {
                      o[$(this).attr('name')] = escape($(this).val());
                    });
                    if ($('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #e-mail').val().length == 0) {
                      var id = $("#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #bedbathid option:selected").val();
                      try {
                        //format number before Hash
                        var formatPhone = rptracker.formatPhoneNumber($('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #dayPhone1').val(), countryCode);
                        //Hash all the parts before sending them to RPTracker.
                        var first_name = rptracker.hash($('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #firstname').val());
                        var last_name = rptracker.hash($('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #lastname').val());
                        var phone = rptracker.hash(formatPhone);
                        var email = rptracker.hash($('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #email').val());
                        var source = $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #usersource option:selected').text();
                        var bed = 0;
                        var bath = 0;
                        for (var key in kpv) {
                          // skip loop if the property is from prototype
                          if (!kpv.hasOwnProperty(key)) continue;
                          var item = kpv[key];
                          if (item.key === parseInt(id)) {
                            bed = item.bed;
                            bath = item.bath;
                            break;
                          }
                        }
                        //Send the informaiton back over to RPTracker.
                        rptracker.track('Form Submitted', {
                          first_name: first_name,
                          last_name: last_name,
                          email: email,
                          phone_number: phone,
                          bed: bed,
                          bath: bath,
                          movein_date: $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #movedate').val(),
                          source: source,
                          comments: escape(($('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #msg').val() === undefined || $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #msg').val().length <= 0 ?
                            "" : $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #msg').val()))
                        });
                      } catch (err) {
                        console.log("RPTracker failed but it is not a dependancy for the contact form. Please continue.");
                      }
                      $.ajax({
                        type: "POST",
                        dataType: "json",
                        cache: false,
                        timeout: timeoutValue,
                        url: "CMSSiteManager/Callback.aspx?act=set_contact",
                        data: o,
                        success: function(json) {
                          if (json.ErrorNumber) {
                            formSuccess = false;
                            setFormErrorMessage("Failed to submit guest card.");
                            $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .cf-submit').prop('value', 'Submit');
                            $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .cf-submit').prop('disabled', false);
                          } else {
                            try {
                              $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .cf-pnlMobile').hide();
                              let customDimensions = {}
                              customDimensions.dimension15 = json.LeaseStarLeadId;
                              if (json.Lead2LeaseLeadId != 0) customDimensions.dimension17 = json.Lead2LeaseLeadId;
                              f_analyticsSendEvent('Contact', 'Information Request', 'Thank you', customDimensions);
                            } catch (e) {}
                            window.open('/Thank-You.aspx', '_self');
                          }
                        },
                        beforeSend: function(json) {
                          formSuccess = true;
                          $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .cf-submit').prop('value', 'Sending...');
                          $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .cf-submit').prop('disabled', true);
                          setFormErrorMessage("");
                        },
                        error: function(e) {
                          formSuccess = false;
                          $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .cf-submit').prop('value', 'Submit');
                          $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .cf-submit').prop('disabled', false);
                          setFormErrorMessage("There was an error submitting your information.");
                        }
                      });
                    }
                  }
                  $("#p_lt_zoneFooterContact_ContactUs_Floating_rpcf  .contact-mobile-form #btnSubmit").click(function() {
                    setFormErrorMessage("");
                    var bAllValid = true;
                    // Validate form
                    $($("#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form input.required").get()).each(function() {
                      if (!isFieldValid($(this))) {
                        bAllValid = false;
                      }
                    });
                    if (bAllValid) {
                      if (formSuccess == true) {
                        return false;
                      }
                      $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #pid').val(propertyId);
                      var lcid = f_getCookie('RP_LSWS_LCID');
                      lcid = lcid ? lcid : "4";
                      $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #lcid').val(lcid);
                      var cid = f_getCookie('RP_LSWS_SEM');
                      cid = cid ? cid : "Property Website";
                      if (cid != "Property Website") {
                        $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #cid').val(matchedSource); //The logic for setting the matchedSource based on the cid value in the commondata.ascx file
                      }
                      googleAnalyticsId = f_getCookie('_ga');
                      var trackingId = f_analyticsGetTrackingId() || '';
                      $('#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form #trackingid').val(trackingId);
                      sendContactInfo();
                    } else {
                      $("#p_lt_zoneFooterContact_ContactUs_Floating_rpcf .contact-mobile-form input.required.reqErr:last").focus();
                      setFormErrorMessage("Please enter all required information.")
                    }
                  });
                </script>
              </div>
            </div>
          </div>
        </div>
        <div class="clearfix"></div>
        <script type="text/javascript">
          function fixContactImage() {
            $('.footer-contact-image').css('height', 'auto');
            var height = $('#footer-contact').outerHeight();
            height = height - 40;
            $('.footer-contact-image').css('height', height + "px");
          }
          $(document).ready(function() {
            fixContactImage()
          });
          $(window).resize(function() {
            fixContactImage()
          });
        </script>
      </div>
      <div id="footer-main-content">
        <div class="footer-content-overlay">
          <h2>Like What You See?</h2>
          <div class="mobile-align-left">
            <p>Make Martin Square Home.<br></p>
          </div>
          <div class="footer-main-CTA-buttons">
            <a href="/contact.aspx" target="_self" class="footer-CTA-Button" id="footer-CTA-1" role="button">Take A Tour<em class="fa fa-chevron-right"></em></a><a href="https://9091045.onlineleasing.realpage.com" target="_self" class="footer-CTA-Button" id="footer-CTA-1" role="button">Lease Now<em class="fa fa-chevron-right"></em></a>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div id="footerSocial">
    <div id="" class="social-widget">
      <h3>Get Social</h3>
      <div id="p_lt_zoneFooterSocial_SocialMedia_pnlSocialNetworks" class="social_media">
      </div>
    </div>
    <div class="social-CTA">
      <h3>Get In Touch</h3>
      <a href="/contact.aspx" target="_self" class="social-CTA-button" role="button">Contact Us <em class="fa fa-chevron-right"></em></a>
    </div>
  </div>
  <script type="text/javascript">
    //Google Maps Lazyloading
    let lazyLoadedFooter = false;
    $(document).on("ready", function() {
      let script = document.createElement('script')
      //Register Event Listeners so we can look for the widget container
      smRegisterListener('load', smLazyLoad);
      smRegisterListener('scroll', smLazyLoad);
      smRegisterListener('resize', smLazyLoad);
      //Load the map script if the widget is in the view port
      function smLazyLoad() {
        if (document.getElementById("footer-map") && smIsInViewport(document.getElementById("footer-map")) && lazyLoadedFooter === false) {
          $('.footer-widget__loader').show();
          lazyLoadedFooter = true;
          // adds the script tag to the document
          if (document.getElementsByTagName('body')[0]) {
            document.getElementsByTagName('body')[0].appendChild(script)
          } else {
            document.getElementsByTagName('html')[0].appendChild(script)
          }
          // baseline config for script tag
          script.src = 'https://maps.googleapis.com/maps/api/js?key=AIzaSyDS1oKsJ_hSSZqIslqkR4EdK1VndKUOPYM&libraries=places,geometry'
          script.async = true
          script.defer = true
          //after the google map script has loaded we can call the widget script
          script.onload = function() {
            loadFooterMap();
            $('.footer-widget__loader').hide('slow');
          }
        }
      }
      //check if the widget is in the view port
      function smIsInViewport(el) {
        var rect = el.getBoundingClientRect();
        return (rect.bottom >= 0 && rect.right >= 0 && rect.top <= (window.innerHeight || document.documentElement.clientHeight) && rect.left <= (window.innerWidth || document.documentElement.clientWidth));
      }
      //This is where our event listeners are being created
      function smRegisterListener(event, func) {
        if (window.addEventListener) {
          if (event == 'resize') {
            window.addEventListener(event, smDebounce(func));
          } else if (event == 'scroll') {
            window.addEventListener(event, smThrottle(func, 500));
          } else {
            window.addEventListener(event, func)
          }
        } else {
          window.attachEvent('on' + event, func)
        }
      }

      function smDebounce(func) {
        var timer;
        return function(event) {
          if (timer) clearTimeout(timer);
          timer = setTimeout(func, 0, event);
        };
      }

      function smThrottle(func, wait) {
        var time = Date.now();
        return function() {
          if ((time + wait - Date.now()) < 0) {
            func();
            time = Date.now();
          }
        }
      }
    });
    //End Google Maps Lazyloading
    var footerMap;

    function loadFooterMap() {
      $(function() {
        initFooterMap();
      });
    };
    //Initialize Footer Google Map
    function initFooterMap() {
      origin = new google.maps.LatLng(latitude, longitude);
      var stylesObj = [{
        elementType: 'geometry',
        stylers: [{
          color: '#f5f5f5'
        }]
      }, {
        elementType: 'labels.icon',
        stylers: [{
          visibility: 'off'
        }]
      }, {
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#616161'
        }]
      }, {
        elementType: 'labels.text.stroke',
        stylers: [{
          color: '#f5f5f5'
        }]
      }, {
        featureType: 'administrative.land_parcel',
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#bdbdbd'
        }]
      }, {
        featureType: 'poi',
        elementType: 'geometry',
        stylers: [{
          color: '#eeeeee'
        }]
      }, {
        featureType: 'poi',
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#757575'
        }]
      }, {
        featureType: 'poi.park',
        elementType: 'geometry',
        stylers: [{
          color: '#e5e5e5'
        }]
      }, {
        featureType: 'poi.park',
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#9e9e9e'
        }]
      }, {
        featureType: 'road',
        elementType: 'geometry',
        stylers: [{
          color: '#ffffff'
        }]
      }, {
        featureType: 'road.arterial',
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#757575'
        }]
      }, {
        featureType: 'road.highway',
        elementType: 'geometry',
        stylers: [{
          color: '#dadada'
        }]
      }, {
        featureType: 'road.highway',
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#616161'
        }]
      }, {
        featureType: 'road.local',
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#9e9e9e'
        }]
      }, {
        featureType: 'transit.line',
        elementType: 'geometry',
        stylers: [{
          color: '#e5e5e5'
        }]
      }, {
        featureType: 'transit.station',
        elementType: 'geometry',
        stylers: [{
          color: '#eeeeee'
        }]
      }, {
        featureType: 'water',
        elementType: 'geometry',
        stylers: [{
          color: '#c9c9c9'
        }]
      }, {
        featureType: 'water',
        elementType: 'labels.text.fill',
        stylers: [{
          color: '#9e9e9e'
        }]
      }];
      footerMap = new google.maps.Map(document.getElementById('footer-map'), {
        scrollwheel: false,
        center: origin,
        zoom: 16,
        mapTypeControl: false
      });
      footerMap.setOptions({
        styles: stylesObj
      });
      var markerIcon = {
        path: 'M54.549,17.947c-12.314,0-22.332,10.02-22.332,22.334c0,11.854,20.262,39.548,21.125,40.721l0.805,1.096,c0.094,0.129,0.244,0.204,0.402,0.204c0.16,0,0.309-0.075,0.404-0.204l0.805-1.096c0.863-1.173,21.125-28.867,21.125-40.721,C76.883,27.967,66.863,17.947,54.549,17.947z M54.549,32.281c4.412,0,8,3.588,8,8c0,4.41-3.588,8-8,8c-4.41,0-8-3.59-8-8,C46.549,35.869,50.139,32.281,54.549,32.281z',
        fillColor: '#' + '616161',
        fillOpacity: 1,
        scale: 1,
        strokeWeight: 0,
        anchor: new google.maps.Point(55, 80)
      };
      var marker = new google.maps.Marker({
        position: origin,
        map: footerMap,
        icon: markerIcon,
        geometry: {
          location: origin
        },
        name: name,
        vicinity: addressLine1,
        addressState: addressState,
        addressPostalCode: addressPostalCode,
        phonesNumber: phonesNumber,
        website: website,
        city: city
      });
      var center;

      function calculateCenter() {
        center = footerMap.getCenter();
      }
      google.maps.event.addDomListener(footerMap, 'idle', function() {
        calculateCenter();
      });
      google.maps.event.addDomListener(window, 'resize', function() {
        footerMap.setCenter(center);
      });
    }
    //End Initialize Footer Google Map
  </script>
  <div id="p_lt_zoneFooter_Footer_pnlFooter7" class="widget footer-widget">
    <footer class="footer-7">
      <div class="footer-content">
        <div class="footer-container">
          <div class="footer-top">
            <div class="footer-top-column footer-top-column-1">
              <div class="footer-property-logo">
                <div class="footer-logo footer-property-logo" title="Martin Square"><a></a><img src="https://capi.myleasestar.com/v2/dimg/158689460/400x400/158689460.png" alt="Martin Square"><a></a></div>
              </div>
              <div class="footer-follow">
              </div>
            </div>
            <div class="footer-top-column footer-top-column-2">
              <div class="footer-phone footer-column-2-content">
                <div class="footer-phone-icon footer-icon">
                  <em class="fa fa-phone" aria-hidden="true"></em>
                </div>
                <div class="footer-phone-content">
                  <a href="tel:(423) 516-8291" data-phone="(423) 516-8291" class="footer-phone seo-number" onclick="f_analyticsSendEvent('general', 'click-phone-number', '(423) 516-8291')">
                                    <span>(423) 516-8291</span>
                                </a><a></a>
                </div>
              </div>
              <div class="footer-address footer-column-2-content">
                <div class="footer-address-icon footer-icon">
                  <em class="fa fa-map-marker" aria-hidden="true"></em>
                </div>
                <div class="footer-address-content"> 311 Petie Way<br> Gray, TN 37615 <a href="http://maps.google.com/?q=311 Petie Way, Gray, TN 37615">Directions</a>
                </div>
              </div>
              <div class="footer-office-hours footer-column-2-content">
                <div class="footer-office-hours-icon footer-icon">
                  <em class="fa fa-clock-o" aria-hidden="true"></em>
                </div>
                <div class="footer-office-hours-content">
                  <ul class="office-hours">
                    <li><span class="office-hours-day">Monday:</span><span class="office-hours-time"> 9:00AM to 6:00PM</span></li>
                    <li><span class="office-hours-day">Tuesday:</span><span class="office-hours-time"> 9:00AM to 6:00PM</span></li>
                    <li><span class="office-hours-day">Wednesday:</span><span class="office-hours-time"> 9:00AM to 6:00PM</span></li>
                    <li><span class="office-hours-day">Thursday:</span><span class="office-hours-time"> 9:00AM to 6:00PM</span></li>
                    <li><span class="office-hours-day">Friday:</span><span class="office-hours-time"> 9:00AM to 6:00PM</span></li>
                    <li><span class="office-hours-day">Saturday:</span><span class="office-hours-time"> 10:00AM to 5:00PM</span></li>
                    <li><span class="office-hours-day">Sunday:</span><span class="office-hours-time"> 1:00PM to 5:00PM</span></li>
                  </ul>
                </div>
              </div>
              <div class="footer-optional-text">
              </div>
            </div>
            <div class="footer-top-column footer-top-column-3">
              <div class="footer-menu">
                <nav class="footer-nav">
                  <ul id="footerNav7" class="CMSListMenuUL">
                    <li class="active home">
                      <a class="CMSListMenuLinkHighlighted" href="/">Home</a>
                    </li>
                    <li class="floor-plans">
                      <a class="CMSListMenuLink" href="/Floor-plans.aspx">Floor Plans</a>
                    </li>
                    <li class="gallery">
                      <a class="CMSListMenuLink" href="/Gallery.aspx">Gallery</a>
                    </li>
                    <li class="amenities">
                      <a class="CMSListMenuLink" href="/Amenities.aspx">Amenities</a>
                    </li>
                    <li class="neighborhood">
                      <a class="CMSListMenuLink" href="/Location.aspx">Location</a>
                    </li>
                    <li class="residents">
                      <a class="CMSListMenuLink" href="https://martinsquare.activebuilding.com/" target="_blank">Residents</a>
                    </li>
                    <li class="contact">
                      <a class="CMSListMenuLink" href="/Contact.aspx">Contact Us</a>
                    </li>
                  </ul>
                </nav>
              </div>
            </div>
          </div>
          <div class="footer-bottom">
            <div class="footer-bottom-row footer-bottom-row-1">
              <div class="footer-logos">
                <div class="footer-logo footer-pmclogo" title="Greystar logo and Greystar website">
                  <a href="https://www.drhorton.com/" target="_blank"><img src="https://capi.myleasestar.com/v2/dimg/159020521/400x400/159020521.png" alt="View Greystar website"></a></div>
              </div>
              <div class="footer-icons">
                <div id="ada-hud-links">
                  <a title="Accessible Community and Greystar Fair Housing Statement" id="link-ada" href="https://www.greystar.com/fair-housing-statement" target="_blank"><span>Information for disabled persons website (opens in a new tab)</span><svg data-name="handicapSVG" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 483.22 551.43"><path d="M162 98.12c25-2.3 44.36-23.81 44.36-49A49.25 49.25 0 0 0 157.19 0 49.25 49.25 0 0 0 108 49.16 51.06 51.06 0 0 0 114.17 73l17.52 246.47h180.4l74 173.37 97.14-38.1-15-35.82-54.37 19.63-71.64-165.27-167.73 1.12-2.3-31.21h121.42v-46.13H167.56zm181.42 353.47c-30.42 60.19-94.17 99.84-162.15 99.84C81.43 551.43 0 470 0 370.16c0-70.1 42.49-135.24 105.88-164.12l4.1 53.54c-37.5 23.63-60.61 66.26-60.61 111 0 72.43 59.07 131.5 131.5 131.5 66.26 0 122.76-50.85 130.47-116.09z"></path></svg></a>
                  <a title="Equal Housing Opportunity and Greystar Fair Housing Statement" id="link-hud" href="https://www.greystar.com/fair-housing-statement" target="_blank"><span>Rental assistance website (opens in a new tab)</span><svg data-name="housingSVG" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 539.2 515.23"><g fill-rule="evenodd"><path d="M61.89 421.07h-21.1v8.36h19.38v7.05H40.79v10.26h22.03v7.05H32.66v-39.75h29.23v7.03zM88.56 442.98l4 3.75a9.67 9.67 0 0 1-4.48 1.06c-4.49 0-10.8-2.76-10.8-13.89s6.32-13.89 10.8-13.89 10.79 2.78 10.79 13.9a17.78 17.78 0 0 1-1.82 8.54l-4.18-3.93-4.26 4.46zm18.77 9.17l-4.33-4.07c2.44-3.1 4.16-7.64 4.16-14.18 0-18.65-13.84-20.92-19.1-20.92s-19.09 2.26-19.09 20.92 13.84 20.92 19.09 20.92a20.52 20.52 0 0 0 10.18-2.67l4.71 4.49 4.37-4.49zM146.24 439.9c0 10.44-6.32 14.94-16.34 14.94-3.65 0-9.07-.88-12.62-4.81-2.15-2.42-3-5.66-3.09-9.63v-26.36h8.47v25.78c0 5.56 3.21 8 7.08 8 5.71 0 8-2.76 8-7.59v-26.19h8.48v25.85zM168.48 423.01h.12l4.92 15.72h-10.14l5.1-15.72zm-7.32 22.56h14.71l2.55 8.21h9l-14-39.75h-9.55l-14.17 39.75h8.75l2.76-8.21zM202.19 446.59h19.76v7.2h-28.07v-39.75h8.31v32.55zM253.44 435.95v17.84h-8.29v-39.75h8.29v15.05h15.5v-15.05h8.29v39.75h-8.29v-17.84h-15.5zM293.05 433.91c0-11.12 6.32-13.89 10.79-13.89s10.81 2.76 10.81 13.89-6.31 13.89-10.81 13.89-10.79-2.76-10.79-13.89zm-8.29 0c0 18.66 13.85 20.92 19.08 20.92s19.12-2.26 19.12-20.92S309.12 413 303.87 413s-19.08 2.26-19.08 20.92zM362.59 439.9c0 10.44-6.32 14.94-16.34 14.94-3.65 0-9.06-.88-12.62-4.81-2.16-2.42-3-5.66-3.09-9.63v-26.36H339v25.78c0 5.56 3.22 8 7.1 8 5.7 0 8-2.76 8-7.59v-26.19h8.47v25.85zM377.79 441.55c.07 2.21 1.19 6.42 8.43 6.42 3.93 0 8.31-.94 8.31-5.17 0-3.08-3-3.92-7.19-4.92l-4.27-1c-6.44-1.49-12.64-2.91-12.64-11.66 0-4.43 2.39-12.24 15.29-12.24 12.18 0 15.45 8 15.51 12.84h-8c-.22-1.76-.88-6-8.13-6-3.15 0-6.92 1.16-6.92 4.76 0 3.12 2.55 3.75 4.2 4.14l9.69 2.38c5.43 1.33 10.4 3.55 10.4 10.68 0 12-12.17 13-15.66 13-14.49 0-17-8.36-17-13.28zM417.6 453.79h-8.28v-39.75h8.28v39.75zM450.76 414.04h7.74v39.75h-8.29L434 425.44h-.14v28.35h-7.73v-39.75h8.74l15.76 27.68h.13v-27.68zM486.29 432.37h16.58v21.42h-5.53l-.83-5c-2.1 2.41-5.14 6-12.4 6-9.57 0-18.25-6.86-18.25-20.8 0-10.84 6-21.09 19.42-21 12.2 0 17 7.9 17.43 13.4h-8.29c0-1.56-2.83-6.54-8.69-6.54s-11.4 4.1-11.4 14.3c0 10.86 5.93 13.67 11.57 13.67 1.82 0 7.93-.71 9.63-8.75h-9.24v-6.69zM39.19 494.3c0-11.12 6.31-13.9 10.79-13.9s10.79 2.77 10.79 13.9-6.31 13.9-10.79 13.9-10.79-2.79-10.79-13.9zm-8.3 0c0 18.65 13.84 20.94 19.09 20.94s19.09-2.29 19.09-20.94-13.84-20.92-19.09-20.92-19.11 2.26-19.11 20.92zM91.87 492.96v-11.69h6.59c5.14 0 7.3 1.62 7.3 5.5 0 1.77 0 6.19-6.21 6.19zm0 6.87h9.51c10.69 0 12.67-9.08 12.67-12.67 0-7.8-4.64-12.73-12.34-12.73H83.53v39.72h8.34v-14.32zM136.54 492.96v-11.69h6.58c5.15 0 7.31 1.62 7.31 5.5 0 1.77 0 6.19-6.19 6.19zm0 6.87h9.52c10.68 0 12.68-9.08 12.68-12.67 0-7.8-4.64-12.73-12.34-12.73h-18.16v39.72h8.31v-14.32zM179.5 494.3c0-11.12 6.29-13.9 10.8-13.9s10.79 2.77 10.79 13.9-6.32 13.9-10.79 13.9-10.8-2.79-10.8-13.9zm-8.3 0c0 18.65 13.83 20.94 19.1 20.94s19.08-2.29 19.08-20.94-13.84-20.92-19.08-20.92-19.1 2.26-19.1 20.92zM231.97 491.92v-10.65h10.34c4.87 0 5.8 3.12 5.8 5.22 0 3.93-2.09 5.43-6.41 5.43zm-8.15 22.23h8.16v-15.54h8.56c6.15 0 6.49 2.1 6.49 7.53a26.77 26.77 0 0 0 .87 8h9.2v-1.07c-1.77-.65-1.77-2.1-1.77-7.89 0-7.45-1.77-8.65-5-10.09 3.93-1.32 6.13-5.09 6.13-9.45 0-3.44-1.93-11.24-12.5-11.24h-20.14v39.75zM287.36 514.17h-8.3v-32.71h-12.01v-7.04h32.33v7.04h-12.02v32.71zM343.93 500.26c0 10.46-6.31 15-16.33 15-3.64 0-9.06-.92-12.61-4.85-2.16-2.42-3-5.64-3.09-9.62v-26.36h8.46v25.78c0 5.54 3.22 8 7.09 8 5.7 0 8-2.79 8-7.6v-26.18h8.47v25.84zM384.11 474.42h7.76v39.75h-8.32l-16.22-28.35h-.08v28.35h-7.77v-39.75h8.74l15.79 27.68h.1v-27.68zM415.29 514.17h-8.32v-39.75h8.32v39.75zM447.7 514.17h-8.3v-32.71h-11.99v-7.04h32.31v7.04H447.7v32.71zM491.11 514.17h-8.31v-15.01l-13.72-24.74h9.79l8.25 17.28 7.87-17.28h9.4l-13.28 24.85v14.9zM267.6 0L0 131.8v61.91h30v185.71h473.23V193.71h36V131.8L267.6 0zm177.73 323.49H87.87V153.77L267.6 61.91l177.73 91.86v169.72z"></path><path d="M349.46 213.66H183.73v-59.89h165.73v59.89zM349.46 299.57H183.73v-59.94h165.73v59.94z"></path></g></svg></a>
                </div>
                <div class="additional-icons">
                  <div class="additional-icon smoking-icon">
                    <span class="no-smoking"><svg width="29px" height="27px" viewBox="0 0 29 27" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                        <title>No Smoking</title>
                        <defs>
                          <polygon id="path-1" points="0 0 27.5968814 0 27.5968814 26.999997 0 26.999997"></polygon>
                        </defs>
                        <g id="Welcome" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                          <g id="Tablet-Portrait" transform="translate(-391.000000, -680.000000)">
                            <g id="Group-4" transform="translate(299.000000, 677.000000)">
                              <g id="Group-9" transform="translate(0.000000, 3.000000)">
                                <g id="Group">
                                  <g id="Group-13" transform="translate(92.727273, 0.000000)">
                                    <polygon id="Fill-1" fill="#FFFFFF" points="11.547456 13.5 14.7843228 16.3928571 9.85621521 16.3928571 9.85621521 13.5"></polygon>
                                    <polygon id="Fill-2" fill="#FFFFFF" points="16.7555659 16.3928571 13.8742793 16.3928571 10.8418367 13.5 13.7231233 13.5"></polygon>
                                    <polygon id="Fill-3" fill="#FFFFFF" points="21.6836735 13.5 21.6836735 16.3928571 17.9183512 16.3928571 14.7843228 13.5"></polygon>
                                    <polygon id="Fill-4" fill="#FFFFFF" points="22.669295 16.3928571 23.6549165 16.3928571 23.6549165 13.5 22.669295 13.5"></polygon>
                                    <polygon id="Fill-5" fill="#FFFFFF" points="23.6549165 16.3928571 24.640538 16.3928571 24.640538 13.5 23.6549165 13.5"></polygon>
                                    <polygon id="Fill-6" fill="#FFFFFF" points="3.94248609 16.3928571 8.87059369 16.3928571 8.87059369 13.5 3.94248609 13.5"></polygon>
                                    <g id="Group-12">
                                      <path
                                        d="M22.7073613,11.7723835 C22.7073613,11.7723835 23.8437749,8.36952189 21.1399429,7.38084863 C18.4361048,6.39218144 19.023896,4.3228711 19.023896,4.3228711 C19.023896,4.3228711 17.7777814,7.19691492 20.5051282,8.64543155 C23.2324751,10.0939482 22.7073613,11.7723835 22.7073613,11.7723835"
                                        id="Fill-7" fill="#FFFFFF"></path>
                                      <g id="Group-11">
                                        <mask id="mask-2" fill="white">
                                          <use xlink:href="#path-1"></use>
                                        </mask>
                                        <g id="Clip-10"></g>
                                        <path
                                          d="M25.3136127,11.3071237 C25.4562096,12.0273381 25.5285163,12.7651237 25.5285163,13.499997 C25.5285163,14.2348642 25.4562096,14.9726558 25.3136127,15.6928763 C25.1697997,16.4193158 24.9531774,17.1341909 24.6697705,17.8176489 C24.2327723,18.8714801 23.638696,19.8525388 22.9040641,20.73357 L22.7955668,20.8636797 L22.6741705,20.7449707 L6.26844536,4.70159494 L6.40149984,4.59549404 C7.3024359,3.87707562 8.30564616,3.29612663 9.38327261,2.86878034 C10.0821359,2.59165112 10.813163,2.3798073 11.5560283,2.23914034 C12.2925402,2.09970506 13.0470015,2.02900753 13.7984413,2.02900753 C14.5498873,2.02900753 15.3043425,2.09970506 16.0408482,2.23914034 C16.7837196,2.3798073 17.5147468,2.59165112 18.2136038,2.86878034 C19.6672573,3.44523944 20.9724258,4.29309404 22.0928568,5.38878438 C23.2132754,6.48445652 24.0802793,7.76079809 24.6697705,9.18234506 C24.9531774,9.8658091 25.1697997,10.5806842 25.3136127,11.3071237 L25.3136127,11.3071237 Z M21.1953828,22.404506 C20.2944468,23.1229183 19.2912303,23.7038673 18.2136038,24.1312015 C17.5147344,24.408361 16.7837072,24.6202048 16.0408482,24.7608415 C15.3043673,24.9002889 14.5499059,24.9709925 13.7984413,24.9709925 C13.0469767,24.9709925 12.2925216,24.9002889 11.5560283,24.7608415 C10.8131817,24.6202048 10.0821669,24.4083671 9.38327261,24.1312136 C7.92961914,23.5547424 6.62445061,22.7068938 5.50403205,21.6112096 C4.38359488,20.5155313 3.51659096,19.2391958 2.92711218,17.8176489 C2.64369901,17.1341848 2.42707678,16.4193098 2.28326378,15.6928763 C2.14066686,14.9726558 2.06836638,14.2348642 2.06836638,13.499997 C2.06836638,12.7651237 2.14066686,12.0273381 2.28326378,11.3071176 C2.42707678,10.5806842 2.64369901,9.86581517 2.92711218,9.18235112 C3.36410414,8.12853202 3.95817422,7.14747337 4.69281857,6.26642393 L4.80130961,6.13631427 L4.92270592,6.25502933 L21.207041,22.17969 L21.3284311,22.2984111 L21.1953828,22.404506 Z M13.7984413,-3.03370787e-06 C10.1110176,-3.03370787e-06 6.64429866,1.40424573 4.03689631,3.95405899 C-1.34563334,9.21771202 -1.34563334,17.782294 4.03689631,23.045941 C6.64429866,25.5957543 10.1110176,26.999997 13.7984413,26.999997 C17.4858651,26.999997 20.9525778,25.5957543 23.5599802,23.045941 C28.942516,17.782294 28.942516,9.21771202 23.5599802,3.95405899 C20.9525778,1.40424573 17.4858651,-3.03370787e-06 13.7984413,-3.03370787e-06 L13.7984413,-3.03370787e-06 Z"
                                          id="Fill-9" fill="#FFFFFF" mask="url(#mask-2)"></path>
                                      </g>
                                    </g>
                                  </g>
                                </g>
                              </g>
                            </g>
                          </g>
                        </g>
                      </svg></span>
                  </div>
                  <div class="additional-icon pet-icon">
                    <span class="pet-friendly"><svg width="32px" height="25px" viewBox="0 0 32 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                        <title>Pet Friendly</title>
                        <defs>
                          <polygon id="path-1" points="0 0 7.97653959 0 7.97653959 8.59846154 0 8.59846154"></polygon>
                          <polygon id="path-3" points="0 0 6.97947214 0 6.97947214 10.5092308 0 10.5092308"></polygon>
                          <polygon id="path-5" points="0 0 7.97653959 0 7.97653959 10.5092308 0 10.5092308"></polygon>
                        </defs>
                        <g id="Welcome" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                          <g id="Tablet-Portrait" transform="translate(-438.000000, -680.000000)">
                            <g id="Group-4" transform="translate(299.000000, 677.000000)">
                              <g id="Group-9" transform="translate(0.000000, 3.000000)">
                                <g id="Group">
                                  <g id="Group-14" transform="translate(139.090909, 0.000000)">
                                    <g id="Group-3" transform="translate(0.000000, 8.598462)">
                                      <mask id="mask-2" fill="white">
                                        <use xlink:href="#path-1"></use>
                                      </mask>
                                      <g id="Clip-2"></g>
                                      <path
                                        d="M7.44151235,3.65695265 C6.33284782,1.69247752 4.34305282,-0.539914672 2.40780476,0.117222695 C0.472637264,0.774360062 -0.675265612,4.07210848 0.43347949,6.03652111 C1.54222459,8.00099624 4.00980889,9.06085288 5.94497638,8.40371552 C7.88022444,7.74657815 8.55025745,5.62142778 7.44151235,3.65695265"
                                        id="Fill-1" fill="#FFFFFF" mask="url(#mask-2)"></path>
                                    </g>
                                    <path
                                      d="M28.8022445,8.71568182 C27.1088975,8.05854427 25.3678924,10.2909996 24.3977376,12.2554128 C23.4276534,14.2198885 24.0138634,16.3451019 25.7072104,17.002177 C27.4005573,17.6593146 29.5596998,16.5994576 30.5297841,14.6349819 C31.4999388,12.6705687 30.4955914,9.37281938 28.8022445,8.71568182"
                                      id="Fill-4" fill="#FFFFFF"></path>
                                    <g id="Group-8" transform="translate(6.979472, 0.000000)">
                                      <mask id="mask-4" fill="white">
                                        <use xlink:href="#path-3"></use>
                                      </mask>
                                      <g id="Clip-7"></g>
                                      <path
                                        d="M3.48973607,10.5092308 C5.41706452,10.5092308 6.97947214,8.4316757 6.97947214,5.86889954 C6.97947214,3.30612339 6.65218623,0 4.72485778,0 C2.79752933,0 0,3.30612339 0,5.86889954 C0,8.4316757 1.56240762,10.5092308 3.48973607,10.5092308"
                                        id="Fill-6" fill="#FFFFFF" mask="url(#mask-4)"></path>
                                    </g>
                                    <g id="Group-11" transform="translate(16.950147, 0.000000)">
                                      <mask id="mask-6" fill="white">
                                        <use xlink:href="#path-5"></use>
                                      </mask>
                                      <g id="Clip-10"></g>
                                      <path
                                        d="M3.98830733,10.5092308 C6.19094768,10.5092308 7.97653959,8.4316757 7.97653959,5.86889954 C7.97653959,3.30612339 4.7793933,0 2.57667788,0 C0.37411258,0 0,3.30612339 0,5.86889954 C0,8.4316757 1.7855919,10.5092308 3.98830733,10.5092308"
                                        id="Fill-9" fill="#FFFFFF" mask="url(#mask-6)"></path>
                                    </g>
                                    <path
                                      d="M22.3769955,17.1870119 C21.4905181,16.6216338 20.7924113,15.8387143 20.3232888,14.9449411 C19.5391654,13.4507706 17.8770939,12.42 15.9531012,12.42 C14.1532456,12.42 12.582571,13.322045 11.7454334,14.6617086 C11.0687817,15.7444041 10.1601931,16.6943891 9.10456909,17.4795426 C7.39932527,18.7477792 6.57307919,20.5719146 7.17545871,22.1945692 C8.01095601,24.445576 11.279001,25.4559992 14.4748077,24.4514326 L14.4906857,24.4464213 C15.43851,24.147249 16.4676925,24.147249 17.4155168,24.4464213 L17.4313948,24.4514326 C20.6271359,25.4559992 23.8952465,24.445576 24.7307438,22.1945692 C25.3810853,20.4424645 24.365878,18.4554901 22.3769955,17.1870119"
                                      id="Fill-12" fill="#FFFFFF"></path>
                                  </g>
                                </g>
                              </g>
                            </g>
                          </g>
                        </g>
                      </svg></span>
                  </div>
                </div>
              </div>
            </div>
            <div class="footer-bottom-row footer-bottom-row-2">
              <div class="footer-copyright"> Copyright © 2024 Martin Square. All Rights Reserved. </div>
              <div class="footer-additional-links-container">
                <ul id="footerAdditionalLinks">
                  <li class="additional-footer-link footer-link"><a href="https://www.greystar.com/disclosures-and-licenses" target="_blank" title="Local and State Disclosures and License Information">Disclosures &amp; Licenses</a></li>
                  <li class="additional-footer-link footer-link"><a href="https://www.greystar.com/terms-of-use#Copyright%20Infringement%20Policy" target="_blank" title="Greystar DMCA Policy">DMCA Agent</a></li>
                  <li class="additional-footer-link footer-link"><a href="https://www.greystar.com/privacy/us-policy" target="_blank" title="Greystar Privacy Policy">Privacy Policy</a></li>
                  <li class="additional-footer-link footer-link">
                    <a href="https://urldefense.com/v3/__https:/www.drhorton.com/privacy__;!!JD2t4ugY8Q!m9WrrH4tHQ7aFmgtjuWWfHpN46AFm84_MeQkzzWJRZP9ZlY9dT9HiFZPvkHmyHSM3U9-dc7zZbQ2c0_Y_ih3CCCz$" target="_self" title="Privacy Policy of D.R. Horton">Privacy Policy of D.R. Horton</a>
                  </li>
                  <li class="additional-footer-link footer-link"><a href="https://myprivacychoices.drhorton.com/?op=op1&amp;src=4WGE" target="_blank" title="Do Not Sell My Information">Do Not Sell My Information</a></li>
                </ul>
              </div>
            </div>
            <div class="footer-bottom-row footer-bottom-row-3">
              <div class="footer-additional-logos">
              </div>
            </div>
            <div class="footer-bottom-row footer-bottom-row-4">
              <a id="link-rp" href="https://www.realpage.com/apartment-marketing/" target="_blank"><svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 338.77332 76.466667" height="76.466667" width="338.77332" xml:space="preserve" id="svg2" version="1.1"><metadata id="metadata8"><rdf:rdf><cc:work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"></dc:type></cc:work></rdf:rdf></metadata><defs id="defs6"></defs><g transform="matrix(1.3333333,0,0,-1.3333333,0,76.466667)" id="g10"><g transform="scale(0.1)" id="g12"><path id="path14" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 77.5547,545.898 H 0 V 133.203 h 250.879 v 69.492 H 77.5547 v 343.203"></path><path id="path16" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 405.578,365.84 c 10.715,0 20.16,-1.77 28.067,-5.254 7.875,-3.488 14.46,-8.211 19.574,-14.055 5.105,-5.84 8.906,-12.703 11.293,-20.39 2.172,-7.032 3.383,-14.453 3.597,-22.098 H 331.738 c 1.973,17.598 9.629,32.297 22.785,43.699 13.86,12.004 31.04,18.098 51.055,18.098 z m 97.969,18.34 c -12.121,12.695 -26.66,22.39 -43.231,28.82 -16.523,6.414 -34.746,9.668 -54.164,9.668 -20.949,0 -40.726,-3.645 -58.797,-10.832 -18.109,-7.219 -33.984,-17.473 -47.183,-30.488 -13.234,-13.039 -23.785,-29.012 -31.367,-47.469 -7.575,-18.457 -11.418,-39.223 -11.418,-61.699 0,-22.875 3.843,-43.645 11.426,-61.719 7.589,-18.098 18.253,-33.598 31.699,-46.074 13.426,-12.453 29.492,-22.219 47.761,-29.016 18.262,-6.785 38.508,-10.234 60.18,-10.234 52.418,0 93,18.945 120.633,56.297 l 1.434,1.933 -50.04,40.039 -1.527,-2.215 c -7.406,-10.73 -16.988,-19.289 -28.488,-25.41 -11.477,-6.113 -25.805,-9.211 -42.59,-9.211 -9.629,0 -19.023,1.692 -27.91,5.032 -8.938,3.347 -17.031,7.957 -24.063,13.691 -7.004,5.715 -12.703,12.629 -16.937,20.555 -3.832,7.16 -6.266,15.121 -7.227,23.672 h 209.645 l 0.269,2.199 c 0.395,3.211 0.594,6.426 0.594,9.519 v 9.211 c 0,25.098 -3.441,47.371 -10.223,66.211 -6.812,18.848 -16.394,34.832 -28.476,47.52"></path><path id="path18" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 732.648,259.316 h 13.047 v -7.296 c 0,-21.102 -5.965,-37.957 -17.722,-50.086 -11.746,-12.098 -29.356,-18.243 -52.336,-18.243 -5.567,0 -11.211,0.567 -16.789,1.68 -5.469,1.094 -10.438,2.938 -14.782,5.469 -4.242,2.469 -7.734,5.781 -10.39,9.863 -2.59,3.977 -3.91,9.031 -3.91,15.039 0,9.688 3.105,17.071 9.496,22.578 6.629,5.703 15.047,10.188 25.035,13.328 10.168,3.196 21.41,5.293 33.418,6.235 12.242,0.945 23.996,1.433 34.933,1.433 z M 791,384.324 c -9.418,11.391 -22.422,20.735 -38.645,27.774 -16.164,7.011 -36.933,10.57 -61.746,10.57 -21.289,0 -42.589,-3.734 -63.312,-11.086 -20.762,-7.371 -39.363,-18.582 -55.281,-33.34 l -1.758,-1.633 39.004,-45.925 1.922,1.914 c 8.582,8.582 19.574,15.976 32.668,21.953 13.054,5.965 26.847,8.984 40.996,8.984 16.687,0 31.238,-4.023 43.25,-11.953 11.84,-7.852 17.597,-19.695 17.597,-36.223 v -4.402 c -20.64,-0.09 -42.047,-1.152 -63.668,-3.184 -22.554,-2.121 -43.394,-6.523 -61.929,-13.085 -18.719,-6.633 -34.258,-16.34 -46.18,-28.848 -12.109,-12.703 -18.254,-29.949 -18.254,-51.25 0,-16.516 3.516,-30.606 10.449,-41.906 6.883,-11.211 15.66,-20.387 26.09,-27.262 10.371,-6.859 21.879,-11.809 34.195,-14.738 12.239,-2.918 24.161,-4.395 35.418,-4.395 19.864,0 37.875,4.063 53.539,12.078 13.723,7.031 24.29,15.918 31.493,26.485 v -31.649 h 69.492 v 170.645 c 0,13.957 -1.871,28.117 -5.555,42.097 -3.73,14.114 -10.383,27.024 -19.785,38.379"></path><path id="path20" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 927.242,359.199 c 8.828,4.403 18.715,6.641 29.399,6.641 12.172,0 23.586,-2.902 33.918,-8.613 10.401,-5.774 18.661,-12.618 24.561,-20.34 l 1.63,-2.141 48.69,43.074 -1.45,1.86 c -11.4,14.508 -26.98,25.437 -46.32,32.476 -32.44,11.797 -67.959,13.789 -100.248,5.246 -13.258,-3.507 -25.336,-8.957 -35.902,-16.191 -10.637,-7.293 -19.321,-16.777 -25.805,-28.184 -6.524,-11.464 -9.832,-25.254 -9.832,-40.968 0,-13.399 2.422,-24.825 7.195,-33.973 4.766,-9.133 11.195,-16.863 19.11,-22.988 7.832,-6.082 16.871,-11.043 26.859,-14.766 9.805,-3.652 20.09,-6.691 30.527,-9.016 20.797,-4.921 36.617,-9.89 47.02,-14.793 9.691,-4.589 14.402,-11.953 14.402,-22.507 0,-5.625 -1.226,-10.403 -3.641,-14.211 -2.449,-3.836 -5.734,-6.953 -9.773,-9.239 -4.168,-2.363 -8.777,-4.113 -13.711,-5.207 -4.98,-1.109 -9.93,-1.668 -14.715,-1.668 -14.496,0 -27.855,3.196 -39.711,9.5 -11.914,6.329 -21.715,14.426 -29.132,24.075 l -1.68,2.187 -49.313,-46.191 1.676,-1.817 c 13.617,-14.804 30.988,-26.355 51.613,-34.336 20.559,-7.937 41.981,-11.972 63.664,-11.972 15.059,0 29.879,1.668 44.043,4.968 14.244,3.301 26.924,8.75 37.714,16.204 10.85,7.5 19.63,17.382 26.11,29.375 6.51,12.031 9.81,26.867 9.81,44.089 0,13.813 -2.83,25.754 -8.4,35.5 -5.53,9.676 -12.83,17.879 -21.71,24.383 -8.76,6.43 -18.65,11.684 -29.42,15.61 -10.67,3.867 -21.334,6.992 -31.662,9.285 -19.403,4.57 -34.27,9.082 -44.203,13.398 -9.254,4.004 -13.75,10.692 -13.75,20.449 0,9.817 4.066,16.614 12.437,20.801"></path><path id="path22" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1222.1,365.84 c 10.71,0 20.16,-1.77 28.06,-5.254 7.88,-3.488 14.46,-8.211 19.58,-14.055 5.1,-5.84 8.9,-12.703 11.29,-20.39 2.17,-7.032 3.38,-14.453 3.6,-22.098 h -136.37 c 1.97,17.598 9.63,32.297 22.78,43.699 13.86,12.004 31.04,18.098 51.06,18.098 z m 97.96,18.34 c -12.12,12.695 -26.66,22.39 -43.22,28.82 -16.53,6.414 -34.75,9.668 -54.17,9.668 -20.95,0 -40.73,-3.645 -58.8,-10.832 -18.1,-7.219 -33.98,-17.473 -47.18,-30.488 -13.23,-13.039 -23.78,-29.012 -31.37,-47.469 -7.57,-18.457 -11.41,-39.223 -11.41,-61.699 0,-22.875 3.84,-43.645 11.42,-61.719 7.59,-18.098 18.25,-33.598 31.7,-46.074 13.42,-12.453 29.49,-22.219 47.76,-29.016 18.26,-6.785 38.51,-10.234 60.18,-10.234 52.42,0 93,18.945 120.64,56.297 l 1.43,1.933 -50.04,40.039 -1.53,-2.215 c -7.4,-10.73 -16.99,-19.289 -28.49,-25.41 -11.47,-6.113 -25.8,-9.211 -42.59,-9.211 -9.62,0 -19.02,1.692 -27.91,5.032 -8.94,3.347 -17.03,7.957 -24.06,13.691 -7,5.715 -12.7,12.629 -16.94,20.555 -3.83,7.16 -6.26,15.121 -7.22,23.672 h 209.64 l 0.27,2.199 c 0.39,3.211 0.6,6.426 0.6,9.519 v 9.211 c 0,25.098 -3.45,47.371 -10.23,66.211 -6.81,18.848 -16.39,34.832 -28.48,47.52"></path><path id="path24" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 1461.26,545.898 H 1383.7 V 133.203 h 250.88 v 69.492 h -173.32 v 343.203"></path><path id="path26" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 1826.13,259.316 h 13.05 v -7.296 c 0,-21.114 -5.97,-37.957 -17.72,-50.086 -11.75,-12.098 -29.36,-18.243 -52.34,-18.243 -5.56,0 -11.21,0.567 -16.79,1.68 -5.46,1.094 -10.44,2.938 -14.78,5.469 -4.24,2.469 -7.73,5.781 -10.39,9.863 -2.59,3.977 -3.91,9.031 -3.91,15.039 0,9.688 3.11,17.071 9.5,22.578 6.63,5.703 15.04,10.188 25.03,13.328 10.17,3.196 21.41,5.293 33.42,6.235 12.24,0.945 24,1.433 34.93,1.433 z m 58.36,125.008 c -9.41,11.379 -22.41,20.727 -38.64,27.774 -16.17,7.011 -36.94,10.57 -61.75,10.57 -21.29,0 -42.6,-3.734 -63.32,-11.086 -20.76,-7.371 -39.36,-18.582 -55.28,-33.34 l -1.75,-1.633 39,-45.925 1.92,1.914 c 8.58,8.582 19.57,15.976 32.67,21.953 13.05,5.965 26.85,8.984 41,8.984 16.68,0 31.23,-4.023 43.24,-11.953 11.84,-7.844 17.6,-19.695 17.6,-36.223 v -4.402 c -20.64,-0.09 -42.05,-1.152 -63.67,-3.184 -22.55,-2.121 -43.39,-6.523 -61.93,-13.085 -18.72,-6.633 -34.25,-16.34 -46.18,-28.848 -12.11,-12.703 -18.25,-29.949 -18.25,-51.25 0,-16.516 3.52,-30.606 10.45,-41.906 6.88,-11.211 15.66,-20.387 26.09,-27.262 10.37,-6.859 21.88,-11.809 34.19,-14.738 12.24,-2.918 24.16,-4.395 35.42,-4.395 19.87,0 37.88,4.063 53.54,12.078 13.73,7.031 24.29,15.918 31.49,26.477 v -31.641 h 69.5 v 170.645 c 0,13.925 -1.87,28.093 -5.56,42.097 -3.73,14.114 -10.38,27.024 -19.78,38.379"></path><path id="path28" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 2162.23,275.059 c 0,-10.43 -1.61,-21.036 -4.79,-31.512 -3.17,-10.422 -7.97,-19.848 -14.27,-28 -6.28,-8.125 -14.34,-14.871 -23.96,-20.059 -9.57,-5.144 -21,-7.765 -33.95,-7.765 -12.22,0 -23.26,2.519 -32.82,7.492 -9.65,5.008 -18.02,11.68 -24.87,19.836 -6.87,8.164 -12.14,17.488 -15.67,27.715 -3.55,10.242 -5.34,20.718 -5.34,31.14 0,10.418 1.79,20.996 5.34,31.446 3.54,10.41 8.8,19.824 15.67,27.976 6.87,8.176 15.25,14.942 24.9,20.149 9.56,5.148 20.59,7.753 32.79,7.753 12.97,0 24.4,-2.519 33.98,-7.492 9.58,-4.976 17.64,-11.621 23.92,-19.746 6.31,-8.164 11.12,-17.488 14.28,-27.715 3.18,-10.3 4.79,-20.808 4.79,-31.218 z m 65.3,57.871 c -6.62,17.89 -16.08,33.664 -28.14,46.894 -12.08,13.231 -26.68,23.801 -43.41,31.399 -16.77,7.593 -35.33,11.445 -55.17,11.445 -12.86,0 -24.53,-1.488 -34.67,-4.414 -10.11,-2.922 -19.11,-6.574 -26.74,-10.879 -7.6,-4.289 -14.25,-9.055 -19.77,-14.172 -4.13,-3.84 -7.73,-7.598 -10.77,-11.23 v 191.562 h -74.1 V 133.203 h 70.66 v 37.207 c 9.49,-13.847 22.1,-24.707 37.56,-32.336 17.36,-8.582 36.24,-12.937 56.1,-12.937 21.37,0 40.81,4.051 57.79,12.043 16.92,7.976 31.53,18.836 43.41,32.273 11.87,13.438 21.14,29.402 27.55,47.473 6.41,18.054 9.65,37.617 9.65,58.133 0,20.527 -3.35,40 -9.95,57.871"></path><path id="path30" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 2441.16,279.656 c -8.76,6.43 -18.65,11.684 -29.42,15.61 -10.68,3.867 -21.35,6.992 -31.66,9.285 -19.42,4.57 -34.28,9.074 -44.21,13.398 -9.26,4.004 -13.75,10.692 -13.75,20.449 0,9.817 4.07,16.622 12.43,20.801 8.83,4.403 18.72,6.641 29.41,6.641 12.16,0 23.58,-2.902 33.91,-8.613 10.39,-5.762 18.65,-12.61 24.57,-20.34 l 1.63,-2.141 48.68,43.074 -1.45,1.86 c -11.4,14.508 -26.97,25.437 -46.31,32.476 -32.45,11.797 -67.97,13.789 -100.26,5.246 -13.25,-3.507 -25.34,-8.957 -35.89,-16.191 -10.64,-7.293 -19.33,-16.77 -25.82,-28.184 -6.52,-11.464 -9.82,-25.254 -9.82,-40.968 0,-13.407 2.43,-24.84 7.19,-33.973 4.77,-9.133 11.2,-16.863 19.11,-22.988 7.82,-6.075 16.87,-11.043 26.86,-14.766 9.8,-3.66 20.1,-6.691 30.53,-9.016 20.82,-4.921 36.63,-9.898 47.02,-14.793 9.68,-4.589 14.4,-11.953 14.4,-22.507 0,-5.625 -1.22,-10.414 -3.64,-14.211 -2.44,-3.836 -5.73,-6.946 -9.78,-9.239 -4.16,-2.363 -8.77,-4.113 -13.71,-5.207 -4.98,-1.101 -9.93,-1.668 -14.7,-1.668 -14.5,0 -27.87,3.196 -39.72,9.5 -11.91,6.321 -21.71,14.414 -29.13,24.075 l -1.68,2.187 -49.32,-46.191 1.68,-1.817 c 13.62,-14.804 30.99,-26.355 51.61,-34.336 20.57,-7.937 41.99,-11.972 63.67,-11.972 15.05,0 29.88,1.668 44.05,4.968 14.24,3.301 26.92,8.762 37.7,16.204 10.84,7.5 19.63,17.382 26.12,29.375 6.5,12.019 9.8,26.855 9.8,44.089 0,13.801 -2.82,25.743 -8.4,35.5 -5.54,9.688 -12.84,17.891 -21.7,24.383"></path><path id="path32" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 42.9727,23.2617 c 0,5.2227 -3.6446,10.4492 -11.6289,10.4492 H 14.7813 V 13.1055 h 16.5625 c 7.789,0 11.6289,5.2226 11.6289,10.1562 z M 14.7813,62.0039 V 45.1445 h 14.9843 c 6.6992,0 9.7578,4.4336 9.7578,8.6719 0,4.2383 -3.2539,8.1875 -9.2656,8.1875 z M 56.8711,22.2734 C 56.8711,11.0352 48.5938,1.08594 33.9063,1.08594 H 1.47656 V 73.9258 H 32.4258 c 13.8008,0 20.6015,-9.2695 20.6015,-18.1328 0,-6.4063 -3.8437,-12.6172 -9.957,-14.7852 9.3672,-2.4609 13.8008,-10.3555 13.8008,-18.7344"></path><path id="path34" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="M 122.695,26.6094 V 1.08594 H 109.191 V 26.6094 L 84.25,73.9258 h 15.5742 l 16.0708,-33.1172 16.46,33.1172 h 15.473 L 122.695,26.6094"></path><path id="path36" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 243.805,40.5156 h 12.226 c 8.77,0 12.125,5.2149 12.125,10.5469 0,5.5195 -3.648,10.3438 -10.644,10.3438 h -13.707 z m 8.968,-12.125 h -8.968 V 1.08594 H 230.402 V 73.9258 h 27.11 c 16.652,0 24.441,-10.9375 24.441,-22.7656 0,-8.875 -4.633,-17.7422 -15.277,-21.1993 L 285.012,1.08594 H 269.039 L 252.773,28.3906"></path><path id="path38" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 321.742,73.9258 h 48.399 V 61.3086 H 335.25 V 44.1602 h 32.23 V 31.6406 H 335.25 V 13.6992 h 34.891 V 1.08594 H 321.742 V 73.9258"></path><path id="path40" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 426.105,29.7656 h 18.036 L 435.172,54.707 Z M 447.984,17.6445 H 422.16 L 416.148,1.08594 h -14.293 l 28.188,72.83986 h 10.352 L 468.293,1.08594 H 454 l -6.016,16.55856"></path><path id="path42" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 503.16,73.9258 h 13.504 V 13.9922 h 37.457 V 1.08594 H 503.16 V 73.9258"></path><path id="path44" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 627.238,50.3711 c 0,5.8086 -3.847,11.0352 -11.14,11.0352 H 602.887 V 39.1328 h 12.226 c 8.477,0 12.125,5.7188 12.125,11.2383 z m 13.7,-0.1953 c 0,-12.1289 -7.692,-23.3711 -26.219,-23.3711 H 602.887 V 1.08594 H 589.484 V 73.9258 h 26.317 c 17.844,0 25.137,-11.8281 25.137,-23.75"></path><path id="path46" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 689.008,29.7656 h 18.039 L 698.078,54.707 Z M 710.891,17.6445 H 685.063 L 679.055,1.08594 h -14.297 l 28.191,72.83986 h 10.352 L 731.195,1.08594 h -14.289 l -6.015,16.55856"></path><path id="path48" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 759.074,37.4609 c 0,22.1797 17.149,37.7422 38.442,37.7422 12.222,0 23.261,-5.2148 29.57,-12.2148 l -8.969,-9.4649 c -5.226,5.3243 -12.519,8.6719 -20.601,8.6719 -14.098,0 -24.645,-10.4453 -24.645,-24.6367 0,-13.9063 10.25,-24.6484 24.445,-24.6484 7.989,0 15.672,3.5546 20.403,8.3789 v 11.0468 h -21.094 v 11.8243 h 33.516 V 14.6875 C 821.172,5.22266 809.641,0 796.926,0 774.941,0 759.074,15.8672 759.074,37.4609"></path><path id="path50" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 868.848,73.9258 h 48.398 V 61.3086 H 882.355 V 44.1602 h 32.231 V 31.6406 H 882.355 V 13.6992 h 34.891 V 1.08594 H 868.848 V 73.9258"></path><path id="path52" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 2513.13,400.293 h 2.73 c 1.6,0 4,0.066 4,2.805 0,2.664 -2.4,2.8 -4,2.8 h -2.73 z m -6.74,10.809 h 9.2 c 2.81,0 11.08,0 11.08,-8.407 0,-5.273 -3.07,-6.875 -6.07,-7.273 l 6.68,-10.344 h -7.02 l -5.93,10.012 h -1.14 v -10.012 h -6.8 z m 9.54,-32.098 c 9.94,0 18.02,8.476 18.02,18.816 0,10.344 -8.08,18.821 -18.02,18.821 -9.94,0 -18.03,-8.477 -18.03,-18.821 0,-10.34 8.09,-18.816 18.03,-18.816 z m 0,43.641 c 13.68,0 24.82,-11.141 24.82,-24.825 0,-13.679 -11.14,-24.82 -24.82,-24.82 -13.68,0 -24.83,11.141 -24.83,24.82 0,13.684 11.15,24.825 24.83,24.825"></path><path id="path54" style="fill-opacity:1;fill-rule:nonzero;stroke:none" d="m 957.199,60.5273 h 1.766 c 1.035,0 2.582,0.0391 2.582,1.8086 0,1.7188 -1.547,1.8047 -2.582,1.8047 h -1.766 z M 952.852,67.5 h 5.937 c 1.813,0 7.149,0 7.149,-5.4219 0,-3.4062 -1.977,-4.4414 -3.915,-4.6953 l 4.305,-6.668 h -4.519 l -3.836,6.4532 h -0.731 v -6.4532 h -4.39 z m 6.156,-20.7148 c 6.418,0 11.629,5.4726 11.629,12.1484 0,6.6719 -5.211,12.1406 -11.629,12.1406 -6.414,0 -11.629,-5.4687 -11.629,-12.1406 0,-6.6758 5.215,-12.1484 11.629,-12.1484 z m 0,28.164 c 8.828,0 16.015,-7.1836 16.015,-16.0156 0,-8.8281 -7.187,-16.0117 -16.015,-16.0117 -8.828,0 -16.016,7.1836 -16.016,16.0117 0,8.832 7.188,16.0156 16.016,16.0156"></path></g></g></svg></a>
            </div>
          </div>
        </div>
      </div>
    </footer>
  </div>
  <script type="text/javascript">
    //<![CDATA[
    WebForm_InitCallback();
    theForm.oldSubmit = theForm.submit;
    theForm.submit = WebForm_SaveScrollPositionSubmit;
    theForm.oldOnSubmit = theForm.onsubmit;
    theForm.onsubmit = WebForm_SaveScrollPositionOnSubmit;
    //]]>
  </script>
</form>

Text Content

311 Petie Way Gray, TN 37615
(423) 516-8291


Lease Now Schedule a Tour



 * Home
 * Floor Plans
 * Gallery
 * Amenities
 * Location
 * Residents
 * Contact Us


LEASE NOW

Apply Today

 * 
 * 
 * 
 * 
 * 

 1. 1
 2. 2
 3. 3

 * Previous
 * Next






A MODERN LIFESTYLE


MARTIN SQUARE


Location

Gallery

Floor Plans


WELCOME TO MARTIN SQUARE

Experience a higher standard of living when you lease one of these brand-new
three and four bedroom townhouses for rent at Martin Square in Gray, TN.
Sprawled across your expansive floor plan, a range of interior conveniences
promise to deliver an exceptional lifestyle. Create memories in your new home
centered around a modern gourmet kitchen with stylish finishes and a
light-filled living room with upgraded blinds, and enjoy a central location
close to everything. Your dynamic lifestyle starts here. 

CHECK AVAILABILITY:
BEDROOMS
 * 3+ Beds

BATHROOMS
 * 2.5 Baths


SEARCH
 * 
 * 
 * 
 * 
 * 

 
 
 * ●
 * ●
 * ●

STAINLESS STEEL APPLIANCES



MOEN CHROME HARDWARE



LED LIGHT PACKAGE



LVP FLOORING



STAINLESS STEEL APPLIANCES



MOEN CHROME HARDWARE



LED LIGHT PACKAGE



LVP FLOORING



 * 
 * 
 * 
 * 
 * 

 
 
 * ●
 * ●
 * ●


FEATURES WITH STYLE

The path to better days begins at Martin Square. In this vibrant community,
you’ll enjoy every moment in your comfortable house surrounded by features that
complement your style and routine. Let beautiful stainless-steel appliances,
MOEN chrome hardware, a pantry and soft-close cabinetry inspire your culinary
adventures. Play fetch with your pet in your fenced backyard or soak up the sun
as you tend to your potted plants. Easy-to-clean luxury vinyl plank flooring and
a washer and dryer set makes tidying up a breeze. When you’re ready to unwind
for the day, indulge in some self-care in your bathroom with a double vanity and
a tub/shower, or let the stress melt away in your comfortable bedroom featuring
a ceiling fan and walk-in closet.

 

This community has the amenities you want in a neighborhood you’ll love. Best of
all, you’ll enjoy the comfort and space of a modern house without the hassles of
homeownership. This easy lifestyle comes with included professional landscaping,
emergency maintenance and more. 

View All Amenities


DISCOVER GRAY

Located near I-26, this community of townhomes gives you quick access to
Downtown Square in Johnson City and its exciting mix of restaurants, breweries
and shopping centers. Indulge in retail therapy at boutique shops, check out
products from local artisans or find unique gems at the many thrift and antique
stores in the area. From live music at Capone’s to exciting events at Founders
Park, there’s always something new to discover near Gray, TN. Schedule a tour to
learn more about life at Martin Square. 

Explore The Location


WHATS HAPPENING AT MARTIN SQUARE

Facebook Instagram

Martin Square

Lease Now
General

Close




MARTIN SQUARE

311 Petie Way
Gray, TN 37615
(423) 516-8291
Today's Hours: 9:00AM to 6:00PM
Office Hours:
×
 * Monday: 9:00AM to 6:00PM
 * Tuesday: 9:00AM to 6:00PM
 * Wednesday: 9:00AM to 6:00PM
 * Thursday: 9:00AM to 6:00PM
 * Friday: 9:00AM to 6:00PM
 * Saturday: 10:00AM to 5:00PM
 * Sunday: 1:00PM to 5:00PM


GET IN TOUCH

*
*
*

Do not fill out this input form, it is for bot control purposes only.

*
Select Bedrooms 3 Bed /2.5 Bath4 Bed /2.5 Bath
*
-Select Source-Affordable Housing AgencyAirbnbApartment ListApartment
LocatorApartmentRatings.comApartments.comCorporate HousingCraigslist.orgDirect
MailEmployee ReferralEvent MarketingGreystar Property ReferralGreystar.comIn
House TransferLiveWork In AreaLocal Internet ListingsLocal Internet SourceLocal
PublicationMilitary HousingMLS ListingNonPaid ReferralNonPaid SocialOff Site
SignageOnline Business ListingOutboundOutreach MarketingPaid DisplayPaid
EmailPaid SearchPaid SocialPaid VideoPaid Zillow BoostPilot Active AdultPilot
ILSPilot Organic Digital Pilot Paid DigitalPilot ReferralPilot Social and
ReputationPilot Student LivingPilot TraditionalPreferred EmployerProperty
WebsiteRealtor.comRelate 24 7RentMarketplaceResident ReferralSister Property
ReferralStreetEasyStudent HousingWalk InYelp.comZillow Rental NetworkZumper

I have read and agreed to the View Greystar website Privacy Policy. Read More *
* Required Information
Submit







LIKE WHAT YOU SEE?

Make Martin Square Home.


Take A TourLease Now


GET SOCIAL




GET IN TOUCH

Contact Us
(423) 516-8291
311 Petie Way
Gray, TN 37615 Directions
 * Monday: 9:00AM to 6:00PM
 * Tuesday: 9:00AM to 6:00PM
 * Wednesday: 9:00AM to 6:00PM
 * Thursday: 9:00AM to 6:00PM
 * Friday: 9:00AM to 6:00PM
 * Saturday: 10:00AM to 5:00PM
 * Sunday: 1:00PM to 5:00PM


 * Home
 * Floor Plans
 * Gallery
 * Amenities
 * Location
 * Residents
 * Contact Us

Information for disabled persons website (opens in a new tab) Rental assistance
website (opens in a new tab)
No Smoking
Pet Friendly
Copyright © 2024 Martin Square. All Rights Reserved.
 * Disclosures & Licenses
 * DMCA Agent
 * Privacy Policy
 * Privacy Policy of D.R. Horton
 * Do Not Sell My Information


image/svg+xml

Cookies Button
By clicking “Accept All Cookies”, you agree to the storing of cookies on your
device to enhance site navigation, analyze site usage, and assist in our
marketing efforts.
Accept All Cookies
Cookies Settings



PRIVACY PREFERENCE CENTER

When you visit any website, it may store or retrieve information on your
browser, mostly in the form of cookies. This information might be about you,
your preferences or your device and is mostly used to make the site work as you
expect it to. The information does not usually directly identify you, but it can
give you a more personalized web experience. Because we respect your right to
privacy, you can choose not to allow some types of cookies. Click on the
different category headings to find out more and change our default settings.
However, blocking some types of cookies may impact your experience of the site
and the services we are able to offer.
More information
Allow All


MANAGE CONSENT PREFERENCES

STRICTLY NECESSARY COOKIES

Always Active

These cookies are necessary for the website to function and cannot be switched
off in our systems. They are usually only set in response to actions made by you
which amount to a request for services, such as setting your privacy
preferences, logging in or filling in forms. You can set your browser to block
or alert you about these cookies, but some parts of the site will not then work.
These cookies do not store any personally identifiable information.

Cookies Details‎

PERFORMANCE COOKIES

Performance Cookies

These cookies allow us to count visits and traffic sources so we can measure and
improve the performance of our site. They help us to know which pages are the
most and least popular and see how visitors move around the site. All
information these cookies collect is aggregated and therefore anonymous. If you
do not allow these cookies we will not know when you have visited our site, and
will not be able to monitor its performance.

Cookies Details‎

TARGETING COOKIES

Targeting Cookies

These cookies may be set through our site by our advertising partners. They may
be used by those companies to build a profile of your interests and show you
relevant adverts on other sites. They do not store directly personal
information, but are based on uniquely identifying your browser and internet
device. If you do not allow these cookies, you will experience less targeted
advertising.

Cookies Details‎
Back Button


COOKIE LIST



Search Icon
Filter Icon

Clear
checkbox label label
Apply Cancel
Consent Leg.Interest
checkbox label label
checkbox label label
checkbox label label

Reject All Confirm My Choices


Schedule Appointment