var maxb=screen.width;
var spread=3500-maxb;
function verschiebe()
{
	xpos=-(Math.random()*100)*(spread/100);
	document.getElementsByTagName("body")[0].style.backgroundPosition=xpos+"px 0px";
	
	xmenu=(Math.random()*100)*(100/100);
	document.getElementById("termine").style.left=xmenu+"px";
	
	xmenu=(Math.random()*100)*(50/100);
	document.getElementById("veranstaltungen").style.left=xmenu+"px";
	
	xmenu=(Math.random()*100)*(100/100);
	document.getElementById("galerie").style.left=xmenu+"px";
	
	xmenu=(Math.random()*100)*(80/100);
	document.getElementById("underground").style.left=xmenu+"px";
	
	xmenu=(Math.random()*100)*(80/100);
	document.getElementById("dart").style.left=xmenu+"px";
	
	xmenu=(Math.random()*100)*(80/100);
	document.getElementById("gast").style.left=xmenu+"px";
	
	xmenu=(Math.random()*100)*(80/100);
	document.getElementById("newsletter").style.left=xmenu+"px";
	
	xmenu=(Math.random()*100)*(120/100);
	document.getElementById("links").style.left=xmenu+"px";

	xmenu=(Math.random()*100)*(110/100);
	document.getElementById("kontakt").style.left=xmenu+"px";

	xmenu=(Math.random()*100)*(80/100);
	document.getElementById("impressum").style.left=xmenu+"px";
}
function an(x)
{
	document.getElementById(x).src="pix/"+x+"_1.gif";
}
function aus(x)
{
	document.getElementById(x).src="pix/"+x+"_0.gif";
}

function calaktion(name, tag, monat, jahr, id)
{
}
function zoom(pic)
{
x=(screen.width/2)-250;
y=(screen.height/2)-250;
  Fenster = window.open("zoom.php?ipicid="+pic, "Zoom", "width=500,height=500,left="+x+",top="+y);
  Fenster.focus();
}