//Slideshow that appears on home page only
var timeDelay = 5; // change delay time in seconds
var Pix = new Array
("images/archives/home/Rotate01.gif"
,"images/archives/home/Rotate02.gif"
,"images/archives/home/Rotate03.gif"
,"images/archives/home/Rotate04.gif"
,"images/archives/home/Rotate05.gif"
,"images/archives/home/Rotate06.gif"
,"images/archives/home/Rotate07.gif"
,"images/archives/home/Rotate08.gif"
,"images/archives/home/Rotate09.gif"
,"images/archives/home/Rotate10.gif"
,"images/archives/home/Rotate11.gif"
,"images/archives/home/Rotate12.gif"
//,"images/archives/home/Rotate13.gif"
//,"images/archives/home/Rotate14.gif"
);
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;
}
startPix();
