var PREBID_TIMEOUT = 3000; var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; function initAdserver() { if (pbjs.initAdserverSet) return; (function () { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); pbjs.initAdserverSet = true; }; setTimeout(initAdserver, PREBID_TIMEOUT); var pbjs = pbjs || {}; pbjs.que = pbjs.que || []; (function () { var pbjsEl = document.createElement("script"); pbjsEl.type = "text/javascript"; pbjsEl.async = true; pbjsEl.src = "//a.publir.com/prebid/pb124.js"; var pbjsTargetEl = document.getElementsByTagName("head")[0]; pbjsTargetEl.insertBefore(pbjsEl, pbjsTargetEl.firstChild); })(); (function () { var pbjsEf = document.createElement("script"); pbjsEf.type = "text/javascript"; pbjsEf.async = true; pbjsEf.src = "//a.publir.com/header/3.js"; var pbjsTargetEf = document.getElementsByTagName("head")[0]; pbjsTargetEf.insertBefore(pbjsEf, pbjsTargetEf.firstChild); })(); /* pbjs.que.push(function() { pbjs.enableAnalytics({ provider: 'publir', options: { pubId: 3, publir_siteId: 3 } }); }); */