exist=false;
function fenster(datei,x,y)
{
if (exist)
 {if (!nwin.closed)
  { nwin.window.close();
  }
 }
 nwin=window.open(datei,"fenster","width="+x+",height="+y+",screenX=50,screenY=50,top=50,left=50,resizable=yes,scrollbars=yes,toolbar=no");

exist=true;
}

exist=false;
function popup(datei,x,y)
{
if (exist)
 {if (!nwin.closed)
  { nwin.window.close();
  }
 }
 nwin=window.open(datei,"fenster","width="+x+",height="+y+",screenX=50,screenY=50,top=50,left=50,resizable=no,scrollbars=no,toolbar=no");

exist=true;
}

function jump(main,kopf,para) {
  if (kopf != "nil") {
  parent.frames[1].location.href = kopf + '.html';
  }
  if (main != "nil") {
  location.replace(main + '.asp')
  }
  if (para != "nil") {
  location.replace(main + '.asp' + para)
  }
}


// Netscape Resize Fix
if (document.layers) {
        widthCheck = window.innerWidth
        heightCheck = window.innerHeight
        window.onResize = resizeFix
}
function resizeFix() {
        if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
        document.location.href = document.location.href
}

function switchlayer(Layer_Name)
{
  var GECKO = document.getElementById? 1:0 ;
  var NS = document.layers? 1:0 ;
  var IE = document.all? 1:0 ;

  if (GECKO)
       {document.getElementById(Layer_Name).style.display=
           (document.getElementById(Layer_Name).style.display=='block') ? 'none' : 'block';}
  else if (NS)
       {document.layers[Layer_Name].display=(document.layers[Layer_Name].display==
           'block') ? 'none' : 'block';}
  else if (IE)
       {document.all[Layer_Name].style.display=(document.all[Layer_Name].style.display==
           'block') ? 'none' : 'block';}
}