// image_cycler.js
var timeDelay = 4; // change delay time in seconds
var Pix = new Array
("images/cycler1.jpg","images/cycler2.jpg","images/cycler3.jpg","images/cycler4.jpg","images/cycler5.jpg");
var howMany = Pix.length;
timeDelay *= 1000;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = Pix[PicCurrentNum];
function startPix() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = Pix[PicCurrentNum];
document["ChangingPix"].src = PicCurrent.src;
}
//  End -->

