 function login(bearb_seite)
 {
  var user=document.Login.user.value;
  var passwort=document.Login.passwort.value;
  document.Login.passwort.value = "";
  document.Login.user.value = "";
  var saison_ref=document.Login.Lsaison_ref.value;
  var staffel_pkey=document.Login.Lstaffel_pkey.value;
  var staffel_ref=document.Login.Lstaffel_ref.value;

  Fenster = window.open(bearb_seite+".php?staffel_ref="+staffel_ref+"&staffel_pkey="+staffel_pkey+"&saison_ref="+saison_ref+"&user="+user+"&passwort="+passwort,"Fenster","width=1010,height=520,left=0,top=0");
  if(Fenster.closed == true)
  { alert ("Fenster zu");
   location = "index.php?staffel_ref="+sstaffel_ref+"&seite="+sseite+"&staffel_pkey="+sstaffel_pkey+"&saison_ref="+ssaison_ref;
    }
 }
 function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
        newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
        newWindow.document.open();
        newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">');
        newWindow.document.write('<img src="'+imageName+'" width="'+imageWidth+'" height="'+imageHeight+'" alt="'+alt+'">');
        newWindow.document.write('</body&#155;</html>');
        newWindow.document.close();
        newWindow.focus();
 }
 function start(sstaffel_pkey,sstaffel_ref,sseite,ssaison_ref)
 {
  location = "index.php?staffel_ref="+sstaffel_ref+"&seite="+sseite+"&staffel_pkey="+sstaffel_pkey+"&saison_ref="+ssaison_ref;
 }
