function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}

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);

//fenster oeffnen
function shownewwin(URL){
newwin=window.open(URL,"stans","width=390,height=273,status=no,toolbar=no,resizable=yes,scrollbars=auto");
newwin.moveTo(0,0);
newwin.focus();
}
function shownewwin2(URL){
newwin=window.open(URL,"stans","width=300,height=480,status=no,toolbar=no,resizable=yes,scrollbars=auto");
newwin.moveTo(0,0);
newwin.focus();
}
//fenster schliessen
function closethewindow() { 
if (newwin){
 newwin.close();
 }
}
//newwin definieren um Fehlermeldung zu vermeiden
var newwin=null;

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}