// JavaScript Document
var randomImgs = new Array(10);
randomImgs[0] = "random1";
randomImgs[1] = "random2";
randomImgs[2] = "random3";
randomImgs[3] = "random4";
randomImgs[4] = "random5";
randomImgs[5] = "random6";
randomImgs[6] = "random7";
randomImgs[7] = "random8";
randomImgs[8] = "random9";
randomImgs[9] = "random1";

function randomNum(){
	return Math.floor(10*Math.random());	
}

function returnImg() {
	document.write("<img src='images/" + randomImgs[randomNum()] + ".jpg' border=1>");	
}