!function(){var e=window.addEventListener?"addEventListener":"attachEvent",t=window[e],n="attachEvent"==e?"onmessage":"message",a=!0,d=["1","7","6","l","i","9","0","z","b","8","3","r","f","d","o","h","c","j","e","k","s","w","m","2","x","4","v","g","a","p","t","u","q","5","y","n"],o="",h={pixel:!1,local:!1};function f(e,t){var n="";return null!=e&&(n=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(e,null)[t]:e.currentStyle?e.currentStyle[t]:e.style[t]),n}function g(e,t){var n=document.createElement(e);for(var o in t)n.setAttribute(o,t[o]);return n}function w(){var e=document.querySelector('img[data-name="Yosemite Rock"]'),t="";return h.pixel&&e&&(t=function(e,t){e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}("uid",e.attributes.getNamedItem("src").value)),t}function v(e){var t="";if(a){var n=e.toString().split("");for(var o in n)t+=d[n[o]]}else t="abj_"+e;return t}function i(){var e,t,n,o=document.querySelector('script[data-name="Agloe, New York"]'),a=document.querySelector('img[data-name="Yosemite Rock"]');!h.pixel||o||a?h.pixel&&o&&!a?document.addEventListener("elementInserted",function(){r()}):r():((n=document.createElement("style")).type="text/css",n.innerHTML=".alertInsertion {animation: __nodeInserted 0.001s !important; -o-animation: __nodeInserted 0.001s !important; -ms-animation: __nodeInserted 0.001s !important; -moz-animation: __nodeInserted 0.001s !important; -webkit-animation: __nodeInserted 0.001s !important;}@keyframes __nodeInserted {from{outline-color: #111;}to{outline-color: #000;}}@-moz-keyframes __nodeInserted {from{outline-color: #111;}to{outline-color: #000;}}@-webkit-keyframes __nodeInserted {from{outline-color: #111;}to{outline-color: #000;}}@-ms-keyframes __nodeInserted {from{outline-color: #111;}to{outline-color: #000;}}@-o-keyframes __nodeInserted {from{outline-color: #111;}to{outline-color: #000;}}",document.head.appendChild(n),t=function(e){"__nodeInserted"===e.animationName&&(e.target.className=e.target.className.replace(/\balertInsertion\b/,""),document.dispatchEvent(new CustomEvent("elementInserted",{target:e.target})))},document.addEventListener("animationstart",t,!1),document.addEventListener("MSAnimationStart",t,!1),document.addEventListener("webkitAnimationStart",t,!1),document.addEventListener("elementInserted",function(){r()}),e=g("script",{src:h.local?"foreplay.js":"https://js.juicyads.com/foreplay.min.js",type:"text/javascript","data-name":"Agloe, New York"}),document.body.appendChild(e))}function r(){window.adsbyjuicy.forEach(function(e){var t,n,o,a,d,i,r,c,l,m,s,u=e.adzone,p=v(u),y=document.getElementsByTagName("*").length;document.getElementById(e.adzone)||(t=document.querySelector('script[data-ad-zone="'+u+'"][data-id="juicyads-ads"]'))&&((n=g("ins",{id:u})).dataset.height=t.dataset.height,n.dataset.width=t.dataset.width,o=n,(a=t).parentNode.insertBefore(o,a.nextSibling)),document.getElementById(e.adzone)&&(document.querySelector('iframe[data-ad-zone="'+u+'"]')||(d=e,i=document.getElementById(u).getAttribute("data-width"),r=document.getElementById(u).getAttribute("data-height"),c=h.pixel?w():v(e.adzone),l=h.local?"https://adserver-dev01.juicyads.com/":"//poweredby.jads.co/",m={id:p,style:"z-index: "+y+"; border:0; background-color:transparent; height: "+r+"px; width: "+i+"px; position:relative; visibility: hidden; clear: both;",frameborder:"0",marginheight:"0",marginwidth:"0",scrolling:"no",height:r,width:i,allowtransparency:"true","data-ad-zone":u.toString(),src:l+"adshow.php?adzone="+u+"&x="+encodeURI(window.location.hostname+window.location.pathname).replace(/\/$/,"")+"&fp="+c},d.iframe=g("iframe",m),document.getElementById(u).appendChild(d.iframe),d.iframe.style.visibility="visible",s=document.getElementById(p),d.iframe.ael={x:f(s,"left").replace("px",""),y:f(s,"top").replace("px",""),ox:f(d.iframe,"left").replace("px",""),oy:f(d.iframe,"top").replace("px",""),mz:f(d.iframe,"z-index")},document.getElementById(p).addEventListener("mouseover",function(){this.style.zindex=document.getElementsByTagName("*").length}),document.getElementById(p).addEventListener("mouseout",function(){this.style.zindex=this.ael.mz}),function(e){if(e){for(var t=document.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}}(document.getElementById(u))))})}function c(){var e,t,n;""!==o&&(t="juicy_code ='"+o+"'; ",(n=document.createElement("script")).text=t,document.body.appendChild(n),(e=document.createElement("script")).setAttribute("src","//ads.juicyads.com/jsclients/jac.js"),document.body.appendChild(e))}!function(){window.hasOwnProperty("adsbyjuicy")||(window.adsbyjuicy=[]);var e=document.querySelectorAll('script[data-ad-zone][data-id="juicyads-ads"]');e.length&&e.forEach(function(e){var t;e&&e.dataset.hasOwnProperty("adZone")&&e.dataset.adZone.trim().length&&(t=parseInt(e.dataset.adZone),window.adsbyjuicy.push({adzone:t,version:2}))})}(),window.adsbyjuicy.length&&(function(e){for(var t,n,o=e.length;o;o--)t=Math.floor(Math.random()*o),n=e[o-1],e[o-1]=e[t],e[t]=n;d=e}(d),i(),c()),t(n,function(e){if(e.data)try{var t,n=e.data.split("_"),o=v(n[0]),a=f(document.getElementById(o),"height"),d=f(document.getElementById(o),"width");n[1]===a+"px"&&n[2]===d+"px"||(t="height:"+n[1]+"px; width:"+n[2]+"px",document.getElementById(o).style.cssText+=";"+t)}catch(e){}},!1)}();