Protokoll = self.location.protocol;
Pfad = self.location.pathname;
Basis = Protokoll + '//' + Pfad.substring(1,Pfad.length-11)
neues_Fenster = null;

function errorTrap() {return true;}
window.onerror = errorTrap;

function zeigBild(Bild0,Titel0,Breite0,Hoehe0)
{
Bild = Bild0;
Titel = Titel0;
Breite = Breite0;
Hoehe = Hoehe0;
zu();
setTimeout("sichtbar()",1000);
}

function sichtbar()
{
Fenster_Hoehe = Hoehe + 0;
Fenster_Breite = Breite + 0;
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></head>');
document.writeln('<body bgcolor="#ffffff" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">');
document.writeln('<a href="javascript:window.close();"><img src="'+Bild+'" width='+Breite+' height='+Hoehe+' border=0 title="Klicken Sie, um das Fenster zu schlie&szlig;en" alt="'+Titel+'"></a>');
document.writeln('</body></html>');
}
}

function zu()
{
if (neues_Fenster != null)
if (!neues_Fenster.closed)
if (neues_Fenster.close)
neues_Fenster.close();
}



