function openBig(fenster){

    bigwindow = window.open( "" + fenster + ".html", "Landkarte", "height=550,width=585,toolbar=no,location=no,directories=no,status=no,menubar=yes");
}


if (document.all){

//in der Layoutdatei include(script)


//Transition speed. 4000 = 4 seconds etc.
delay=5000;

//Nothing needs altering paste here.
l=new Array()
for (i=0; i < pics.length;i++){
l[i]=new Image()
l[i].src=pics[i]
}
n="progid:DXImageTransform.Microsoft.";
f=new Array()
f[0]="Fade(Overlap=2.00)";

imgstep=0;
var timer = false;

function ani(){
rnd=f[Math.floor(Math.random()*f.length)]
box.style.filter=n+rnd;
box.filters[0].apply();
box.src=l[imgstep].src;
box.filters[0].play();
imgstep++;
if (imgstep >= l.length) imgstep=0;
timer = setTimeout("ani()",delay);
}
window.onload=new Function("setTimeout('ani()',delay)");
}

function changeImage(ct)
{
	imgstep=ct;
	if( timer )
		clearTimeout( timer );
	ani();
//	box.src=l[ct].src;
}


