Fensterzahl=0

function zu()
{
if(Fensterzahl>0&&F1.closed==false)
F1.close()
}

function fenster(URL1,breite,hoehe)
{
links=(0)/2
oben=(0)/2
if(Fensterzahl>0)
{
if(F1.closed==false)
F1.close()
}
Fensterzahl=1
F1=open("","","width="+breite+",height="+hoehe+",top="+oben+",screenY="+oben+",left="+links+",screenX="+links)
F1.document.open();
F1.document.write('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">')
F1.document.write('<a href="javascript:window.close()"><img border="0" src="'+URL1+'"></a></body>')
F1.document.close();
}

