// JavaScript Document
var timeDelay = 4;
var Pix = new Array
("photos/index01.jpg" ,"photos/index02.jpg" ,"photos/index03.jpg","photos/index04.jpg" ,"photos/index05.jpg" ,"photos/index06.jpg","photos/index07.jpg", "photos/index08.jpg","photos/index09.jpg","photos/index10.jpg","photos/index11.jpg","photos/index12.jpg","photos/index13.jpg","photos/index14.jpg","photos/index15.jpg","photos/index16.jpg"   );
var howMany = Pix.length;
timeDelay *= 1500;
var PicCurrentNum = 0;
var PicCurrent = new Image();
PicCurrent.src = Pix[PicCurrentNum];
function startPix1() {
setInterval("slideshow()", timeDelay);
}
function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == howMany) {
PicCurrentNum = 0;
}
PicCurrent.src = Pix[PicCurrentNum];
document["ChangingPix"].src = PicCurrent.src;
}
