Cute Galleries




Cute Galleries




Cute Galleries


All Categories





Top Free Sites




(function() { //version 1.0.0 var adConfig = { "ads_host": "a.pemsrv.com", "syndication_host": "s.pemsrv.com", "idzone": 5451924, "popup_fallback": false, "popup_force": false, "chrome_enabled": true, "new_tab": false, "frequency_period": 720, "frequency_count": 1, "trigger_method": 3, "trigger_class": "", "trigger_delay": 0, "capping_enabled": true, "only_inline": false }; window.document.querySelectorAll||(document.querySelectorAll=document.body.querySelectorAll=Object.querySelectorAll=function(e,o,t,i,n){var r=document,c=r.createStyleSheet();for(n=r.all,o=[],t=(e=e.replace(/\[for\b/gi,"[htmlFor").split(",")).length;t--;){for(c.addRule(e[t],"k:v"),i=n.length;i--;)n[i].currentStyle.k&&o.push(n[i]);c.removeRule(0)}return o});var popMagic={version:2,cookie_name:"",url:"",config:{},open_count:0,top:null,browser:null,venor_loaded:!1,venor:!1,configTpl:{ads_host:"",syndication_host:"",idzone:"",frequency_period:720,frequency_count:1,trigger_method:1,trigger_class:"",popup_force:!1,popup_fallback:!1,chrome_enabled:!0,new_tab:!1,cat:"",tags:"",el:"",sub:"",sub2:"",sub3:"",only_inline:!1,trigger_delay:0,capping_enabled:!0,cookieconsent:!0},init:function(e){if(void 0!==e.idzone&&e.idzone){void 0===e.customTargeting&&(e.customTargeting=[]),window.customTargeting=e.customTargeting||null;var o,t=Object.keys(e.customTargeting).filter(function(e){return 0<=e.search("ex_")});for(o in t.length&&t.forEach(function(e){return this.configTpl[e]=null}.bind(this)),this.configTpl)Object.prototype.hasOwnProperty.call(this.configTpl,o)&&(void 0!==e[o]?this.config[o]=e[o]:this.config[o]=this.configTpl[o]);void 0!==this.config.idzone&&""!==this.config.idzone&&(!0!==this.config.only_inline&&this.loadHosted(),this.addEventToElement(window,"load",this.preparePop))}},getCountFromCookie:function(){var e;return!this.config.cookieconsent||(e=void 0===(e=popMagic.getCookie(popMagic.cookie_name))?0:parseInt(e),isNaN(e))?0:e},getLastOpenedTimeFromCookie:function(){var e=popMagic.getCookie(popMagic.cookie_name),o=null;return void 0!==e&&(o=0<(e=e.split(";")[1])?parseInt(e):0),o=isNaN(o)?null:o},shouldShow:function(){var e,o,t,i;return popMagic.config.capping_enabled?!(popMagic.open_count>=popMagic.config.frequency_count||(e=popMagic.getCountFromCookie(),o=popMagic.getLastOpenedTimeFromCookie(),t=Math.floor(Date.now()/1e3),i=o+popMagic.config.trigger_delay,o&&t=popMagic.config.frequency_count):0===popMagic.open_count},venorShouldShow:function(){return popMagic.venor_loaded&&"0"===popMagic.venor},setAsOpened:function(e){var e=e?e.target||e.srcElement:null,o={id:"",tagName:"",classes:"",text:"",href:"",elm:""},e=(void 0!==e&&null!=e&&(o={id:void 0!==e.id&&null!=e.id?e.id:"",tagName:void 0!==e.tagName&&null!=e.tagName?e.tagName:"",classes:void 0!==e.classList&&null!=e.classList?e.classList:"",text:void 0!==e.outerText&&null!=e.outerText?e.outerText:"",href:void 0!==e.href&&null!=e.href?e.href:"",elm:e}),new CustomEvent("creativeDisplayed-"+popMagic.config.idzone,{detail:o}));document.dispatchEvent(e),popMagic.config.capping_enabled?(o=1,o=0!==popMagic.open_count?popMagic.open_count+1:popMagic.getCountFromCookie()+1,e=Math.floor(Date.now()/1e3),popMagic.config.cookieconsent&&popMagic.setCookie(popMagic.cookie_name,o+";"+e,popMagic.config.frequency_period)):++popMagic.open_count},loadHosted:function(){var e,o=document.createElement("script");for(e in o.type="application/javascript",o.async=!0,o.src="//"+this.config.ads_host+"/popunder1000.js",o.id="popmagicldr",this.config)Object.prototype.hasOwnProperty.call(this.config,e)&&"ads_host"!==e&&"syndication_host"!==e&&o.setAttribute("data-exo-"+e,this.config[e]);var t=document.getElementsByTagName("body").item(0);t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o)},preparePop:function(){if("object"!=typeof exoJsPop101||!Object.prototype.hasOwnProperty.call(exoJsPop101,"add")){if(popMagic.top=self,popMagic.top!==self)try{top.document.location.toString()&&(popMagic.top=top)}catch(e){}if(popMagic.cookie_name="zone-cap-"+popMagic.config.idzone,popMagic.config.capping_enabled||(document.cookie=popMagic.cookie_name+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/"),popMagic.shouldShow()){var e=new XMLHttpRequest,o=(e.onreadystatechange=function(){e.readyState==XMLHttpRequest.DONE&&(popMagic.venor_loaded=!0,200==e.status?popMagic.venor=e.responseText:popMagic.venor="0")},"https:"!==document.location.protocol&&"http:"!==document.location.protocol?"https:":document.location.protocol);e.open("GET",o+"//"+popMagic.config.syndication_host+"/venor.php",!0);try{e.send()}catch(e){popMagic.venor_loaded=!0}}popMagic.buildUrl(),popMagic.browser=popMagic.browserDetector.getBrowserInfo(),!popMagic.config.chrome_enabled&&popMagic.browser.isChrome||(o=popMagic.getPopMethod(popMagic.browser),popMagic.addEvent("click",o))}},getPopMethod:function(e){return popMagic.config.popup_force||popMagic.config.popup_fallback&&e.isChrome&&68<=e.version&&!e.isMobile?popMagic.methods.popup:!e.isMobile&&e.isChrome?popMagic.methods.chromeTab:popMagic.methods.default},buildUrl:function(){var o,e="https:"!==document.location.protocol&&"http:"!==document.location.protocol?"https:":document.location.protocol,t=top===self?document.URL:document.referrer,i={type:"inline",name:"popMagic",ver:this.version},n="";customTargeting&&Object.keys(customTargeting).length&&("object"==typeof customTargeting?Object.keys(customTargeting):customTargeting).forEach(function(e){"object"==typeof customTargeting?o=customTargeting[e]:Array.isArray(customTargeting)&&(o=scriptEl.getAttribute(e));e=e.replace("data-exo-","");n+=`&${e}=`+o}),this.url=e+"//"+this.config.syndication_host+"/splash.php?cat="+this.config.cat+"&idzone="+this.config.idzone+"&type=8&p="+encodeURIComponent(t)+"&sub="+this.config.sub+(""!==this.config.sub2?"&sub2="+this.config.sub2:"")+(""!==this.config.sub3?"&sub3="+this.config.sub3:"")+"&block=1&el="+this.config.el+"&tags="+this.config.tags+"&cookieconsent="+this.config.cookieconsent+"&scr_info="+(e=>(e=e.type+"|"+e.name+"|"+e.ver,encodeURIComponent(btoa(e))))(i)+n},addEventToElement:function(e,o,t){e.addEventListener?e.addEventListener(o,t,!1):e.attachEvent?(e["e"+o+t]=t,e[o+t]=function(){e["e"+o+t](window.event)},e.attachEvent("on"+o,e[o+t])):e["on"+o]=e["e"+o+t]},addEvent:function(e,o){var t;if("3"==popMagic.config.trigger_method)for(t=document.querySelectorAll("a"),r=0;r
Copyright © Bul's Traffic. All rights reserved. Webmasters: Traffic Trade