<!--
var current = 0;

function initArray() {
this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}

var picz = new initArray(
"projekte/alt01.jpg",
"projekte/alt02.jpg",
"projekte/grele01.jpg",
"projekte/grele02.jpg",
"projekte/grele03.jpg",
"projekte/grele04.jpg",
"projekte/krott01.jpg",
"projekte/krott02.jpg",
"projekte/trettach01.jpg",
"projekte/trettach02.jpg"
);


function checkIt(val) {
	var goodnum = current+val;

if (goodnum < 0) goodnum =picz.length-1;
else if (goodnum >picz.length-1) goodnum=0;
current = goodnum;
document.jscriptimg.src = picz[goodnum];
}

setInterval("checkIt(1)",5000);
//-->

