<!-- begin slideshow

var Picture = new Array();
var Caption = new Array();
var pcnt = 1;
var pmax = 1;   	//how many pictures
var speed = 10; 	//seconds to picture change
var img = new Image();

function initSlideshow(numPics,slideSpeed){
  pmax = numPics;
  speed = slideSpeed;
  pcnt = Math.ceil(Math.random()*(pmax)); // picture to start with
}

function slideshow(){
  document.getElementById("PictureBox").src = Picture[pcnt];
  document.getElementById("CaptionBox").innerHTML = Caption[pcnt];
  if (++pcnt > pmax) {
    pcnt = 1;
  }
  setTimeout("slideshow()",speed*1000);
}

// end slideshow -->
