here is the script that almost works great. i am hoping something is wrong within the code, if not, is there a better way to achieve a different random background image on each load of the page. (i was also curious if the code might not be working due to the browser's inability to weed out that section of code, is there a way to skip to a line or atribute a specific line with a higher level of priority. thanks!
<script LANGUAGE="Javascript"><!--
function bkgrnd() {} ; bg = new bkgrnd () ; n = 0
bg[n++] = "back/draw/back001.gif"
bg[n++] = "back/draw/back002.gif"
bg[n++] = "back/draw/back003.gif"
bg[n++] = "back/draw/back004.gif"
bg[n++] = "back/draw/back005.gif"
bg[n++] = "back/draw/back006.gif"
rnd = Math.floor(Math.random() * n) ;
tmp = '<BODY BACKGROUND="' +bg[rnd]+ '"'
+' BGCOLOR="#FFFFFF">'
//--></SCRIPT>
</head>
<script LANGUAGE="Javascript"><!--
document.write( tmp )
//--></SCRIPT>
<script LANGUAGE="Javascript"><!--
function bkgrnd() {} ; bg = new bkgrnd () ; n = 0
bg[n++] = "back/draw/back001.gif"
bg[n++] = "back/draw/back002.gif"
bg[n++] = "back/draw/back003.gif"
bg[n++] = "back/draw/back004.gif"
bg[n++] = "back/draw/back005.gif"
bg[n++] = "back/draw/back006.gif"
rnd = Math.floor(Math.random() * n) ;
tmp = '<BODY BACKGROUND="' +bg[rnd]+ '"'
+' BGCOLOR="#FFFFFF">'
//--></SCRIPT>
</head>
<script LANGUAGE="Javascript"><!--
document.write( tmp )
//--></SCRIPT>