var dsidx=function(){function u(){var i=n(".post-"+dsidx.contentDomId),r=n("article header"),u=n("article"),t;if(i.length==1||r.length==1||u.length==1){var o=n(".dsidx-results #dsidx-top-search").detach(),f=n("#dsidx-profile-header").detach(),e=n(".dsidx-top-actions").detach();if(!f.length&&!e.length)return;t=n(document.createElement("div")).addClass("dsidx-content-header").append(o).append(f).append(e).append('
<\/div>');i.length==1?i.prepend(t):r.length==1?r.before(t):u.length==1&&u.before(t)}}var r,i={},t={},n=jQuery;return r={useWPAjax:typeof dsidxAjaxHandler!="undefined",bot:/bot|googlebot|crawler|spider|robot|crawling/i.test(navigator.userAgent),dataSets:{},encodedPolygons:{},getVersionId:function(){var i=dsidx.pluginVersion,n,t;return i?(n=i.split("."),n=parseInt(n[0])*1e4+parseInt(n[1])*100+parseInt(n[2]?n[2]:0),t=/\-beta(\d+)$/.exec(i),t&&t[1]&&(n+=parseInt(t[1])/100),arguments.callee=function(){return n},arguments.callee()):null},activate:function(n,r){i[n]=!0;r&&(t[n]=t[n]||[],t[n].push(r))},activateNow:function(n,t){if(typeof dsidx[n]=="function"){var i=dsidx[n]();i&&(dsidx[n]=i)}t&&t()},isActivated:function(n){return i[n]},ExtractValueFromApiData:function(n,t){var r=new RegExp("^\\',"m"),i=r.exec(t);return i?i[1]:null},trackEvent:function(n,t,i){if(typeof zTracking!="undefined"){zTracking.trackEvent(n,t,i);return}typeof _gaq!="undefined"&&_gaq.push(["_trackEvent",n,t,i]);typeof ga!="undefined"&&ga("send","event",n,t,i)},trackPageview:function(n){if(typeof zTracking!="undefined"){zTracking.trackPageview(n);return}typeof _gaq!="undefined"&&_gaq.push(["_trackPageview",n]);typeof ga!="undefined"&&ga("send","pageview",n)},isNumber:function(n,t){var i=n.which?n.which:n.keyCode,r=document.getElementById(t).value;return i!=46&&i>31&&(i<48||i>57)?!1:i==8?!0:i==46&&r.indexOf(".")>0?!1:!0},isDigitOnly:function(n,t){var i=n.which?n.which:n.keyCode,r=document.getElementById(t).value;return i<48||i>57?!1:!0},validateDigitOnlyOnPaste:function(n){var t=(n.clipboardData||window.clipboardData).getData("text");/^\d+$/.test(t)||(n.preventDefault(),n.target.value="")},validateAcers:function(n,t,i){var r=document.getElementById(t).value;if(document.getElementById(n).value=="true"&&r>9999)return alert("Please provide a valid acres range!"),document.getElementById(t).value="",document.getElementById(i).value="",!1},isYear:function(n,t){var i=n.which?n.which:n.keyCode,r=document.getElementById(t).value;return i>31&&(i<48||i>57)?!1:i==8?!0:r.length>3?!1:!0},compareMinMaxPrice_QuickSearch:function(){var n=document.getElementById("idx-q-PriceMin-quick-search"),t=document.getElementById("idx-q-PriceMax-quick-search"),i,r;return n&&t&&n.value&&t.value&&(i=n.value.replace(/[^0-9.-]+/g,""),r=t.value.replace(/[^0-9.-]+/g,""),parseFloat(i)>parseFloat(r))?(alert("Please provide a valid price range!"),n.value="",!1):!0},compareMinMaxPrice_GuidedSearch:function(){var n=document.getElementById("idx-q-PriceMin"),t=document.getElementById("idx-q-PriceMax"),i,r;return n&&t&&n.value&&t.value&&(i=n.value.replace(/[^0-9.-]+/g,""),r=t.value.replace(/[^0-9.-]+/g,""),parseFloat(i)>parseFloat(r))?(alert("Please provide a valid price range!"),n.value="",!1):!0}},n(function(){var r,f;typeof isDsIDXPage!="undefined"&&n(document.body).addClass("dsidx");for(r in i)if(i.hasOwnProperty(r)&&typeof dsidx[r]=="function"&&(dsidx[r]=dsidx[r]()),t.hasOwnProperty(r))for(f=t[r].length;f--;)t[r][f]();typeof tryHeaderBeforePageTitle!="undefined"&&u()}),r}(),DSListTrac;jQuery(function(){dsidx.useWPAjax=typeof dsidxAjaxHandler!="undefined"}); /*! SWFObject v2.2 is released under the MIT License */ dsidx.swfobject=function(){function v(){var i,r,n;if(!c){try{i=t.getElementsByTagName("body")[0].appendChild(h("span"));i.parentNode.removeChild(i)}catch(u){return}for(c=!0,r=w.length,n=0;n0)for(r=0;r0){if(t=u(f),t)if(!g(s[r].swfVersion)||n.wk&&n.wk<312)if(s[r].expressInstall&&ut()){h={};h.data=s[r].expressInstall;h.width=t.getAttribute("width")||"0";h.height=t.getAttribute("height")||"0";t.getAttribute("class")&&(h.styleclass=t.getAttribute("class"));t.getAttribute("align")&&(h.align=t.getAttribute("align"));var p={},a=t.getElementsByTagName("param"),w=a.length;for(c=0;c');y.outerHTML='"+k+"<\/object>";b[b.length]=t.id;v=u(t.id)}else{c=h(f);c.setAttribute("type",p);for(s in t)t[s]!=Object.prototype[s]&&(s.toLowerCase()=="styleclass"?c.setAttribute("class",t[s]):s.toLowerCase()!="classid"&&c.setAttribute(s,t[s]));for(l in r)r[l]!=Object.prototype[l]&&l.toLowerCase()!="movie"&&ii(c,l,r[l]);y.parentNode.replaceChild(c,y);v=c}return v}function ii(n,t,i){var r=h("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function wt(t){var i=u(t);i&&i.nodeName=="OBJECT"&&(n.ie&&n.win?(i.style.display="none",function(){i.readyState==4?ri(t):setTimeout(arguments.callee,10)}()):i.parentNode.removeChild(i))}function ri(n){var t=u(n),i;if(t){for(i in t)typeof t[i]=="function"&&(t[i]=null);t.parentNode.removeChild(t)}}function u(n){var i=null;try{i=t.getElementById(n)}catch(r){}return i}function h(n){return t.createElement(n)}function ui(n,t,i){n.attachEvent(t,i);a[a.length]=[n,t,i]}function g(t){var r=n.pv,i=t.split(".");return i[0]=parseInt(i[0],10),i[1]=parseInt(i[1],10)||0,i[2]=parseInt(i[2],10)||0,r[0]>i[0]||r[0]==i[0]&&r[1]>i[1]||r[0]==i[0]&&r[1]==i[1]&&r[2]>=i[2]?!0:!1}function bt(r,u,o,s){var a,c,l;n.ie&&n.mac||(a=t.getElementsByTagName("head")[0],a)&&(c=o&&typeof o=="string"?o:"screen",s&&(e=null,tt=null),e&&tt==c||(l=h("style"),l.setAttribute("type","text/css"),l.setAttribute("media",c),e=a.appendChild(l),n.ie&&n.win&&typeof t.styleSheets!=i&&t.styleSheets.length>0&&(e=t.styleSheets[t.styleSheets.length-1]),tt=c),n.ie&&n.win?e&&typeof e.addRule==f&&e.addRule(r,u):e&&typeof t.createTextNode!=i&&e.appendChild(t.createTextNode(r+" {"+u+"}")))}function l(n,t){if(vt){var i=t?"visible":"hidden";c&&u(n)?u(n).style.visibility=i:bt("#"+n,"visibility:"+i)}}function kt(n){var t=/[\\\"<>\.;]/.exec(n)!=null;return t&&typeof encodeURIComponent!=i?encodeURIComponent(n):n}var i="undefined",f="object",st="Shockwave Flash",dt="ShockwaveFlash.ShockwaveFlash",p="application/x-shockwave-flash",ht="SWFObjectExprInst",ct="onreadystatechange",r=window,t=document,o=navigator,lt=!1,w=[gt],s=[],b=[],a=[],y,k,nt,at,c=!1,d=!1,e,tt,vt=!0,n=function(){var l=typeof t.getElementById!=i&&typeof t.getElementsByTagName!=i&&typeof t.createElement!=i,e=o.userAgent.toLowerCase(),s=o.platform.toLowerCase(),a=s?/win/.test(s):/win/.test(e),v=s?/mac/.test(s):/mac/.test(e),y=/webkit/.test(e)?parseFloat(e.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):!1,h=!+"\v1",u=[0,0,0],n=null,c;if(typeof o.plugins!=i&&typeof o.plugins[st]==f)n=o.plugins[st].description,!n||typeof o.mimeTypes!=i&&o.mimeTypes[p]&&!o.mimeTypes[p].enabledPlugin||(lt=!0,h=!1,n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),u[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10),u[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10),u[2]=/[a-zA-Z]/.test(n)?parseInt(n.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(typeof r.ActiveXObject!=i)try{c=new ActiveXObject(dt);c&&(n=c.GetVariable("$version"),n&&(h=!0,n=n.split(" ")[1].split(","),u=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]))}catch(w){}return{w3:l,pv:u,wk:y,ie:h,win:a,mac:v}}(),fi=function(){n.w3&&((typeof t.readyState!=i&&t.readyState=="complete"||typeof t.readyState==i&&(t.getElementsByTagName("body")[0]||t.body))&&v(),c||(typeof t.addEventListener!=i&&t.addEventListener("DOMContentLoaded",v,!1),n.ie&&n.win&&(t.attachEvent(ct,function(){t.readyState=="complete"&&(t.detachEvent(ct,arguments.callee),v())}),r==top&&function(){if(!c){try{t.documentElement.doScroll("left")}catch(n){setTimeout(arguments.callee,0);return}v()}}()),n.wk&&function(){if(!c){if(!/loaded|complete/.test(t.readyState)){setTimeout(arguments.callee,0);return}v()}}(),pt(v)))}(),ei=function(){n.ie&&n.win&&window.attachEvent("onunload",function(){for(var r,i,u,f,e=a.length,t=0;t1?t.replace(n.photoRegex,n.retinaSuffix):t}function bi(n){"contains"in u[0]&&!u[0].contains(n.target)&&(n.stopPropagation(),u.focus())}function ki(){var t,i=n.data(v,w);i==null?(r=n.extend({},kt),console&&console.log&&console.log("Error: cboxElement missing settings object")):r=n.extend({},i);for(t in r)n.isFunction(r[t])&&t.slice(0,2)!=="on"&&(r[t]=r[t].call(v));r.rel=r.rel||v.rel||n(v).data("rel")||"nofollow";r.href=r.href||n(v).attr("href");r.title=r.title||v.title;typeof r.href=="string"&&(r.href=n.trim(r.href))}function ft(i,r){n(t).trigger(i);ut.trigger(i);n.isFunction(r)&&r.call(v)}function nr(){var l,n=h+"Slideshow_",i="click."+h,f,e,o,t;r.slideshow&&c[1]?(f=function(){clearTimeout(l)},e=function(){(r.loop||c[a+1])&&(l=setTimeout(s.next,r.slideshowSpeed))},o=function(){st.html(r.slideshowStop).unbind(i).one(i,t);ut.bind(gt,e).bind(dt,f).bind(ni,t);u.removeClass(n+"off").addClass(n+"on")},t=function(){f();ut.unbind(gt,e).unbind(dt,f).unbind(ni,t);st.html(r.slideshowStart).unbind(i).one(i,function(){s.next();o()});u.removeClass(n+"on").addClass(n+"off")},r.slideshowAuto?o():t()):u.removeClass(n+"off "+n+"on")}function bt(i){if(!at){if(v=i,ki(),c=n(v),a=0,r.rel!=="nofollow"&&(c=n("."+et).filter(function(){var t=n.data(this,w),i;return t&&(i=n(this).data("rel")||t.rel||this.rel),i===r.rel}),a=c.index(v),a===-1&&(c=c.add(v),a=c.length-1)),b.css({opacity:parseFloat(r.opacity),cursor:r.overlayClose?"pointer":"auto",visibility:"visible"}).show(),hi&&u.add(b).removeClass(hi),r.className&&u.add(b).addClass(r.className),hi=r.className,r.closeButton?pt.html(r.close).appendTo(p):pt.appendTo("
"),!nt){if(nt=lt=!0,u.css({visibility:"hidden",display:"block"}),l=e(o,"LoadedContent","width:0; height:0; overflow:hidden"),p.css({width:"",height:""}).append(l),d=ii.height()+fi.height()+p.outerHeight(!0)-p.height(),g=ri.width()+ui.width()+p.outerWidth(!0)-p.width(),tt=l.outerHeight(!0),it=l.outerWidth(!0),r.w=y(r.initialWidth,"x"),r.h=y(r.initialHeight,"y"),s.position(),nr(),ft(gi,r.onOpen),si.add(ei).hide(),u.focus(),r.trapFocus&&t.addEventListener){t.addEventListener("focus",bi,!0);ut.one(ti,function(){t.removeEventListener("focus",bi,!0)})}if(r.returnFocus)ut.one(ti,function(){n(v).focus()})}ir()}}function di(){!u&&t.body&&(li=!1,k=n(i),u=e(o).attr({id:w,"class":n.support.opacity===!1?h+"IE":"",role:"dialog",tabindex:"-1"}).hide(),b=e(o,"Overlay").hide(),yt=n([e(o,"LoadingOverlay")[0],e(o,"LoadingGraphic")[0]]),rt=e(o,"Wrapper"),p=e(o,"Content").append(ei=e(o,"Title"),oi=e(o,"Current"),ct=n('