
// block view

function view(id)
{
   if(document.getElementById(id).style.display == 'block')
   {
     // document.getElementById(button_id).value='aufklappen';
      document.getElementById(id).style.display='none';
   }
   else
   {
      //document.getElementById(button_id).value='zuklappen';
      document.getElementById(id).style.display='block';
   }
}


// fader


function high(which2){
  theobject=which2
  highlighting=setInterval("highlightIt(theobject)",50)
}
function low(which2){
  clearInterval(highlighting)
 if (which2.style.MozOpacity)
  which2.style.MozOpacity=0.3
 else if (which2.filters)
  which2.filters.alpha.opacity=30
}

function highlightIt(cur2){
 if (cur2.style.MozOpacity<1)
  cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
 else if (cur2.filters&&cur2.filters.alpha.opacity<100)
  cur2.filters.alpha.opacity+=10
 else if (window.highlighting)
  clearInterval(highlighting)
}

 function speisekarte() {

window.open('/images/speisekarte/speisekarte.html',
'mywindow','location=0,status=0,scrollbars=1,width=669,height=500');

}

