function ok(a,j) {
	okynko=window.open('./'+j+'/'+a,"INFO","left=10,top=10,width=250,height=300,toolbar=no,location=no,"+"directories=no,status=no,copyhistory=no,scrollbars=yes");
	okynko.focus();
}

function pryc()
{
	if (!no.closed) 
    	{
      		no.close() 
    	};
}

function zoom(jmeno, popis, wid, hei)
{
//    	pryc();
//    	no=window.open("","zoom","left=10,top=10,width=510,height=510, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no");
    	no=window.open("","zoom","left=10,top=10, width="+(wid+10)+", height="+(hei+10)+", toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no");
	with (no.document)
    	{
      		open();
      		writeln('<HTML>');
      		writeln('<LINK REL=stylesheet type="text/css" href="css.css" title="styl">');
      		writeln('<BODY TOPMARGIN="0" LEFTMARGIN="0" link="Yellow" bgcolor="#C0FFC0">\n<CENTER>');
      		writeln('<TABLE border=0 width=100% height=100%>');
      		writeln('<TR><TD VALIGN="Middle" ALIGN="Center">');
      		writeln('<TABLE border=0>');
      		writeln('<TR><TD VALIGN="Middle" ALIGN="Center">');
		
      		writeln('<A href="javascript:window.close();"><IMG SRC="'+jmeno+'" border=0 alt="Kliknutím zavøete toto okno"></A>');
      		writeln('</TD></TR></TABLE>');
      		writeln('</TD></TR></TABLE>');
      		writeln('');
      		writeln('</CENTER>\n</BODY>\n</HTML>');
      		close();
      		focus();
    	}
    	no.document.title = popis;
    	no.focus();
}

function zoomFile(jazyk,soubor, popis)
{
soub="./"+jazyk+"/akce/"+soubor;
window.open(soub,"zoom","left=10,top=10, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no");
}

function zoom1(ID, jazyk)
{

    	no=window.open("foto.php?ID="+ID+"&jaz="+jazyk,"zoom","left=10,top=10, width=100, height=100, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no");
    	no.focus();
}












