var timeDelay = 4;
var Pix = new Array
("diashow/img001.jpg"
,"diashow/img002.jpg"
,"diashow/img003.jpg"
,"diashow/img004.jpg"
,"diashow/img005.jpg"
,"diashow/img006.jpg"
,"diashow/img007.jpg"
,"diashow/img008.jpg"
,"diashow/img009.jpg"
,"diashow/img010.jpg"
,"diashow/img011.jpg"
,"diashow/img012.jpg"
,"diashow/img013.jpg"
,"diashow/img014.jpg"
,"diashow/img015.jpg"
,"diashow/img016.jpg"
,"diashow/img017.jpg"
,"diashow/img018.jpg"
,"diashow/img019.jpg"
,"diashow/img020.jpg"
);
var howMany = Pix.length;
timeDelay *= 400;
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;
}
