2 in 1

ePub display:

ePub viewer:

TEST REKLAMY:

(function()
{
var tagqa = ”;
var playerId = ”;
var playerContainerId = ‘ad’ + Math.round(Math.random()*1000000000).toString();
var playerWidth = ‘300’;
var playerHeight = ‘250’;
var controls = ”;
var render = ”;
var tracki = ”;
var trackc = ”;
var custom1 = ”;
var custom2 = ”;
var custom3 = ”;
var videourl = ”;
var viewMode = ‘normal’;
var companionId = ”;
var pubMacros = ”;

try { if (document.readyState && document.readyState != ‘complete’) { document.write(‘

‘); } } catch (e) {}

var lkqdVPAID;
var lkqdId = new Date().getTime().toString() + Math.round(Math.random()*1000000000).toString();
var environmentVars = { slot: document.getElementById(playerContainerId), videoSlot: document.getElementById(playerId), videoSlotCanAutoPlay: true };
var creativeData = ”;

function onVPAIDLoad()
{
lkqdVPAID.subscribe(function() { lkqdVPAID.startAd(); }, ‘AdLoaded’);
}

var vpaidFrame = document.createElement(‘iframe’);
vpaidFrame.id = lkqdId;
vpaidFrame.name = lkqdId;
vpaidFrame.style.display = ‘none’;
vpaidFrame.onload = function() {
vpaidLoader = vpaidFrame.contentWindow.document.createElement(‘script’);
vpaidLoader.src = (document.location.protocol == ‘https:’ ? ‘https:’ : ‘http:’) + ‘//ad.lkqd.net/serve/pure.js?format=1&vpaid=true&apt=auto&ear=100&pid=57&sid=20185&tagqa=’ + tagqa + ‘&elementid=’ + encodeURIComponent(playerId) + ‘&containerid=’ + encodeURIComponent(playerContainerId) + ‘&render=’ + render + ‘&controls=’ + controls + ‘&width=’ + playerWidth + ‘&height=’ + playerHeight + ‘&mode=’ + viewMode + ‘&companionid=’ + encodeURIComponent(companionId) + ‘&tracki=’ + encodeURIComponent(tracki) + ‘&trackc=’ + encodeURIComponent(trackc) + ‘&c1=’ + encodeURIComponent(custom1) + ‘&c2=’ + encodeURIComponent(custom2) + ‘&c3=’ + encodeURIComponent(custom3) + ‘&videourl=’ + encodeURIComponent(videourl) + ‘&rnd=’ + Math.floor(Math.random() * 100000000) + ‘&m=’ + encodeURIComponent(pubMacros);
vpaidLoader.onload = function() {
lkqdVPAID = vpaidFrame.contentWindow.getVPAIDAd();
lkqdVPAID.handshakeVersion(‘2.0’);
onVPAIDLoad();
lkqdVPAID.initAd(playerWidth, playerHeight, viewMode, 600, creativeData, environmentVars);
};
vpaidFrame.contentWindow.document.body.appendChild(vpaidLoader);
};
document.documentElement.appendChild(vpaidFrame);
})();

Click to comment
To Top