// Adapted from Image Cycler
// Original:  D. Keith Higgs (dkh2@po.cwru.edu)
// This script and many more are available free online at
// The JavaScript Source!! http://javascript.internet.com
// Begin
var timeDelay = 5; // change delay time in seconds
var Pix = new Array
("images/cycler/01.jpg"
,"images/cycler/02.jpg" 
,"images/cycler/03.jpg" 
,"images/cycler/04.jpg" 
,"images/cycler/05.jpg" 
,"images/cycler/06.jpg" 
,"images/cycler/07.jpg" 
,"images/cycler/08.jpg" 
,"images/cycler/09.jpg" 
,"images/cycler/10.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

