Random images javascript not working in IE6, IE7

Reference website: Untitled Document

The above webpage contained simply javescript of random images in full screen & menu made by Sothink DHTML Menu.

In Chrome & Firefox the content display perfectly with no issue.

However, it’s all blank or, only the menu showed up in IE6 & IE7. I am not sure in IE8 & IE9 as I don’t have them.

Would like to have advice by experienced designers here.

Thanks for any help.

The HTMKL code are as follow:

Quoted

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
body <a href="http://www.dhtml-menu-builder.com" style="display:none;visibility:hidden;">Drop Down Menu</a>
<script type="text/javascript" src="pure/menu.js"></script>{
margin-left: 0px;
margin-top: 0px;
}
body{
margin: 0;
padding: 0;
}
</style>
</head>

<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">

<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu629e",660,"","blank.gif",1,"20","20",0,0,250,0,1000,1,0,0,"","",0,0,1,2," default","hand",""],this);
stm_bp("p0",[1,4,0,0,2,3,0,7,100,"",-2,"",-2,50,0,0,"#999999","transparent","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"http://net-ready.net/pure/index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",1,"#B5BED6",1," ","",3,3,0,0,"#FFFFF7","#000000","#000000","#FF0000","12pt Verdana","12pt Verdana",0,0]);
stm_aix("p0i1","p0i0",[0,"News","","",-1,-1,0,""]);
stm_aix("p0i2","p0i0",[0,"Products","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",7,7]);
stm_bpx("p1","p0",[1,4,10,0,2,3,0,0]);
stm_aix("p1i0","p0i1",[0,"In the mood of love"]);
stm_aix("p1i1","p0i1",[0,"Double Layer Glass Container"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>





<script language="JavaScript" type="text/javascript">
// This script was supplied by Dave Joosten
// For support and info go read the Tutorial at Random Images by using simple to modify JavaScript - AJAX and JavaScript - Tutorials - DMXzone.COM
var id = 3; // Total number of images
var ranimage = new Array(id); // Array to hold the filenames

ranimage[0] = "japgirl.jpg";
ranimage[1] = "japgirl2.jpg";
ranimage[2] = "japgirl3.jpg";

function choseRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
// 
var choice = choseRandom(id);
</script>



<script language="JavaScript">document.writeln('<td' + '><img src="' + ranimage[choice] + '" height="auto" width="100%" hspace="0" vspace="0" border="0" margin: 0; ><' + '/td>');</script>


</table>

</body>
</html>

Unquoted

Maybe try posting that link again.

Thanks for the advice

The link is

Untitled Document

Style tags still error-filled:


<style type="text/css">
body <a href="http://www.dhtml-menu-builder.com"  style="display:none;visibility:hidden;">Drop Down Menu</a>
<script type="text/javascript" src="pure/menu.js"></script>{
	margin-left: 0px;
	margin-top: 0px;
}
body{
margin: 0;
padding: 0;
}
</style>

That is not valid. No Javascript or HTML in the <style> tags.