/*Bilderwechsel auf der Homepage von Thurnfilm*/
Banner = new CreateBanner()

function CreateBanner()
{
 this.Frequenz = 5000;

 this.img = ''; this.i = 0;
 this.Imgs = new Array(); this.Links = new Array();

 this.Add = Banner_Add;
 this.Next = Banner_Next;
 this.Start = Banner_Start;
 
}

function Banner_Add(s){ 

	this.Imgs[this.Imgs.length] = s; 

 }

function Banner_Next(){
	
	this.i++; if(this.i >= this.Imgs.length){this.i = 0}
 	
	document[this.img].src = this.Imgs[this.i];
 	window.setTimeout('Banner.Next()',this.Frequenz);
}

function Banner_Start(){ 
	
	this.Next(); 
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
 	this.blur();
}