function speisekategorien(id){
	document.getElementById(id).style.display = "block";
}

function off(put) {
  alert('Dieser Link hat noch keine Funktion');
}

function menue (link) {
	var Objektname;
	Objektname = new Array('events', 'multistyle');
	
  for(var i=0;i<Objektname.length; i++)
  {
     if(Objektname[i]==link){
      document.getElementById('content_' + link).style.display = 'block';
     document.getElementById('content').style.display = 'none';
           }
     else
     {
      document.getElementById('content_' + Objektname[i]).style.display = 'none';
     document.getElementById('content').style.display = 'none';
     }
  }
	
	return false;
}

function popup(url,w,h){
 fenster=window.open(url, "_blank", "width="+w+",height="+h+",status=no,scrollbars=no,resizable=yes");
 fenster.focus();
 return false;
}
function popups(url,w,h){
 fenster=window.open(url, "_blank", "width="+w+",height="+h+",status=no,scrollbars=yes,resizable=yes");
 fenster.focus();
 return false;
}

	function personen(id)
{
	var personen = prompt("Anzahl der Personen eingeben:");
		if(personen == '')
			{
				var personen = '0';
			}
		if(personen == null)
			{
				var personen = '0';
			}
	document.getElementById(id).value = '' + personen;
}
	function pz(id)
{
	var zeit = prompt("Uhrzeit bitte in folgendem Format eingeben: 00:00");
		if(zeit == '')
			{
				var zeit = '00:00';
			}
		if(zeit == null)
			{
				var zeit = '00:00';
			}
	document.getElementById(id).value = '' + zeit;
}
	function delcookie()
{
	 document.cookie = '	chalet_id=0;path=/;expires=Thu, 01-Jan-70 00:00:01 GMT';
}
	function toggle(id)
{
		with(document.getElementById(id).style)
	{
			if (display == "none")
		{
			display="";
		}
			else
		{
			display="none";
		}
	}
}
	function skarte(id)
{
	var skarte = prompt("Anzahl:");
		if(skarte == '')
			{
				var skarte = '0';
			}
		if(skarte == null)
			{
				var skarte = '0';
			}
		
	element = document.getElementById(id).innerHTML;
	box = document.getElementById('box').innerHTML
	document.getElementById('box').innerHTML = '' + box  + skarte + '_' + element + '\n';
}
	function go(url)
{
	window.location.href = 'http://www.chalet-multilounge.de/?site=' + url;
}

	function trank()
{
		with(document.getElementById("speis").style)
	{
		display="none";
	}
		with(document.getElementById("trank").style)
	{
		display="";
	}
}
	function speis()
{
		with(document.getElementById("speis").style)
	{
		display="";
	}
		with(document.getElementById("trank").style)
	{
		display="none";
	}
}