// nicht vergessen dem DIV-Layer eine Breite 
step=2;
var picW
function Move() {
	var n, h, t, picURL, picT
	if (picW==undefined){
		t=document.getElementById("panorama").style.backgroundImage;
		picURL=t.substring(t.indexOf("(")+1,t.indexOf(")"));
		picT=new Image();
		picT.src=picURL;
		picW=picT.width;
	}	
	h=document.getElementById("panorama").style.backgroundPosition.split(' ');
	n=parseInt(h[0]) + step;
//	w=parseInt(document.getElementById("panorama").style.width)
	if (n>picW) n-=picW;
	if (n<-picW) n+=picW;
	document.getElementById("panorama").style.backgroundPosition=n + "px " + h[1];
	setTimeout('Move()',50);
}
setTimeout('Move()',500);
