// Create the slideshow object
ss = new slideshow("ss");
// Set the delay between slides, 1000 = 1 sec
// ss.timeout = 3000;
// By default, all of the slideshow images are prefetched.
// If you have a large number of slides you can limit the
// number of images that are prefetched.
ss.prefetch = 3;
// By default the slideshow will repeat when you get to the end.
// ss.repeat = false;
// Create the slides and add them to the slideshow.


var mtch = new Array;
var randno;

for (i=1; i < 502; i++) {

  randno = Math.floor(Math.random()*501 + 1001);
  while (mtch[randno]) {
    randno = Math.floor(Math.random()*501 + 1001);
  }
  mtch[randno] = randno;
  
  s = new slide();
  s.src =  '/images/frank/img' + randno + '.jpg';
  s.text = '<B>' + i + ' of 501</B>';
  ss.add_slide(s);
}



