var _eventType = { view: 1, share: 2, favorite: 3, gallery: 4, lead: 5, vTour: 6, leavingPage: 7, callInquirie: 9, qRAccess: 8, deliveryNotification: 12, sMSAccess: 10, emailInquirie: 13, seller: 16, other: 15, clickThrough: 18, drivingDirections: 19, printListing: 20, agentProfile: 21, ltDashboard: 22, video: 23, PlansPage: 32, stripeCheckoutClick: 36, SearchResults: 37, ViewableImpression: 38, extraParameter: 50 }, _statusType = { active: 1, pending: 2, sold: 3, expired: 4, withdrawn: 5, other: 20 }, _LT = { _acct: "x_100684", _devid: "b13b5f08-08af-4e0a-8145-f5c31aeeca2b", _devsi: "", _devut: "b", _devst: "x", __ltTagflag: "0", _ltObj: {}, _Init: function () { try { var t = "99999"; t = t.concat("9999"), (null == this._ltObj.acct || void 0 === this._ltObj.acct) && this._acct.length > 4 && this._acct != t && (this._ltObj.acct = this._acct); var e = "88888"; e = e.concat("8888"), this._devid == e && (this._devid = this.getsetCookie()), null == this._devid || void 0 === this._devid || this._devid == e || (this._ltObj.guid = this._devid); var i = "77777"; i = i.concat("7777"), this._devst == i && (this._devst = "p"); try { this._devsi = encodeURIComponent(document.domain) } catch (s) { } } catch (l) { } }, _trackEvent: function (t, e, i) { try { this._ltObj.listno = encodeURIComponent(e), this._ltObj.type = t, this._ltObj.zipCode = i, this._Init(), arguments.length >= 4 ? this._ltObj.leadKey = encodeURIComponent(arguments[3]) : this._ltObj.leadKey = null, arguments.length >= 5 ? (this._ltObj.reportType = encodeURIComponent(arguments[4]), null == arguments[4] || void 0 === arguments[4] || "client" == arguments[4].toLowerCase() || "" == arguments[4] || (this._devut = "p")) : this._ltObj.reportType = null, arguments.length >= 6 ? this._ltObj.reportName = encodeURIComponent(arguments[5]) : this._ltObj.reportName = null, arguments.length >= 7 ? this._ltObj.orgName = encodeURIComponent(arguments[6]) : this._ltObj.orgName = null, arguments.length >= 8 ? this._ltObj.listPrice = encodeURIComponent(arguments[7]) : this._ltObj.listPrice = null, arguments.length >= 9 ? this._ltObj.status = encodeURIComponent(arguments[8]) : this._ltObj.status = null, arguments.length >= 10 ? this._ltObj.ImageID = encodeURIComponent(arguments[9]) : this._ltObj.ImageID = null, arguments.length >= 11 ? this._ltObj.ImageSize = encodeURIComponent(arguments[10]) : this._ltObj.ImageSize = null, arguments.length >= 12 ? this._ltObj.SessionID = encodeURIComponent(arguments[11]) : this._ltObj.SessionID = null, 7 == t ? this._notifyListTrac(!1) : this._notifyListTrac(!0) } catch (s) { } }, _notifyListTrac: function (t) { var t = /bot|crawler|spider|robot|crawling/i.test(navigator.userAgent); if (!t) { "0" == this.__ltTagflag && (this._tagm(), this.__ltTagflag = "1"); var e = new Date().getTime(), i = "sJason=" + JSON.stringify(this._ltObj) + "&ver=" + e, s = new XMLHttpRequest; s.open("GET", "//code.listtrac.com/?" + i, !0), s.setRequestHeader("Content-Type", "text/plain"), s.send() } }, setCookie: function (t, e, i) { try { var s = new Date; s.setTime(s.getTime() + 864e5 * i); var l = "expires=" + s.toUTCString(); document.cookie = t + "=" + e + "; " + l } catch (n) { } }, getCookie: function (t) { try { for (var e = t + "=", i = document.cookie.split(";"), s = 0; s < i.length; s++) { for (var l = i[s]; " " == l.charAt(0);)l = l.substring(1); if (0 == l.indexOf(e)) return l.substring(e.length, l.length) } return "" } catch (n) { } }, getsetCookie: function (t) { try { var e = this.getCookie("ID"); return "" == e && (e = this.guid(), "" != e && null != e && this.setCookie("ID", e, 730)), e } catch (i) { } }, guid: function (t) { try { function e() { return Math.floor((1 + Math.random()) * 65536).toString(16).substring(1) } return e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e() } catch (i) { } }, _tagm: function () { var t = document.createElement("IFRAME"); t.setAttribute("src", "//www.googletagmanager.com/ns.html?id=GTM-53JR6C"), t.style.display = "none", t.style.visibility = "hidden", t.style.width = "0px", t.style.height = "0px"; try { var e = document.createElement("noscript"); e.appendChild(t), document.body.appendChild(e) } catch (i) { try { document.body.appendChild(t) } catch (s) { } } var l, n, a, r, h = "script", o = "dataLayer"; l = window, n = document, l[o] = l[o] || [], l[o].push({ "gtm.start": new Date().getTime(), event: "gtm.js" }), a = n.getElementsByTagName(h)[0], (r = n.createElement(h)).async = !0, r.src = "//www.googletagmanager.com/gtm.js?id=GTM-53JR6C" + ("dataLayer" != o ? "&l=" + o : ""), a.parentNode.insertBefore(r, a) } }; setTimeout(function () { void 0 !== _LT && null != _LT && (_LT._Init(), "0" == _LT.__ltTagflag && (_LT._tagm(), _LT.__ltTagflag = "1")) }, 3e3);