Javascript from pop-up tutorial doesn't work in Explorer

Hi,
I have made a “pop-up” window from Flash with the help of this tutorial: http://www.kirupa.com/developer/flash8/video/popUpWindows.htm
However it doesn’t seem to work on Explorer. I get an “error in page” message.
It works fine in Opera, Safari, Firefox for Mac.

I made the code as it says in the tutorial but also added this to the page in the header:

<script language="JavaScript" type="text/JavaScript">
<!--
window.moveTo(0,0)
window.resizeTo(screen.availWidth,screen.availHeight)
//-->
</script>

Anyone knows what’s wrong?:*(