(function() { var callscript = { getppid:function(){ googletag = window.googletag || {cmd: []}; //var googletag = window.googletag || (window.googletag = []); //googletag.cmd = (googletag.cmd || []); //console.log(googletag.pubads()); //googletag.enableServices(); //googletag.pubads().setPublisherProvidedId('kl3up5ered6ih7ngjcqdoshlje'); googletag.cmd.push(function() { //googletag.pubads().setPublisherProvidedId(callscript.cachebuster()); googletag.pubads().setPublisherProvidedId('kl3up5ered6ih7ngjcqdoshlje'); }); }, async:function (u, c) { var d = document, t = 'script', o = d.createElement(t), s = d.getElementsByTagName(t)[0]; o.src = u; if (c) { o.addEventListener('load', function (e) { c(null, e); }, false); } //s.parentNode.insertBefore(o, s); d.body.appendChild(o); }, cachebuster(){ return ( Math.round(new Date().getTime() / 1000) ); }, callad:function(){ this.async('https://www.googletagservices.com/tag/js/gpt.js',this.getppid()); } }; callscript.callad(); })(); function smq_cm_getCookie(cName) { const name = cName + "="; const cDecoded = decodeURIComponent(document.cookie); //to be careful const cArr = cDecoded.split('; '); let res; cArr.forEach(val => { if (val.indexOf(name) === 0) res = val.substring(name.length); }) return res } (function(){ if(window.location.href.indexOf("12-12-the-day")>0){ var ins_div = document.createElement('div'); ins_div.innerHTML = ''; //var ins_parent = document.querySelectorAll('#sidebar > aside'); //var ins_parent = document.querySelectorAll('#respond'); var ins_parent = document.querySelectorAll('article'); //var a=document.querySelectorAll('#respond')[0];var a_div = document.createElement('div');,a.parentNode.insertBefore(a_div,a); //if(ins_parent.length>0){ // ins_parent[2].appendChild(ins_div); if(ins_parent.length>0){ //ins_parent[0].parentNode.insertBefore(ins_div,ins_parent[0]); ins_parent[0].appendChild(ins_div); !function(v,t,o){var a=t.createElement("script");a.src="https://ad.vidverto.io/vidverto/js/aries/v1/invocation.js",a.setAttribute("fetchpriority","high"); var r=v.top;r.document.head.appendChild(a),v.self!==v.top&&(v.frameElement.style.cssText="width:0px!important;height:0px!important;"),r.aries=r.aries||{},r.aries.v1=r.aries.v1||{commands:[]}; var c=r.aries.v1;c.commands.push((function(){var d=document.getElementById("_vidverto-558fc2d546e7b948d0171bd41acd3158"); d.setAttribute("id",(d.getAttribute("id")+(new Date()).getTime()));var t=v.frameElement||d;c.mount("10112",t,{width:720,height:405})}))}(window,document); } } })(); var _smq = _smq || []; _smq.push(['_setAccount', 'ba0cb8', new Date()]); _smq.push(['pageview']); var _smq_cm_id = '10001'; if(smq_cm_getCookie('lucysession')){ _smq_cm_id = smq_cm_getCookie('lucysession'); } (function() { var sm = document.createElement('script'); sm.type = 'text/javascript'; sm.async = true; sm.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.lndata.com/collect.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sm, s); var lnpa = document.createElement('img'); lnpa.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'v.lndata.com/i/a80486,b1453239,c4087,i0,m202,h'; var lnpt = document.createElement('img'); lnpt.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'v.lndata.com/i/a80486,b1453238,c4007,i0,m202,h'; var lnpc = document.createElement('img'); lnpc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'v.lndata.com/i/a80486,b1453240,c4137,i0,m202,h'; var lnpe = document.createElement('img'); lnpe.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'v.lndata.com/i/a80486,b1453241,c4138,i0,m202,h'; var cm = document.createElement('img'); lnpe.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cm.lndata.com/?tid=3835&uid='+_smq_cm_id; })();