function show(url,width,height,text)
	{
		sirka = width;
		vyska = height;
		
		if(text != '') var pvyska = vyska+50;
		else var pvyska = vyska;
		
		no=window.open("", "zoomv", "width="+sirka+", height="+pvyska+", toolbar=no, menubar=no,"+
		"scrollbars=no, resizable=no, copyhistory=no");
		with (no.document)
		{
			open();
			writeln('<html>\n<title>Foto</title>\n<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" style="background: #F7F1E6; font-family: Georgia, "New York CE", utopia, serif; font-style: normal; font-size : 8pt;">\n<center>');
			writeln('<img src="'+url+'" width="'+sirka+'" height="'+vyska+'" border="0" onclick="self.close();" style="cursor: pinter; cursor: hand;">');
			writeln('<br /><br />'+text+'</center>\n</body>\n</html>');
			close();
		}
}

