<!--
 function okno(Naz,Sir,Vys,Cesta)
  {VysOkna = Vys+15;
   SirOkna = Sir;
   if (Vys>(screen.height-10)) {
	  Sir = Sir * (screen.height-10) / Vys;
	  Vys = screen.height-10;
	}
	if (Sir>(screen.width-10)) {
	  Vys = Vys * (screen.width-10) / Sir;
	  Sir = screen.width-10;
	}
   msgWindow=window.open("","Foto","width="+SirOkna+", height="+VysOkna+", top="+((screen.height-VysOkna)/2-5)+", left="+((screen.width-SirOkna)/2)+", scrollbars=no");
   msgWindow.close();  // je to kvůli zobrazování vždy do stejného okna
   msgWindow=window.open("","Foto","width="+SirOkna+", height="+VysOkna+", top="+((screen.height-VysOkna)/2-5)+", left="+((screen.width-SirOkna)/2)+", scrollbars=no");
   msgWindow.document.write("<HEAD><TITLE></TITLE></HEAD>");
   msgWindow.document.write("<body leftmargin=0 topmargin=0 onclose=\"javascript:delname();\">");
   msgWindow.document.write("<script>function delname(){msgWindow.name=\'\'}<\/script>");
   msgWindow.document.write("<table width=100% align=\"center\" cellspacing=0 cellpadding=0>");
   msgWindow.document.write("<tr>");
   msgWindow.document.write("<td style=\"text-align:center;font-size:11px;\"><img style='border:0px' src='images/"+Cesta+"/"+Naz+".jpg' width="+Sir+" height="+Vys+" alt='Click to close window' onclick=\"window.close()\"><br>- click to close -</td></tr></table>");
   msgWindow.document.write("</body>")}
-->
