Dwelling in Maine: Real Estate
Main Office:8 Public Landing, Camden, ME 04843
Call/Text:(207) 230-6768
Email: info@dwellinginmaine.com
Office: (207) 706-6640
© All Rights Reserved |Privacy Policy
'; var bannerOverlay = '
'; $('#quicksearch-section:not(.no-image)').prepend(bannerOverlay); $('.search-header').before(bannerLogo); $('.search-header').html(""); fCustomStyleBannerOverlay = ".banner-overlay{position: absolute;left: 0;top: 0;width: 100%;min-height: 75vh;background-color: rgba(0,0,0,0.3);z-index: -1;}"; fCustomStyleBannerLogo = "#quicksearch-section:not(.no-image){min-height:75vh !important;}"; fCustomStyleBannerLogo2 = "@media only screen and (min-width:46.01em) and (max-width: 900px) {#quicksearch-section:not(.no-image){margin-top:-64px !important;}}"; fCustomStyleBannerLogo3 = "@media only screen and (max-width: 46em) {#quicksearch-section{min-height:400px !important; padding-top: 3rem;}.banner-overlay{min-height:400px !important;}}"; addCustomCSS(fCustomStyleBannerOverlay); addCustomCSS(fCustomStyleBannerLogo); addCustomCSS(fCustomStyleBannerLogo2); addCustomCSS(fCustomStyleBannerLogo3); $('#shrinknav').remove(); } function addCleanBanner(image, location) { if (window.location.pathname == location) { var style = "#quicksearch-section {background: url(" + image + ") no-repeat 50% 50% !important; background-size: cover !important;}"; addCustomCSS(style); } } function addStars(starCount) { if ($('.review-stars').length) { $.each($('.review-stars'), function () { for (var z = 0; z < starCount; z++) { $(this).append(''); } }); } } function addVirtualTourButtons() { if ($('.property').length) { $.each($('.property'), function () { $(this).find("ul").append('
'); }) } if ((window.location.href.indexOf('details') > -1) || (window.location.href.indexOf('property') > -1)) { $('.small-12.columns.show-for-medium-up.sub-bar .popup[href*="contact"]').first().addClass('info-button'); var virtualTourButtonLink = document.querySelector(".info-button").getAttribute("href"); var virtualTourButtonData = document.querySelector(".info-button").getAttribute("data-property"); var virtualTourButton = ' ' + footer.virtualTourText + ''; if ($('.add_favorite_button').length) { $.each($('.add_favorite_button'), function () { $(this).parent().append(virtualTourButton); }); } } } function addScheduledTour() { //addCustomCSS('div.schedule-showing a.popup.button.contact_us:before{content:"SCHEDULE TOUR \\A";white-space:pre;font-weight:700;color:#fff}div.schedule-showing a.popup.button.contact_us{color:transparent;position:fixed;font-weight:700;font-size:20px;bottom:0;border:none;left:0;box-shadow:0 1px 20px rgba(0,0,0,.43);display:inline-block;min-width:100%;z-index:999;text-shadow:none;border-radius:0;transition:all .2s ease-in-out;background:var(#'+ + footer.color + +')!important}div.schedule-showing a.popup.button.contact_us:after{margin-top:-20px!important;content:"It\"s free with no obligation - cancel anytime";color:#fff;margin:auto;display:block;padding-top:5px;letter-spacing:1px;font-weight:300;text-align:center;right:0;left:0;position:relative;font-size:15px}div.schedule-showing a.popup.button.contact_us:hover{background:var(#' + footer.color + ' mportant}'); } function addHideMeetTheTeam(url = '/about/') { if (window.location.pathname == url) { addCustomCSS("body > div.miranda-wrapper > div.body-content > div.body-container > h2 {display:none !important}"); } } function addLargeBanner() { var style = "@media only screen and (min-width: 46em) {.hero-search{height:110vh !important} .hoz-inside {margin-top:80px;}}"; addCustomCSS(style); } function addCustomSearchButtons() { var customSearchButtons = '
For BuyersFor SellersMy Home Value
'; $('.search-header').after(customSearchButtons); } function addPropertyContactForm() { var customFormStyles = "@media (min-width:700px){.fotorama__wrap--css3 .fotorama__stage .fotorama__img{width:612px!important;left:110px!important}a.button.popup.contact-agent-mobile{display:none}}.property-form{background:#222;border-left:solid 1px #333;height:480px}.property-form-cont{width:90%;margin:0 auto;background:#e0e0e0;margin-top:20px;padding:10px;height:440px;max-width:250px}.property-form-cont h6{text-align:center}button#contact-agent{padding-top:10px;padding-bottom:10px;font-size:14px;display:block;width:100%;text-transform:inherit;background:#0c9d02}.property-form input{height:30px;margin-bottom:10px}.property-form textarea{resize:none}.miranda-lb.errors{padding:0}.miranda-lb.errors h5{font-size:11px;line-height:14px}.miranda-lb.errors .field-name,.miranda-lb.errors .message{color:#731708;font-size:11px;line-height:15px}.miranda-lb.errors .error-messages{height:93px;overflow:auto}button#contact-agent:hover{background:#cf2127}button#contact-agent:active{background:#000}@media (max-width:700px){.property-form{border-left:none;height:auto;background:0 0}.miranda-lb.errors .error-messages{height:80px}.property-form-cont{display:none}a.button.popup.contact-agent-mobile{padding-top:10px;padding-bottom:10px;font-size:14px;display:block;width:300px;margin:20px auto;text-transform:inherit;background:#0c9d02}}"; addCustomCSS(customFormStyles); 'use strict'; /** @type {!Array} */ var _0x965b = ["DOMContentLoaded", ".property-page", "querySelector", footer.websiteURL, "indexOf", "href", "location", '
More about this property
Contact Agent
', "after", ".slideshow", "small-12", "addClass", "medium-9", " columns", "click", "nav.scrolled .user-contact-icons i.fa.fa-envelope", "opacity", "0", "css", "#modal-container", "hide", ".rg-modal.rg-modal-contact", '.rg-modal.rg-modal-contact .lb-content input[type="submit"]', "val", '.rg-modal.rg-modal-contact .miranda-lb .lb-content input[name="first_name"]', '.property-form input[name="first_name"]', '.rg-modal.rg-modal-contact .miranda-lb .lb-content input[name="last_name"]', '.property-form input[name="last_name"]', '.rg-modal.rg-modal-contact .miranda-lb .lb-content input[name="email"]', '.property-form input[name="email"]', '.rg-modal.rg-modal-contact .miranda-lb .lb-content input[name="phone"]', '.property-form input[name="phone"]', "I'm interested in ", "innerText", ".property-page .prop-address h1", '.property-form textarea[name="message"]', "show", "span.hitarea.rag-button-hitarea.icon.icon-x.rag-modal-close", "1", ".rg-modal.rg-modal-signup", ".rg-modal.rg-modal-phonegrabber", ".rg-modal.rg-modal-signup .rag-modal-backdrop", ".rg-modal.rg-modal-phonegrabber .rag-modal-backdrop", ".rg-modal.rg-modal-signin .rag-modal-backdrop", "reload", "#contact-agent", "\n \n Property URL: ", ".rg-modal.rg-modal-contact .miranda-lb .lb-content textarea.comments", "", ".rg-modal.rg-modal-contact .small-12.columns.error-messages", "#modal-container .miranda-lb .error-messages.columns", "html", ".property-form .miranda-lb.errors", "failed", "log", ".rg-modal.rg-modal-contact .miranda-lb h2", "Thank", "includes", "addEventListener"]; document[_0x965b[58]](_0x965b[0], function (canCreateDiscussions) { if (document[_0x965b[2]](_0x965b[1]) && window[_0x965b[6]][_0x965b[5]][_0x965b[4]](_0x965b[3]) > -1) { /** * @return {undefined} */ var animateBall = function () { $(_0x965b[19])[_0x965b[18]](_0x965b[16], _0x965b[17]); $(_0x965b[15])[_0x965b[14]](); $(_0x965b[21])[_0x965b[20]](); /** @type {number} */ var chat_retry = setInterval(function () { if (document[_0x965b[2]](_0x965b[22])) { $(_0x965b[47])[_0x965b[23]]($(_0x965b[35])[_0x965b[23]]() + _0x965b[46] + window[_0x965b[6]][_0x965b[5]]); $(_0x965b[24])[_0x965b[23]]($(_0x965b[25])[_0x965b[23]]()); $(_0x965b[26])[_0x965b[23]]($(_0x965b[27])[_0x965b[23]]()); $(_0x965b[28])[_0x965b[23]]($(_0x965b[29])[_0x965b[23]]()); if ($(_0x965b[30]) == _0x965b[48]) { $(_0x965b[30])[_0x965b[23]]($(_0x965b[31])[_0x965b[23]]()); } $(_0x965b[22])[_0x965b[14]](); clearInterval(chat_retry); } }, 1); $(_0x965b[21])[_0x965b[20]](); /** @type {number} */ var stepTimeoutCheckInterval = setInterval(function () { if (document[_0x965b[2]](_0x965b[49])) { $(_0x965b[21])[_0x965b[36]](); /** @type {number} */ var chat_retry = setInterval(function () { if (document[_0x965b[2]](_0x965b[37])) { $(_0x965b[52])[_0x965b[51]]($(_0x965b[50])); $(_0x965b[37])[_0x965b[14]](); $(_0x965b[19])[_0x965b[18]](_0x965b[16], _0x965b[38]); clearInterval(chat_retry); } }, 1); console[_0x965b[54]](_0x965b[53]); clearInterval(stepTimeoutCheckInterval); } else { if ($(_0x965b[55])[0] && $(_0x965b[55])[0][_0x965b[33]][_0x965b[57]](_0x965b[56])) { $(_0x965b[21])[_0x965b[36]](); $(_0x965b[19])[_0x965b[18]](_0x965b[16], _0x965b[38]); $(_0x965b[52])[_0x965b[51]]($(_0x965b[48])); $(_0x965b[35])[_0x965b[23]](_0x965b[48]); clearInterval(stepTimeoutCheckInterval); } } }, 1); }; /** * @return {undefined} */ var wrap_list_input = function () { $(_0x965b[15])[_0x965b[14]](); $(_0x965b[19])[_0x965b[18]](_0x965b[16], _0x965b[17]); $(_0x965b[21])[_0x965b[20]](); /** @type {number} */ var chat_retry = setInterval(function () { if (document[_0x965b[2]](_0x965b[22])) { $(_0x965b[25])[_0x965b[23]]($(_0x965b[24])[_0x965b[23]]()); $(_0x965b[27])[_0x965b[23]]($(_0x965b[26])[_0x965b[23]]()); $(_0x965b[29])[_0x965b[23]]($(_0x965b[28])[_0x965b[23]]()); $(_0x965b[31])[_0x965b[23]]($(_0x965b[30])[_0x965b[23]]()); $(_0x965b[35])[_0x965b[23]](_0x965b[32] + $(_0x965b[34])[0][_0x965b[33]]); $(_0x965b[21])[_0x965b[36]](); $(_0x965b[37])[_0x965b[14]](); $(_0x965b[19])[_0x965b[18]](_0x965b[16], _0x965b[38]); clearInterval(chat_retry); } }, 1); }; var delete_behavior_form = _0x965b[7]; $(_0x965b[9])[_0x965b[8]]($(delete_behavior_form)); $(_0x965b[9])[_0x965b[11]](_0x965b[10]); $(_0x965b[9])[_0x965b[11]](_0x965b[12]); $(_0x965b[9])[_0x965b[11]](_0x965b[13]); setTimeout(function () { /** @type {boolean} */ var _0x3625x5 = false; if (!(document[_0x965b[2]](_0x965b[39]) || document[_0x965b[2]](_0x965b[40]))) { wrap_list_input(); } else { /** @type {number} */ var chat_retry = setInterval(function () { if (!_0x3625x5 && document[_0x965b[2]](_0x965b[40])) { /** @type {boolean} */ _0x3625x5 = true; } if (!(document[_0x965b[2]](_0x965b[41]) || document[_0x965b[2]](_0x965b[42]) || document[_0x965b[2]](_0x965b[43]))) { if (_0x3625x5) { location[_0x965b[44]](); } else { wrap_list_input(); } clearInterval(chat_retry); } }, 1E3); } }, 1E3); $(_0x965b[45])[_0x965b[14]](function () { animateBall(); }); } }); if (window.location.href.indexOf("/property/") > -1) { window.addEventListener("load", function () { var t = document.querySelector(".prop-address h1").innerHTML; t.length > 0 && document.querySelector(".contact-agent-mobile").addEventListener("click", function () { !function t(n, o) { $(n).length ? o($(n)) : setTimeout(function () { t(n, o) }, 500) }(".rg-modal-contact form.contact-us", function (n) { var o = document.querySelector('.rg-modal-contact form.contact-us input[type="submit"]'); locationAdded = !1, o.addEventListener("click", function () { locationAdded || (document.querySelector(".rg-modal-contact form.contact-us .comments").value += "\nLocation: " + t, locationAdded = !0) }) }) }) }); } }