function mwzoom(zp,zt,imw,imh)
   {
      MWImage = window.open('','_blank','width='+(imw)+',height='+(imh)+',menu=0,navigate=0,statusbar=0,top='+(screen.height/2-imh/2)+',left='+(screen.width/2-imw/2)+'');

      with (MWImage.document)
      {
      open();
       writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
       writeln('<html>');
       writeln('<head>');
       writeln('<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />');
       writeln('<meta http-equiv="Content-Language" content="cs" /> ');
       writeln('<title>'+zt+'</title>');  
       writeln('<style type="text/css"> ');
       writeln('body {margin-top: 0px;font-family: Verdana, \'Geneva CE\', lucida, sans-serif; margin: 0;padding: 0;color: #333333;background-color : #ffffff;text-align: center;}');
       writeln('h1 {padding:0px;margin:5px;font-weight:bold;font-size:10pt;color:#ff3300;}');
       writeln('img {cursor:pointer;}');
       writeln('.bt {font-size : 8pt;font-weight: bold;color:#ffffff;border-top: solid 1px #aaaaaa;border-bottom: solid 1px #666666;border-left: solid 1px #aaaaaa;border-right: solid 1px #666666;background: #888888;text-align: center;}');
       writeln('</style>');
       writeln('</head>');
       writeln('<body>');
       writeln('<h1>'+zt+'</h1>');
       writeln('<img src="'+zp+'" onclick="window.close();" />');
       writeln('<p style="text-align:center;"><input type="button" onclick="window.close()" value="zavří­t" class="bt" /></p>');  
       writeln('</body>\n</html>');
      close();
      }
      MWImage.focus();     
}

   
function getswf(id,param,w,h,play,loop,bg)
{
 	if (AC_FL_RunContent == 0) {
		alert('Error - script not found');
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
			'width', w ,
			'height', h ,
			'src', param,
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', play ,
			'loop', loop ,
			'scale', 'showall',
			'wmode', 'transparent',
			'devicefont', 'false',
			'id', id ,
			'bgcolor', bg,
			'name', id ,
			'menu', 'false',
			'allowScriptAccess','sameDomain',
            'movie', param,
			'salign', ''
			); //end AC code
	}

}

