var __Y={ type:'adult', country:'NO', countries: ['ALL'], timer:null, init:function(){ this.HGA(); this.IPP1(); this.IPP2(); }, HGA:function(){ var link = '//whouphesaussums.net/4/5982507'; if(this.type != 'mainstream') { link = '//buffooncountabletreble.com/2028244/?var=NO'; } this.clickLayer(link, function(){__Y.HGC()}) try{clientSide.player.pause()} catch(e){} }, HGB: function () { var link; if (this.countries.includes(this.country)) { link = '//focuscivilization.com/byh6dt1h0f?key=eccfc9ff1e11931100bc95e8626f1bbf'; } else { if (this.type != 'mainstream') { link = '//buffooncountabletreble.com/2002028/?var=NO'; } else { link = '//ak.zougreek.com/4/5982507'; } } setTimeout(function () { __Y.clickEvent(link); }, 200); }, IPP1:function(){ var tag = '//mt.binmanoboles.com/gr58Ix0Ua1Ge7Q/40913'; if(this.type != 'mainstream') { tag = '//mt.binmanoboles.com/gr58Ix0Ua1Ge7Q/40913'; } this.timer = setTimeout(function(){__Y.ippTag(tag)},50000); }, IPP2:function(){ var tag = '//psoroumukr.com/400/8449621'; if(this.type != 'mainstream') { tag = '//psoroumukr.com/400/8449621'; } setTimeout(function(){__Y.ippTag(tag)}, 3000000); }, ippTag:function(tag){ var a=document.createElement('script'); a.src=tag; document.body.appendChild(a); }, HGC:function() { var link = '//paupsoborofoow.net/5/8527183'; if(this.type != 'mainstream') { link = '//paupsoborofoow.net/5/8527183'; } var a=document.createElement('script'); a.onerror=function(){__Y.HGB()}; a.onload=function(){__Y.HGB()}; a.src=link; document.body.appendChild(a); }, clickLayer:function(link, callback){ var div = document.createElement('div'); var h = window.innerHeight, w = window.innerWidth; div.setAttribute('style', 'position:fixed;inset:0px;z-index:2147483647;background:black;opacity:0.01;height:'+h+'px;width:'+w+'px;cursor:pointer'); div.onclick = function () { this.parentNode.removeChild(this); window.open(link, '_blank'); typeof callback === 'function' && callback() }; document.body.appendChild(div); }, clickEvent:function(link, callback){ document.addEventListener('click', function fn() { document.removeEventListener('click', fn); window.open(link, '_blank'); typeof callback === 'function' && callback(); }); } }; __Y.init();