Protokoll = self.location.protocol;
Pfad = self.location.pathname;
Basis = Protokoll + '//' + Pfad.substring(1,Pfad.length-11)
neues_Fenster = null;

function Zeigen(Bild0,Titel0,Breite0,Hoehe0){
   Bild = Bild0;
   Titel = Titel0;
   Breite = Breite0;
   Hoehe = Hoehe0;
   zu();
   setTimeout("sichtbar()",1000);
}


function sichtbar(){  
   Fenster_Hoehe = Hoehe + 80;
   Fenster_Breite = Breite + 30;
   Optionen = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,height='+Fenster_Hoehe+',width='+Fenster_Breite;
   neues_Fenster = window.open('','',Optionen);
   neues_Fenster.moveTo((screen.width - Fenster_Breite)/2,(screen.height - Fenster_Hoehe)/2);
   with (neues_Fenster) 
   {
      document.writeln('<HTML><HEAD><TITLE>' + Titel + '</TITLE></HEAD>');
      document.writeln('<BODY BGCOLOR="#FEEECD" TEXT="#000000"><TABLE><TR><TD ALIGN=CENTER VALIGN=MIDDLE>');
      document.writeln('<IMG SRC="'+Bild+'" WIDTH='+Breite+' HEIGHT='+Hoehe+' BORDER=0 ALT="'+Titel+'">');
      document.writeln('</TD></TR></TABLE>');
      document.writeln('<center><br><form><input type="button" value="Schließen" onClick="javascript:window.close()"></form></center></font></BODY></HTML>');
   }
}


function zu(){
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
       neues_Fenster.close();
}

