var timeDelay = 3;
var Pix = new Array
("../images/ma6.jpg"
,"../images/ma2.jpg"
,"../images/ma3.jpg"
,"../images/ma4.jpg"
,"../images/ma5.jpg"
,"../images/ma1.jpg"
,"../images/ma7.jpg"
);
var gesamtanzahl = Pix.length;
timeDelay *= 1000;
var i = 0;

function startBilder() {
this.runId = setInterval("slideshow()", timeDelay);
}

function stopBilder() {
if (this.runId)
 clearTimeout(this.runId);
this.runId = null;
}

function slideshow() {
i++;
if (i >= (gesamtanzahl)) {i = 0;}
document["ChangingPix"].src = Pix[i];
}

