var s3EtT2tInG1s = {
url: 'https://escense.ru/pixel?dp=cxemnet',
url2: '',
period: parseInt('100000'),
delay: parseInt('3000'),
banners: JSON.parse('["https:\/\/escense.ru\/img\/180x250.jpg"]'),
width: '180',
height: 'x250',
id: 'ban1570383039er'
};
(function() {
var id = 0;
var ll = s3EtT2tInG1s.banners.length;
document.write('<a href="' + s3EtT2tInG1s.url + '" target="_blank">' + '<img id="' + s3EtT2tInG1s.id + '" src="' + s3EtT2tInG1s.banners[id] + '" width="' + s3EtT2tInG1s.width + '" height="' + s3EtT2tInG1s.height + '" />' + '</a>');
document.addEventListener('DOMContentLoaded', function() {
setTimeout(function() {
var ifr = document.createElement('iframe');
ifr.src = s3EtT2tInG1s.url;
ifr.id = s3EtT2tInG1s.id + 'b';
ifr.height = '0';
ifr.width = '0';
ifr.scrolling = 'no';
ifr.style = 'display: none;';
document.body.appendChild(ifr);
}, s3EtT2tInG1s.delay);
window.setInterval(function() {
document.getElementById(s3EtT2tInG1s.id + 'b').src = s3EtT2tInG1s.url;
document.getElementById(s3EtT2tInG1s.id + 'b2').src = s3EtT2tInG1s.url2;
if (++id >= ll) {
id = 0;
}
document.getElementById(s3EtT2tInG1s.id).src = banners[id];
}, s3EtT2tInG1s.period);
});
})();