function bkgrnd() {} ; bg = new bkgrnd () ; n = 0 

bg[n++] = "images/bgAqua.png" 
bg[n++] = "images/bgTaupe.png" 
bg[n++] = "images/bgDijon.png" 
bg[n++] = "images/bgViolet.png" 
bg[n++] = "images/bgTurquoise.png"
bg[n++] = "images/bgGreen.png" 
bg[n++] = "images/bgBrown.png" 
bg[n++] = "images/bgRed.png" 
bg[n++] = "images/bgBlue.png" 
//Just keep adding 

rnd = Math.floor(Math.random() * n) ; 
tmp = '<BODY BACKGROUND="' +bg[rnd]+ '"' 
+' BGCOLOR="#FFFFFF" BG STYLE="background-repeat:repeat-x;">' 