(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 widthExoLayer;
var heightExoLayer;
var marginExoLayer;
marginExoLayer = 20;
widthExoLayer = 300;
heightExoLayer = 250;;
var frequency_period = 1440;
var exoDocumentProtocol = (document.location.protocol != "https:" && document.location.protocol != "http:") ? "https:" : document.location.protocol;
var closeImage = '//s3t3d2y8.afcdn.net/images/close-icon-circle.png';
var optimumImgurl = "https://s3t3d2y8.afcdn.net/library/141372/70aa7c226bd8bccf849ae4ef57c9e8cd1e8a545d.mp4",
imgurl = "https://s3t3d2y8.afcdn.net/library/141372/70aa7c226bd8bccf849ae4ef57c9e8cd1e8a545d.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() + ";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.realsrv.com/cimp.php?t=imp&data=H4sIAAAAAAAAA11Q0WqEMBD8lf6AsrtZN5t7K/QPSj9Ak3gV7Al6LR7sxzcqlaMMYUJ2diYMATUVuAr0BeHS4IXYXI1MNQHWGOzj/dXAlmnJ6+M6zGMdpy9DRuepkBfUQhKcmhN2TiyoNV4VmE1RVXwZCRePEzUAoDVQvN/2gwViDmCl8op7phX/Ym2wbjuJMWlMQXuAjoBzUIAQNMdemXwuErLTf/PzT4kV7vQ5LffhdrU4Tt/J/hbMnv9WIHbIm53/Tw8QuPN+qJfHLQ2xvQ/TrZ5zOy7zz14VbQFbVbwpLUgm6frk25gkiba+lMHqMbWiHYVfPv473pABAAA=&cb=e2e_67cc677c8473d5.60520925&d=inst');
}
function closeExoLayer(e) {
e.stopPropagation();
e.preventDefault();
document.getElementById('divExoLayerWrapper').style.display = "none";
closedStatus = true;
setCookie('zone-closed-364336', closedStatus, frequency_period);
}
function initExoLayer() {
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);
}
function showExoLayer() {
if (!closedStatus) {
document.getElementById('divExoLayerWrapper').style.display = "block";
window.setTimeout(function() {
document.getElementById('divExoLayerWrapper').style.height = heightExoLayer + 'px';
hideAgainExoLayer();
}, 100);
}
}
function hideExoLayer() {
document.getElementById('divExoLayerWrapper').style.height = '0px';
window.setTimeout(function() {
document.getElementById('divExoLayerWrapper').style.display = "none";
showAgainExoLayer();
}, 1000);
}
function showAgainExoLayer() {
initExoLayer();
window.setTimeout(showExoLayer, 5000);
}
function hideAgainExoLayer() {
window.setTimeout(hideExoLayer, 7000);
}
function loadExoLayer() {
initExoLayer();
showExoLayer();
}
function impTrack(url) {
var xhr = new XMLHttpRequest();
xhr.open("GET", url);
xhr.withCredentials = true;
xhr.send();
}
var closedStatus = getCookie('zone-closed-364336');
if (!closedStatus) {
writeExoLayer();
logImp();
window.setTimeout(loadExoLayer,3000);
}
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');
});
}
})();