var timeDelay = 2; // change delay time in seconds
var Pix = new Array
("archivos/inicio/01.jpg" 
,"archivos/inicio/02.jpg" 
,"archivos/inicio/03.jpg" 
,"archivos/inicio/04.jpg"
,"archivos/inicio/05.jpg"
,"archivos/inicio/06.jpg" 
,"archivos/inicio/07.jpg"
,"archivos/inicio/08.jpg"
,"archivos/inicio/09.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;
}

