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 + 30;
   Fenster_Breite = Breite + 40;
   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)
   with (neues_Fenster) 
   {
      document.writeln('<HTML><HEAD><TITLE>' + Titel + '</TITLE>');
      document.writeln('<SCRIPT Language="JavaScript">');
      document.writeln('<!--');
      document.writeln('self.window.moveTo(100,50)\;');
      document.writeln('//-->');
      document.writeln('</SCRIPT>');
      document.writeln('<BODY BGCOLOR="#FFFFFF" TEXT="#FFFFFF"><DIV ALIGN=CENTER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 VALIGN="MIDDLE"><TR><TD>');
      document.writeln('<IMG SRC="'+Bild+'" WIDTH='+Breite+' HEIGHT='+Hoehe+' BORDER=0 ALT="'+Titel+'"></TD>');
      document.writeln('</TR></TABLE></DIV></BODY></HTML>');
   }
}

function zu()
{
   if (neues_Fenster != null)
     if (!neues_Fenster.closed)
       neues_Fenster.close();
}


var nUrl,nWin,nW,nH;
function openWindow(nUrl,nW,nH){
	nWin = open(nUrl, "nWin","width="+nW+",height="+nH+",status=yes,scrollbars=yes,scrolling=no,toolbar=no,menubar=no,location=no,resizable=no");
	}