(function(exoDynamicParams){(function(){"use strict";function ExoSupport(){var ua=window.navigator.userAgent;this.features={'webp':true,'mp4':true};this.features['webp']=browserSupportsWebp(ua);this.features['mp4']=browserSupportsMp4(ua)}function browserSupportsWebp(userAgent){var isUnsupportedIE=userAgent.match(/MSIE/)||userAgent.match(/rv:11/);var isUnsupportedFirefox=userAgent.match(/Firefox\/(\d+)/)?parseInt(userAgent.match(/Firefox\/(\d+)/)[1])<=64:false;var isUnsupportedSafari=userAgent.match(/Version\/(\d+)/)?parseInt(userAgent.match(/Version\/(\d+)/)[1])<=15:false;var isUnsupportedChrome=userAgent.match(/Chrome\/(\d+)/)?parseInt(userAgent.match(/Chrome\/(\d+)/)[1])<=8:false;var isUnsupportedEdge=userAgent.match(/Edge\/(\d+)/)?parseInt(userAgent.match(/Edge\/(\d+)/)[1])<=17:false;if(isUnsupportedIE||isUnsupportedFirefox||isUnsupportedSafari||isUnsupportedChrome||isUnsupportedEdge){var elem=document.createElement('canvas');return(elem.getContext&&elem.getContext('2d'))?elem.toDataURL('image/webp').indexOf('data:image/webp')===0:false}return true}function browserSupportsMp4(userAgent){var isUnsupportedIE=userAgent.match(/MSIE [6-8]/);var isUnsupportedFirefox=userAgent.match(/Firefox\/(\d+)/)?parseInt(userAgent.match(/Firefox\/(\d+)/)[1])<=20:false;var isUnsupportedOpera=userAgent.match(/(Opera|OPR)\/(\d+)/)?parseInt(userAgent.match(/(Opera|OPR)\/(\d+)/)[2])<=24:false;if(isUnsupportedIE||isUnsupportedFirefox||isUnsupportedOpera){return(!!document.createElement('video').canPlayType&&!!document.createElement('video').canPlayType('video/mp4'))}return true}ExoSupport.prototype.supported=function(feature){return this.features[feature]};window.ExoSupport=new ExoSupport()}())})([]);
(function() {
var site_hostname = '';
var widthExoLayer = 300 + 20;
var heightExoLayer = 100;
var frequency_period = 0;
var closeImage = '//s3t3d2y8.afcdn.net/images/close-icon-circle.png';
var closedStatus = false;
var optimumImgurl = "https://s3t3d2y8.afcdn.net/library/802424/9bb757b90d3e27036d16cd5e00fc23c4c66bd6b6.mp4",
imgurl = "https://s3t3d2y8.afcdn.net/library/802424/9bb757b90d3e27036d16cd5e00fc23c4c66bd6b6.mp4";
function setCookie(c_name, value, minutes_ttl) {
minutes_ttl = parseInt(minutes_ttl, 10);
var exdate = new Date();
exdate.setMinutes(exdate.getMinutes() + minutes_ttl);
var c_value = escape(value) + "; expires=" + exdate.toUTCString() + ";domain=." + site_hostname + ";path=/";
document.cookie = c_name + "=" + c_value;
}
function getCookie(c_name) {
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0;i'
+ ''
+ '';
function writeExoLayer() {
var exoLayer = document.createElement('div');
exoLayer.innerHTML = codeExoLayer;
document.body.appendChild(exoLayer.firstChild);
var doc = document.getElementById('exoIMFrame').contentWindow.document;
doc.open();
doc.write('');
doc.close();
}
function logImp() {
impTrack('https://syndication.exosrv.com/cimp.php?t=imp&data=H4sIAAAAAAAAA11QW07EMAy8ChdoZSeOY/OHBCdAHGBJWrYIWokuqEg+PE6XBYQmj4lij8cOEFIHoYN4hXyN2Zeh9KjYB/Kb1R7ubwzsOE3Ph4++LK8mECiQccyK0QRT1GSRSaKgJRDLIJpEDCETEysbk0tcEHq465JHufTtvrGBLAJsCOCPVtN9GDmHrSVVwiqlqowAjwFoUAFQlaGMQiEPTdcuJfommH8KJuRErta5mFECxZztuKynaX6y8rK8V7skm/0x2sDNQTOXdvL/+7uj/MtxP9fPuU7lcJqWuR+2ZX07j+4cYFBGn8vovYICxqpYucScRceKwPgF40+6E5YBAAA=&cb=e2e_67a1325d587f32.40849316&d=inst');
}
function closeExoLayer(e) {
e.stopPropagation();
e.preventDefault();
document.getElementById('divExoLayerWrapper').style.display = "none";
closedStatus = true;
setCookie('zone-closed-3648381', closedStatus, frequency_period);
}
function adEvent(e) {
e.stopPropagation();
}
function showExoLayer() {
document.getElementById('divExoLayerWrapper').style.display = "block";
if ( document.getElementById('divExoLayerWrapper').style.visibility == "hidden" ) {
document.getElementById('divExoLayerWrapper').style.visibility = "visible";
}
window.setTimeout(function() {
document.getElementById('divExoLayerWrapper').style.height = heightExoLayer + 'px';
}, 100);
}
function loadExoLayer() {
showExoLayer();
var et = document.getElementById('exoCloseButton');
et.addEventListener('mousedown',closeExoLayer,true);
et.addEventListener('touchstart',closeExoLayer,true);
et.addEventListener('mouseup',closeExoLayer,true);
et.addEventListener('touchend',closeExoLayer,true);
et = document.getElementById('Advert');
if (et != null) {
et.addEventListener('mouseup',adEvent);
et.addEventListener('touchend',adEvent);
et.addEventListener('mousedown',adEvent);
et.addEventListener('touchstart',adEvent);
}
}
function impTrack(url) {
var xhr = new XMLHttpRequest();
xhr.open("GET", url);
xhr.withCredentials = true;
xhr.send();
}
var capping = '0';
var shownCookie = false;
shownCookie = getCookie('zone-cap-3648381');
closedStatus = getCookie('zone-closed-3648381');
if (isNaN(shownCookie)) shownCookie = 0;
shownCookie = parseInt(shownCookie);
if ((capping>0 && shownCookie>=capping) || closedStatus) {
} else {
writeExoLayer();
window.setTimeout(loadExoLayer, 2000);
shownCookie = shownCookie + 1;
logImp();
setCookie('zone-cap-3648381', shownCookie, 6*60);
}
var exoIMFrame = document.getElementById('exoIMFrame');
if (exoIMFrame) {
exoIMFrame.contentWindow.document.body.querySelector('a').addEventListener('click', function(e) {
e.preventDefault();
if (this.href.indexOf("?") !== -1) {
var separatorUrlParams = "&";
} else {
var separatorUrlParams = "?";
}
clickXY = 'clickX=' + e.clientX + '&clickY=' + e.clientY;
window.open(this.href + separatorUrlParams + clickXY, '_blank');
});
}
})();