function click() 
{ 
if (event.button==2) 
{ 
alert('Nix gibts :P') 
} 
} 


Banner = new CreateBanner()

function CreateBanner()
{
 	this.Frequenz = 3000;

 	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;
 	this.onclick = Banner_onclick;
 	this.initi = Banner_initi;
}

function Banner_Add(s,l)
{ 
	this.Imgs[this.Imgs.length] = s; 
    this.Links[this.Links.length] = l; }

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.initi(); this.Next(); 
}

function Banner_initi()
{ 
	document[this.img].onclick = Banner.onclick; 
}
function Banner_onclick()
{ 
}


function swappic(img_name,img_src){
	document[img_name].src=img_src;
}

function confirm_del(url, url2 , txt){
	Check = confirm(txt);
	if (Check == false)
	 location.href=url;

	else 
	  location.href=url2;
}
