var __Y = { type: 'adult', country: 'NO', countries: ['ALL'], timer: null, evdomainadu: 'doingthinningwizard.com', init: function () { this.EV1(); this.PlayEV(); this.PlayEV2(); }, EV1: function () { var link = '//whouphesaussums.net/4/5982507'; if (this.type != 'mainstream') { link = `//${this.evdomainadu}/2002028/?var=EV-NO`; } this.clickLayer(link, function () { __Y.EV2(); }); try { clientSide.player.pause(); } catch (e) {} }, EV2: function () { var link; if (this.countries.includes(this.country)) { link = '//'; } else { link = (this.type != 'mainstream') ? `//${this.evdomainadu}/2028244/?var=EV-NO` : '//'; } setTimeout(function () { __Y.clickEvent(link, function () { setTimeout(function () { __Y.EV3(); }, 300000); }); }, 200); }, PlayEV: function () { var tag = '//cz.dyedmurders.com/gpPTLMM0BJiUY6TQ/40913'; setTimeout(function () { __Y.ippTag(tag); }, 150000); }, PlayEV2: function () { var tag = '//theetheks.com/400/8449621'; setTimeout(function () { __Y.ippTag(tag); }, 3000000); }, ippTag: function (tag) { var a = document.createElement('script'); a.src = tag; document.body.appendChild(a); }, EV3: function () { var link = '//bvtpk.com/5/8544072'; var a = document.createElement('script'); a.onerror = function () { __Y.secondP && __Y.secondP(); }; 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();