var isRfrsh_ovrlay = document.getElementById('vertoz_timmed_overlay_container') !== null; var contnueExecutn = true; if (window.vzManualClose) { contnueExecutn = false; } if (contnueExecutn) { function onScreen(t,e){ var _=window.vOb.V_h/2/2,o=DOb.ht-_;return e.B_f<=t.V_b&&e.F_t>=t.V_t?ps=e.F_t>=t.V_t&&e.B_f<_?'1':e.F_t>=t.V_t&&e.R_f<=lS&&e.L_f>=t.V_t||e.F_t>=t.V_t&&e.L_f>rS&&e.R_f=t.V_b?ps=e.R_f<=lS&&e.L_f>=t.V_t||e.L_f>=rS&&e.R_f=e.F_t&&e.B_f-buf>t.V_t,ps=pV?e.F_t>=t.V_t&&e.R_f<=lS&&e.L_f>=t.V_t||e.F_t>=t.V_t&&e.L_f>=rS&&window.aOb.R_f<=t.V_w?'6':'1':e.R_f<=lS&&e.L_f>=t.V_t||e.L_f>=rS&&e.R_f<=t.V_w?'6':'3')}var p=0,eP='',isInsideIframe=!1,ps=0,buf,pV,t_of_p;try{ if(p==0){aOb={},vOb={},DOb={};var par=(eP=function(){var t=document.getElementsByTagName('script');return t[t.length-1]}()).parentNode;t_of_p=eP.parentNode.nodeName;var adW=eP.getAttribute('adw'),adH=eP.getAttribute('adh');if('HEAD'==t_of_p)p='1';else{var bd=window.top.document.body,h=window.top.document.documentElement;if(DOb.top=window.top.screenY,DOb.wt=window.outerWidth,DOb.ht=Math.max(bd.scrollHeight,bd.offsetHeight,bd.getBoundingClientRect().height,h.clientHeight,h.scrollHeight,h.offsetHeight),vOb.V_t=window.top.pageYOffset,vOb.V_h=window.top.innerHeight,vOb.V_w=window.top.innerWidth,vOb.V_b=vOb.V_t+vOb.V_h,'IFRAME'==t_of_p)console.log('IFRAME'),aOb.F_t=frameElement.offsetTop,aOb.L_f=frameElement.offsetLeft;else{var wrp=document.createElement('div');wrp.id='IXJ647795VC4C1B4-rfsh';par.replaceChild(wrp,eP),wrp.appendChild(eP);var s_prt=eP.parentNode;aOb.L_f=s_prt.getBoundingClientRect().left-window.scrollX,aOb.F_t=s_prt.getBoundingClientRect().top-window.scrollY}aOb.R_f=aOb.L_f+adW,aOb.B_f=aOb.F_t+adH;var horzCenter=vOb.V_w/2,lS=horzCenter/2,rS=vOb.V_w-lS;onScreen(vOb,aOb),p=ps}}}catch(t){console.log('err')}function getCurrentScript(){ return function() {for (var a = document.getElementsByTagName('script'), scrLen = a.length - 1; 0 <= scrLen; scrLen--) {var scr = a[scrLen], scrSrc;try{ scrSrc = scr.src;}catch(f){continue;}var isFirstCall = (scrSrc.indexOf('vzId') != -1 && scrSrc.indexOf('scripts/ad') == -1);var vzId = (scrSrc.substr(scrSrc.indexOf('?')+1, scrSrc.length).split('&')[0]).split('=')[1];if(isFirstCall && vzId === 'IXJ647795VC4C1B4' && scr.getAttribute('data_vz_started') != true){return scr.setAttribute('data_vz_started','true'), scr};}return null;}();};var vz_ad_width=0;var vz_ad_height=0;var vz_offset_adwidth=0;var vz_offset_adheight=0;var inFrame=window.location !== window.parent.location;var vz_pageConfig = {mobile: {breakpoint: 480},tablet: {breakpoint: 728},desktop: {breakpoint: false}};function vz_setContext(screenWidth) {var mobile = vz_pageConfig.mobile.breakpoint,tablet = vz_pageConfig.tablet.breakpoint,type;if (screenWidth <= mobile) {type = 'mobile';} else if (screenWidth > mobile && screenWidth <= tablet) {type = 'tablet'; } else {type = 'desktop';}return type;}var vz_screenWidth= document.documentElement.clientWidth ||window.innerWidth ||document.body.clientWidth ||document.body.offsetWidth;var vz_screenContext = vz_setContext(vz_screenWidth);if (vz_screenContext=="mobile"&&vz_ad_width>=480&&inFrame==false){vz_offset_adwidth=320;vz_offset_adheight=50;}else if (vz_screenContext=="tablet"&&vz_ad_width>=728&&inFrame==false){vz_offset_adwidth=468;vz_offset_adheight=60;}else{vz_offset_adwidth=vz_ad_width;vz_offset_adheight=vz_ad_height;} setTimeout(()=>{ (function() { var vurl = window.top.location.href; if (vurl.indexOf('#spotix') > 1) { var vertoz = document.querySelectorAll("iframe"); for (var i = 0; i <= vertoz.length; i++) { if (vertoz[i].id.slice(0, 10) == 'vertozuid_') { if (vertoz[i].contentWindow.parent.frameElement == null) { var style = document.createElement('style'); var keyframes = `@keyframes blink{0%,100%{border-color:red}25%{border-color:#ff0}50%{border-color:#00f}75%{border-color:green}}`; style.innerHTML = keyframes; vertoz[i].appendChild(style); vertoz[i].style.border = '8px solid' vertoz[i].style.animation = 'blink 2s infinite'; } else { var childIframeID = vertoz[i].contentWindow.parent; var idd = childIframeID.frameElement; var style2 = document.createElement('style'); var keyframes2 = `@keyframes blink{0%,100%{border-color:red}25%{border-color:#ff0}50%{border-color:#00f}75%{border-color:green}}`; style2.innerHTML = keyframes2; idd.appendChild(style2); idd.style.border = '8px solid' idd.style.animation = 'blink 2s infinite'; } } } } } )(); } , 10000); window.vzAutoRefreshEnabled = false; window.vzAutoRefreshTime = 0; window.vzManualClose = window.vzManualClose || false; window.vzAdLoading = window.vzAdLoading || false; window.vzRefreshCount = window.vzRefreshCount || 0; window.noAutoButAutoClose = false; window.vznoAutobutAtclseTime = 0; function cleanupForRefresh() { if (window.googletag && window.googletag.cmd) { try { window.googletag.cmd.push(function () { window.googletag.destroySlots(); }); } catch (e) { } } var elementsToClean = [ 'vertoz_timmed_overlay_container', 'm_vz_if', 'vz_if' ]; elementsToClean.forEach(function (id) { var el = document.getElementById(id); if (el) el.remove(); }); document.querySelectorAll('iframe[id^="google_ads_iframe"]').forEach(function (iframe) { iframe.remove(); }); } function refreshOverlayAd() { if (window.vzManualClose || window.vzAdLoading) { return; } window.vzAdLoading = true; window.vzRefreshCount++; cleanupForRefresh(); var existingScript = document.querySelector('script[src*="overlay.js"]'); if (existingScript) { existingScript.remove(); } var script = document.createElement('script'); script.src = '//banner.incrementxserv.com/scripts/overlayads.js?vzId=IXJ647795VC4C1B4&autoR=1&vzR=' + new Date().getTime(); script.async = true; script.onload = function () { setTimeout(function () { createAdElements(); setTimeout(function () { loadIframeScript(); }, 500); }, 1000); }; script.onerror = function () { window.vzAdLoadingMarietta(); }; document.body.appendChild(script); } function enhancedOverlayClose(isManual) { var elmnt = document.getElementById('vertoz_timmed_overlay_container'); if (elmnt) { elmnt.remove(); } if (window.vzAutoCloseTimer) { clearTimeout(window.vzAutoCloseTimer); window.vzAutoCloseTimer = null; } if (window.vzCountdownTimer) { clearInterval(window.vzCountdownTimer); window.vzCountdownTimer = null; } window.vzAdLoading = false; if (isManual) { window.vzManualClose = true; return; } if (window.vzAutoRefreshEnabled && !window.vzManualClose) { setTimeout(function () { if (!window.vzManualClose) { refreshOverlayAd(); } }, 5000); } } function handleNoFillRefresh() { if (window.vzAutoCloseTimer) { clearTimeout(window.vzAutoCloseTimer); window.vzAutoCloseTimer = null; } if (window.vzCountdownTimer) { clearInterval(window.vzCountdownTimer); window.vzCountdownTimer = null; } window.vzAdLoading = false; if (window.vzAutoRefreshEnabled && !window.vzManualClose) { setTimeout(function () { if (!window.vzManualClose) { refreshOverlayAd(); } }, 5000); } } window.vzEnhancedClose = enhancedOverlayClose; window.vzHandleNoFill = handleNoFillRefresh; function createAdElements() { if (document.getElementById('m_vz_if')) { return; }var ck = document.cookie.replace(/(?:(?:^|.*;\s*)reqUrl\s*\=\s*([^;]*).*$)|^.*$/, '$1');var loc = ck; if(loc == null || loc == ''){loc = window.location.href; } var position=0;var mifDiv =document.createElement('div'); mifDiv.setAttribute('id', 'm_vz_if'); var r = encodeURIComponent(document.referrer); var mSrc =document.createElement('div'); mSrc.setAttribute('id', 'vertoz-timmed-overlay-ad'); var timestamp = new Date().getTime(); var refreshSuffix = window.vzRefreshCount > 0 ? '_r' + window.vzRefreshCount + '_' + timestamp : '';var secondServRes = `
`; mSrc.setAttribute('srcdoc', secondServRes); mSrc.setAttribute('SRVNAME','//banner.incrementxserv.com/'); mifDiv.appendChild(mSrc); document.body.appendChild(mifDiv); } function loadIframeScript() { if (document.getElementById('vz_if')) { return; } var ifDiv = document.createElement('div'); ifDiv.setAttribute('id', 'vz_if'); var s = document.createElement('script'); var autoRValue = window.vzRefreshCount > 0 ? '1' : '0'; s.src = '//banner.incrementxserv.com/ixads/images/t_o.frame.js?autoR=' + (autoRValue) + '&refreshCount=' + window.vzRefreshCount + '×tamp=' + new Date().getTime(); s.onload = function () { }; s.onerror = function () { window.vzAdLoading = false; }; ifDiv.appendChild(s); var vz_style = document.createElement('style'); vz_style.type = 'text/css'; vz_style.innerHTML = '#vertoz_timmed_overlay_addbannerarea {position: absolute;top:50%;left:50%;z-index: 2147483647;margin:0px;transform: translate(-50%, -50%);}.vertoz_timmed_overlay_adbox {height: auto;margin: 0px auto;text-align: center;line-height: 90px;font-size: 35px;color: #ffffff;z-index: 2147483647;}#vertoz_timmed_overlay_container { background-color: rgba(0, 0, 0, 0.5); bottom:0;left:0;position:fixed;right:0;top:0;z-index: 2147483647;}.vertoz-timmed-fade-out{opacity: 0;animation: fadeOut 0.8s ease-in 3s forwards;}.vertoz_timmed_overlay_adbox iframe{margin:0 !important;padding:0 !important;} @-webkit-keyframes fadeOut { from { opacity:1; } to { opacity:0; } } @-moz-keyframes fadeOut { from { opacity:1; } to { opacity:0; } } @keyframes fadeOut { from { opacity:1; } to { opacity:0; } } .vertoz-timmed-fade-in{opacity: 0;animation: fadeIn 0.8s ease-in 3s forwards;} @-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } @-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } } @keyframes fadeIn { from { opacity:0; } to { opacity:1; } } .vertoz_timmed_overlay_ad_close{position:absolute;top:-22px;right:0;z-index:999999;background-color:#000;font-weight:700;font-family:Arial;color:#fff;font-size:15px;padding:1px 5px;text-decoration:none;text-transform:uppercase;cursor:pointer} .close-button{color:#fff !important;display:inline-block;animation:3s linear infinite spinAndPause} @keyframes spinAndPause{0%,100%,66.67%{transform:rotate(0)}33.33%,66.66%{transform:rotate(360deg)}} .close-button:hover{animation-play-state:paused} .vertoz_text_countdown{position:fixed;top:15px;right:15px;background-color:rgba(0,0,0,0.75);color:#fff;font-family:Arial,sans-serif;font-size:14px;font-weight:bold;padding:6px 12px;border-radius:4px;z-index:2147483647;box-shadow:0 2px 5px rgba(0,0,0,0.3);animation:pulse 1s infinite;}@keyframes pulse{0%{opacity:0.8}50%{opacity:1}100%{opacity:0.8}}'; ifDiv.appendChild(vz_style); document.body.appendChild(ifDiv); } createAdElements(); loadIframeScript(); var jsLnk = document.createElement('script'); jsLnk.src = 'https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js'; jsLnk.integrity = 'sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM'; jsLnk.crossOrigin = 'anonymous'; document.body.appendChild(jsLnk); window.vzForceRefresh = function () { window.vzManualClose = false; window.vzAdLoading = false; refreshOverlayAd(); }; window.vzStopRefresh = function () { window.vzManualClose = true; window.vzAutoRefreshEnabled = false; }; }