// Set up the image files to be used.var theImages = new Array() // do not change this// To add more image files, continue with the// pattern below, adding to the array.theImages[0] = 'images/370_randoms/chicago2.jpg'theImages[1] = 'images/370_randoms/ferns.jpg'theImages[2] = 'images/370_randoms/trees.jpg'theImages[3] = 'images/370_randoms/autumnroad.jpg'theImages[4] = 'images/370_randoms/battersea.jpg'theImages[5] = 'images/370_randoms/club.jpg'theImages[6] = 'images/370_randoms/yellowcabs.jpg'theImages[7] = 'images/370_randoms/chicago.jpg'theImages[8] = 'images/370_randoms/grandcentral.jpg'theImages[9] = 'images/370_randoms/horses.jpg'theImages[10] = 'images/370_randoms/westkirby.jpg'// do not edit anything below this linevar j = 0var p = theImages.length;var whichImage = Math.round(Math.random()*(p-1));function showImage(){document.write('<img src="'+theImages[whichImage]+'">');}