here is the code:

Code:
<body onload="loadStream()">

<script type="text/javascript">

function loadStream() { 

document.getElementById('abc').innerHTML; 
abc.document.write('<script type="text/javascript" src="http://www.domain.com/embed.php?channel=7078&width=530&height=400&autoplay=true"></script>'); 


} 
</script>

<iframe id="abc" src="" width="530" height="400" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" allowtransparency="true"></iframe>


this works in IE but not Firefox. any ideas?