Hi, I want to build in a javascript code into the header. I tried some times to put the following code in several places in Page Container, but it doesn't work and I get errors. What else I can do?
<!-- Revive Adserver JavaScript-Tag - Generated with Revive Adserver v5.1.1 -->
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://www.domain-online.com/Ads/w...domain-online.com/Ads/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=1");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
//]]>--></script><noscript><a href='http://www.domain-online.com/Ads/www/delivery/ck.php?n=ab49d7e1&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.domain-online.com/Ads/ww...p;cb=INSERT_RANDOM_NUMBER_HERE&n=ab49d7e1' border='0' alt='' /></a></noscript>