function dumbo(url,width,height,subtitle)

{

if (subtitle == "")
	{
	height = height + 60;
	}
else { 
height = height + 90; 
}

width = width + 40;

sw = screen.width;
sh = screen.height;

vpos = (sw/2)-(width/2);
hpos = (sh/2)-(height/2);

werdasliestistdoof = sw-width;
snoot = sh-height;

windowprops = 'height='+height+',width='+width+',scrollbars=no,resizable=no,top='+hpos+',left='+vpos+'';

if (werdasliestistdoof < 20) {
	width=sw-20;
	vpos = (sw/2)-(width/2);
	hpos = (sh/2)-(height/2);
	windowprops = 'height='+height+',width='+width+',scrollbars=yes,resizable=no,top='+hpos+',left='+vpos+'';}
if (snoot < 100) {
	vpos = (sw/2)-(width/2);
	hpos = (sh/2)-(height/2);
	height=sh-100;
	windowprops = 'height='+height+',width='+width+',scrollbars=yes,resizable=no,top=top='+hpos+',left='+vpos+'';}

title = Math.random();
title = 100000000000000000 * title;




popup = open("",title,windowprops);
popup.document.write("<html><head><title>"+subtitle+"</title><link rel=stylesheet type='text/css' href='../style.css'><body bgcolor='#cccfda' background='../back.jpg'><center><table cellpadding='0' cellspacing='0' border='0'><tr><td class='text'><center><img src='"+url+"' border='0'></center></td></tr>");

if (subtitle != "") {
popup.document.write("<tr><td><br><center><b>"+subtitle+"</b></center></td></tr>");
}
popup.document.write("<tr><td class='text'><center><br>[ <a href='javascript:self.close()'>Fenster schließen</a> ]</center></td></tr></table></body></html>");
popup.document.close;
}

