I have got a weird problem with Javascript in Netscape 4.x:

If I write:
<script language="JavaScript">
if (navigator.appName == "Microsoft Internet Explorer"){
document.write("<div id=\"menu\" style=\"position:absolute; left:375px; top:200px; width:177px; height:200px; z-index:1;
background-color: #FF0000; layer-background-color: #FF0000; border: 1px none #000000\"><font face=\"Verdana, Arial,
Helvetica, sans-serif' color='black\">Hahahaah!<\/font><\/div>");
Netscape doesn't show anything but the background image of this
page. If I write id=\"1\" Netscape shows everything on this page
except the part inside the div. If I don't write the div-part
Netscape shows absolutely everything including the div.

Does somebody know why? I need to specify an id.
Thanks a lot, sprain