var Geschwindigkeit = 2000 , aktuell = 1;

if (document.images) {
 link = new Array();

 bild1 = new Image();
 bild1.src = "bild/best1.jpg";
 link[1] = "gal/lrp-hpi09/index.php?todo=showPicture&stelle=1&album=./alben/6.%20Lauf%20-%20RCC%20Grafenwoerth%20-%2003.05.2009&AlbumActualPage=1&pos=1";
 bild2 = new Image();
 bild2.src = "bild/best2.jpg";
 link[2] = "gal/lrp-hpi09/index.php?todo=showPicture&stelle=67&album=./alben/6.%20Lauf%20-%20RCC%20Grafenwoerth%20-%2003.05.2009&AlbumActualPage=1&pos=1";
 bild3 = new Image();
 bild3.src = "bild/best3.jpg";
 link[3] = "gal/lrp-hpi09/index.php?todo=showPicture&stelle=104&album=./alben/6.%20Lauf%20-%20RCC%20Grafenwoerth%20-%2003.05.2009&AlbumActualPage=1&pos=1";
 bild4 = new Image();
 bild4.src = "bild/best4.jpg";
 link[4] = "gal/lrp-hpi09/index.php?todo=showPicture&stelle=157&album=./alben/6.%20Lauf%20-%20RCC%20Grafenwoerth%20-%2003.05.2009&AlbumActualPage=1&pos=1";
}

var anzahl = link.length-1;

function Bilderwechsel(){
 if (aktuell == anzahl)
  aktuell = 0; aktuell++;
  document.images['Banner'].src = window['bild' + aktuell].src;
  setTimeout ('Bilderwechsel()', Geschwindigkeit)
}

function neueSeite(){
 if (document.images)
 top.location.href = link[aktuell]
}
