<!-- opening image -->
function zvetsi(obrazek,gal,sirka,vyska)
 {
  if (sirka>screen.width)
   {
    sirka=screen.width-10
   }
  if (vyska>screen.height)
   {
    vyska=screen.height-50
   }
  newWin = window.open('obrazky.php?obrazek='+obrazek+'&gal='+gal,'','toolbar=no,location=no,scrollbars=auto,resizable=yes,width='+sirka+',height='+vyska+',left=10,top=10')
 }

