<!--
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/nagfluh01.jpg",
"projekte/nagfluh02.jpg",
"projekte/nagfluh03.jpg",
"projekte/nagfluh04.jpg",
"projekte/nagfluh05.jpg",
"projekte/nagfluh06.jpg",
"projekte/nagfluh07.jpg",
"projekte/nagfluh08.jpg",
"projekte/nagfluh09.jpg",
"projekte/nagfluh10.jpg",
"projekte/nagfluh11.jpg",
"projekte/nagfluh12.jpg",
"projekte/nagfluh13.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);
//-->

