
var timeDelay = 5; // change delay time in seconds
var Pix = new Array
("images/testimonial01.jpg" 
,"images/testimonial02.jpg" 
,"images/testimonial03.jpg" 
,"images/testimonial04.jpg"
,"images/testimonial05.jpg"
,"images/testimonial06.jpg"
,"images/testimonial07.jpg"
,"images/testimonial08.jpg"
,"images/testimonial09.jpg"
,"images/testimonial10.jpg"
,"images/testimonial11.jpg"
,"images/testimonial12.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;
}