	var pics = new Array();
	// ** Change HERE **
	pics[1] = "./images/hamburg_horn/teich.jpg";
	pics[2] = "./images/hamburg_horn/minigolf_I.jpg";
	pics[3] = "./images/hamburg_horn/pferde.jpg";
	pics[4] = "./images/hamburg_horn/minigolf_oben.jpg";
	pics[5] = "./images/hamburg_horn/dromeda.jpg";
	pics[6] = "./images/hamburg_horn/vulkan.jpg";
	pics[7] = "./images/hamburg_horn/minigolf_1970.jpg";
	pics[8] = "./images/hamburg_horn/rennbahn.jpg";
	// Polterabend Page
	if( document.URL.match(/polterabend/gi) ) {
		pics[2] = "./images/hamburg_horn/pollterabend_hamburg_I.jpg";
	}
	// 
	// ****************************************************************************
	// HERE CAME THE CODE ....
	// ****************************************************************************
	var isIE = false;
	if( navigator.appName == "Microsoft Internet Explorer" ) {
		isIE = true;
	}
	var counter = 0;
	var i = 1;
	function emotionMenu( status ) {
		if(status) {
			document.getElementById('men-cont').style.visibility = "visible";
			if( isIE ) {
				document.getElementById('men-cont').style.filter  = "alpha(opacity="+(i++)+"0)";
			} else {
				document.getElementById('men-cont').style.backgroundColor  = "rgba(80, 60, 54, 0."+(i++)+")";
			}
			if(i<8) setTimeout("emotionMenu(true)",90);
		} else {
			if( isIE ) {
				document.getElementById('men-cont').style.filter  = "alpha(opacity="+(i--)+")";
			} else {
				document.getElementById('men-cont').style.backgroundColor  = "rgba(80, 60, 54, 0."+(i--)+")";
			}
			if(i>2) {
				setTimeout("emotionMenu(false)",40);
			} else {
				document.getElementById('men-cont').style.visibility = "hidden";
				document.getElementById('men-cont').classname = "men-cont";
			}
		}
	}

	function menu() {
		if(document.getElementById('men-cont').classname != "men-cont-aktiv") {
			document.getElementById('men-cont').classname = "men-cont-aktiv";
			document.getElementById('men-cont').style.visibility = "visible";
			emotionMenu(true);
		} else  {
			emotionMenu(false);
		}
	}
	function setMenu( id ) {
		document.getElementById('men-cont').innerHTML = document.getElementById('tmp'+id).innerHTML;
		document.getElementById("MenuLink"+id).focus();
	}
	
	function smooth(status, pic) {
		if(status) {
			int = parseFloat(document.getElementById('motion-pic').style.opacity);
			if(int != 1) {
				int += 0.1;
				document.getElementById('motion-pic').style.opacity = ""+int;
				setTimeout("window.smooth(true, '" +pic+ "');",65);
			}
		} else {
			if(window.document.getElementById('motion-pic').style.opacity) {
				int = parseFloat(document.getElementById('motion-pic').style.opacity);
			} else {
				int = 1.0;
			}
			if(int > 0.0) {
				int = int - 0.1;
				document.getElementById('motion-pic').style.opacity = ""+int;
				setTimeout("window.smooth(false, '" +pic+ "');",85);
			} else {
				document.getElementById('motion-pic').src = pic;
				setTimeout("window.smooth(true, '');",850);
			}
		}
	}
	
	function changePic() {
		if(window.pics) {
			if(!window.pics[0]) window.pics[0]= document.getElementById('motion-pic').src;
			counter++;
			if(window.pics[counter]){
				smooth(false, pics[counter]);
			} else {
				counter = 0;
				smooth(false, pics[counter]);
			}
		}
	}
	
	setInterval("changePic();", 8000);
