
// change delay time in seconds

var timeDelay = 4;

// change picture file names
var Pix = new Array
("images/img06.jpg"
,"images/img07.jpg"
,"images/img08.jpg"
);

// do not change below here
timeDelay *= 1000;
var PicCurrentNum = 0;

function startPix() {
setInterval("slideshow()", timeDelay);
}

function slideshow() {
PicCurrentNum++;
if (PicCurrentNum == Pix.length) {
PicCurrentNum = 0;
}
document.getElementById('ChangingPix').src = Pix[PicCurrentNum];
}


