<script language=javascript >
function numRand(){
ran = Math.random()
i = parseInt(ran * 10)
if ((i > 9)||(isNaN(i))||(i=="")||(i == null)){
	i = 1; 
	}
return i 
}

function imgRand( ){
i = numRand(); 
//alert(i)
allImg = new Array
("chagall.JPG","castro.jpg","lost.jpg","VADER.jpg","mp3.jpg","GGMPHONE.jpg","cck.jpg","seaholz.jpg",
"cough.jpg", "chagall.JPG")
//alert(allImg[i])
//allImg[i] 
document.open()
document.write ("<img src='" + allImg[i] + "'>")
//window.document.images[0].src = allImg[i] 
document.close()
//alert (allImg[i] )
}
imgRand()
</script>