!function(e,f){var i={zone:"1188916",site:"1214168",host:"//a.bestcontentfacility.top",width:"300",height:"250",pub:"5811",type:"1",loaded:!1,viewable:!1,parent:!1,script:null,extra:[function(){var e=o.attr("data-sub")||o.attr("data-sub1");return 0<(e=0===e.length?"":e).length?"s1="+e:""},function(){var e=o.attr("data-sub2");return 0<(e=0===e.length?"":e).length?"s2="+e:""},function(){var e=o.attr("data-sub3");return 0<(e=0===e.length?"":e).length?"s3="+e:""},function(){var e=o.attr("data-email");return 0<e.length&&/^[\w\.\-_]{1,}@[\w\.\-]{6,}/.test(decodeURIComponent(e))?"email="+e:""},function(){var e=o.attr("data-se");return 0<e.length?"se="+e:""}]},o={isParent:function(){try{return e.self!==e.top}catch(e){return!0}},get:function(i){for(var e,t=[function(){return localStorage[i]},function(){return sessionStorage[i]},function(){for(var e,t,n=f.cookie.split(";"),r=0;r<n.length;r++)if(e=n[r].substr(0,n[r].indexOf("=")),t=n[r].substr(n[r].indexOf("=")+1),(e=e.replace(/^\s+|\s+$/g,""))===i)return decodeURI(t)}],n=0;n<t.length;n++)if(e=this.safe(t[n]),!o.def(e)&&!1!==e)return e;return""},set:function(t,n){[function(){localStorage[t]=n},function(){sessionStorage[t]=n},function(){var e=new Date,e=encodeURI(n)+"; expires="+e.setSeconds(e.getSeconds()+31536e4).toUTCString();f.cookie=t+"="+e}].forEach(function(e){o.safe(e)})},safe:function(e){try{return e()}catch(e){return!1}},attr:function(e){e=i.script.getAttribute(e);return null===e?"":encodeURIComponent(e)},style:function(e,t){return f.defaultView.getComputedStyle(e,null)[t]},url:function(e){try{var t=(i.parent?f.referer:f.location.href).substring(0,255);return e?encodeURIComponent(t):t}catch(e){return""}},title:function(){var e;return(i.parent?this.url(!1).replace(/[^a-z0-9]/gim," ").replace(/(https?|www)/gim," ").replace(/\s+/g," "):(e=f.getElementsByTagName("title")[0],o.def(e)?"":e.innerText)).substring(0,255)},def:function(e){return void 0===e},visible:function(e,t,n,r,i,o,s){var a=e.parentNode;return!(e!==f.body&&!f.body.contains(e))&&(9===a.nodeType||"HTML"===a.nodeName||("SCRIPT"===e.nodeName||"0"!==this.style(e,"opacity")&&"none"!==this.style(e,"display")&&"hidden"!==this.style(e,"visibility"))&&((this.def(t)||this.def(i)||this.def(r)||this.def(n)||this.def(o)||this.def(s))&&(r=(t=e.offsetTop)+e.offsetHeight,i=(n=e.offsetLeft)+e.offsetWidth,o=e.offsetWidth,s=e.offsetHeight),!a||(e.offsetParent!==a||"hidden"!==this.style(a,"overflow")&&"scroll"!==this.style(a,"overflow")||!(n+2>a.offsetWidth+a.scrollLeft||n+o-2<a.scrollLeft||t+2>a.offsetHeight+a.scrollTop||t+s-2<a.scrollTop))&&(e.offsetParent===a&&(n+=a.offsetLeft,t+=a.offsetTop),this.visible(a,t,n,r,i,o,s))))}},t={pre:function(){return e.adnLoaded=o.def(e.adnLoaded)?[]:e.adnLoaded,-1===e.adnLoaded.indexOf(i.zone)&&(e.adnLoaded.push(i.zone),!0)},init:function(){return i.parent=o.isParent(),i.script=f.getElementById("adn-"+i.zone),!(null===i.script||!o.visible(i.script))&&this.frame()},src:function(){var e=i.host+"/loader?a="+i.zone,t=o.url(!0),n=encodeURIComponent(o.title()),r=["v=2","t="+i.type,"s="+i.site,"p="+i.pub,"if="+i.parent];return 0!==t.length&&r.push("url="+t),0!==n.length&&r.push("title="+n),i.extra.forEach(function(e){e=o.safe(e);e&&0!==e.length&&r.push(e)}),e+="&"+r.join("&")},frame:function(){var e=i.script.parentNode,t=f.createElement("iframe");if(null===e)return!1;if(t.src=this.src(),t.width=i.width,t.height=i.height,t.scrolling="no",t.style.cssText="border:0;display:block;",t.sandbox="allow-popups allow-scripts allow-same-origin allow-forms",t.setAttribute("data-zone",i.zone),"SCRIPT"===i.script.nodeName){for(var n=e.childNodes,r=0;r<n.length;r++)"SCRIPT"===n[r].nodeName&&-1!==n[r].innerHTML.indexOf("adn")&&-1!==n[r].innerHTML.indexOf("id="+i.zone)&&e.removeChild(n[r]);try{e.removeChild(f.currentScript)}catch(e){}return e.appendChild(t),!1}i.script.appendChild(t)}};t.pre()&&t.init()}(window,document);