<!--//Simple Random Image Displayer//Written by Jason Patton//Last updated 7/6/06//Chooses a random image from a directory, images labeled 1.jpg, 2.jpg,... n.jpgfunction random_image(){//Specify the path to the image and caption directories, including the trailing slash (eg. "images/")var imagepath="images/random/"//var captionpath="includes/random/"//Specify how many images you havevar n=14//Specify a static width and heightvar width=350var height=250//Get a random integer between 1 and nvar randn=Math.ceil(Math.random()*(n))if (randn==0)randn=1//Display on pagedocument.write('<img src="'+imagepath+''+randn+'.jpg" width="'+width+'" height="'+height+'" border="0" \/>')}random_image()//-->