<script type="text/javascript">
atOptions = {
'key' : '4acc9ecf15520c3ad2d27837af408a5f',
'format' : 'iframe',
'height' : 50,
'width' : 320,
'params' : {}
};
document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://www.effectivedisplayformats.com/4acc9ecf15520c3ad2d27837af408a5f/invoke.js"></scr' + 'ipt>');
</script>
It's not a good idea for you to use document.write in inline JavaScript (especially those in <body>) because it'll overwrite the <script> itself. Perhaps you can create an element and change its innerHTML, or you can put it into <head> and use <body onload>.