function autoscroll(){
  window.scrollTo(5000,5000)
}

function drucken()
{
  print();
}
function empfehlen(empfehlung)
{
  wd=300;
  ht=300;
  l=(screen.width/2)-(wd/2);
  t=(screen.height/2)-(ht/2);
  Ansicht=window.open(empfehlung,"Ansicht","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,height="+ht+",width="+wd+", left="+l+",top="+t)
}
function openFenster1(bild)
{
  wd=758;
  ht=450;
  l=(screen.width/2)-(wd/2);
  t=(screen.height/2)-(ht/2);
  Ansicht=window.open(bild,"Ansicht","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height="+ht+",width="+wd+", left="+l+",top="+t)
}

function openPDF(pdf)
{
  wd=758;
  ht=650;
  l=(screen.width/2)-(wd/2);
  t=(screen.height/2)-(ht/2);
  Ansicht=window.open(pdf,"Ansicht","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height="+ht+",width="+wd+", left="+l+",top="+t)
}

function openSEITE(link,wd,ht)
{
  l=(screen.width/2)-(wd/2);
  t=(screen.height/2)-(ht/2);
  Ansicht=window.open(link,"Ansicht","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,height="+ht+",width="+wd+", left="+l+",top="+t)
}

function oberpunktverstecken(uebergabe)
{
  document.getElementById(uebergabe).style.visibility="hidden";
}

function oberpunktoeffnen(uebergabe)
{
  document.getElementById(uebergabe).style.visibility="visible";
}

function fenster(urllink,titel){
  wd=400;
  ht=500;
  l=(screen.width/2)-(wd/2);
  t=(screen.height/2)-(ht/2);
  window.open(urllink,"","toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=0,height="+ht+",width="+wd+", left="+l+",top="+t)
}

function divmeldung() {
  document.getElementById("meldung").style.visibility = "hidden";
  window.location="index.php";
}
