function Fensterhoehe () 
	{
		if (window.innerHeight) 
		{
			return window.innerHeight;
		} 
		else if (document.body && document.body.offsetHeight) 
		{
	    	return document.body.offsetHeight;
	  	} else {
			return 0;
	  	}
	}
	
	function showme(div, bild, zusatz)
	{
		height = document.getElementById(bild).height;
		height2 = Fensterhoehe();
		aktu = height2 - height - 20;
		beides = aktu + height;
		if(zusatz != "")
		{
			aktu = aktu - zusatz;
		}
		if(aktu <= 370)
		{
			aktu = 370;
		}
		if(height2 <= (370 + height))
		{
			beides = 370 + height;
		}
		document.getElementById(div).style.top = aktu;
		document.getElementById(div).style.visibility = "visible";
		//document.getElementById('space').height = beides;
	}
	
	function setpic()
	{
		height = Fensterhoehe();
		height = height - 226;
		document.getElementById('sethundert').height = height;
	}
	
	function addi()
	{
		
	}
	
	oldid = "";
	function ch_bild(pic, art)
	{
		document.getElementById(pic).src = '/pic-lay/'+art+pic;
	}
	
	function show_nav2(nav1)
	{
		if(oldid != "")
		{
			document.getElementById(oldid).style.visibility = 'hidden';
		}
		oldid = "ne"+nav1;
		document.getElementById(oldid).style.visibility = 'visible';
	}