
/*
var speed = 5000
var fadeSpeed = 3
var aImg = new Array()
aImg[0] = 'images/fotos/Luftbild_220.jpg'
aImg[1] = 'images/fotos/Kinder_Bohlen_220.jpg'
aImg[2] = 'images/fotos/Sandburg_220.jpg'
aImg[3] = 'images/fotos/Wellen_220.jpg'
*/

// =======================================
// do not edit anything below this line
// =======================================

var timer
var j = 0

var aPreLoad = new Array()
for (i = 0; i < aImg.length; i++){
   aPreLoad[i] = new Image()
   aPreLoad[i].src = aImg[i]
}

function runSlideShow(img){
	image = eval("document.images." + img);
   if (document.all){
      image.style.filter="blendTrans(duration=2)"
      image.style.filter="blendTrans(duration=fadeSpeed)"
      image.filters.blendTrans.Apply()      
   }
   image.src = aPreLoad[j].src
   if (document.all){
      image.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (aImg.length-1)) j=0
   timer = setTimeout('runSlideShow("' + img + '")', speed)
}
