Так лучше?
<script src="jquery-latest.min.js"></script>
<div></div>
<script>
window.onload = function () {
var str = "<!-- OYY.ru -->";
str += "<sc" + "ript type='text/javascript'>";
str += "<!--oyy_banner_id = '00000';document.write('<sc'+'ript type='text/javascript' src=\''+('https:'==document.location.protocol?'https':'http')+':\//ad.oyy.ru/oyy.js?rnd='+Math.round(Math.random()*100000)+'\'></sc'+'ript>');//-->";
document.body.children[0].innerHTML = str;
alert(document.body.children[0].innerHTML );
}
</script>