
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
  document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function fenster(url,breite,hoehe)
{
var url;
var width=breite;
var height=hoehe;
var l = (screen.availWidth - width) / 2;
var t = (screen.availHeight - height) / 2;
newwindow = window.open(url,"newwindow","width="+breite+",height=" +hoehe+",screenX="+l+",screenY="+t+",left=" +l+",top="+t+",scrollbars=1,resizable=0,menubar=no");
newwindow.focus();
}
function klappbox(id, title) {
     var box = document.getElementById(id);
     var boximg = document.getElementById(id+"pic");
     var boxtitle = document.getElementById(id+"text");
     if (box.style.display=="none")
     {
        box.style.display="block";
        boximg.src = "icons/box_auf.gif";
        boxtitle.firstChild.nodeValue = title;
     }
     else {
        box.style.display="none";
        boximg.src = "icons/box_zu.gif";
        boxtitle.firstChild.nodeValue = title;
     }
   }
