var timeDelay = 3;
var Pix = new Array
("./images/lot/lot-view-180.jpg"
,"./images/lot/lot-view2-180.jpg"
);


var gesamtanzahl = Pix.length;
timeDelay *= 1000;
var a = 0;

function startBilder() {
this.runId = setInterval("slideshow()", timeDelay);
}

function stopBilder() {
if (this.runId)
 clearTimeout(this.runId);
this.runId = null;
}

function slideshow() {
a++;
if (a >= (gesamtanzahl)) {a = 0;}
document["ChangingPix"].src = Pix[a];
}

