currently using this code for to do an "on refresh" slideshow.
Code:
var image = new Array()

image[0] = "imgArray/gallery01.jpg"
image[1] = "imgArray/gallery02.jpg"
image[2] = "imgArray/gallery03.jpg"
image[3] = "imgArray/gallery04.jpg"
image[4] = "imgArray/gallery05.jpg"
image[5] = "imgArray/gallery06.jpg"
image[6] = "imgArray/gallery07.jpg"
image[7] = "imgArray/gallery08.jpg"
image[8] = "imgArray/gallery09.jpg"
image[9] = "imgArray/gallery10.jpg"

function randomNumber(n){
number = Math.floor(Math.random() * (n + 1));
return number;
and later in the page in a div
Code:
<script type="text/javascript"> document.write( "<img src = '" + image[randomNumber(image.length -1)]+ "'>" );</script>

is there a super simple way to change this so it is timed instead?
thx
Sherpa