/*-------------------------------------------------------------------------------------------------------------
	Modified by Charles Conway
	www.cconway.com
	January 2003
	Added Description, Title and Date
--------------------------------------------------------------------------------------------------------------*/

function showPic(imgName, imgAlt) 
	{
	w = window.open('','Náhled','toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no');
	w.document.write( "<html>" );
	w.document.write( "<head>" );
	w.document.write( "<title>"+ imgAlt +"</title>" );
	w.document.write( "<style type='text/css' media='all'>@import 'styl.css';</style>" );
	w.document.write( "<script language='javascript'>" );
	w.document.write( "function autosize() {\n" );
	w.document.write( "self.resizeTo(document.images[0].width+45,document.images[0].height+75)\n" );
	w.document.write( "self.focus()\n" );
	w.document.write( "}\n");
	w.document.write( "</script>\n");
	w.document.write( "</head>" );
	w.document.write( "<body bgcolor='#c6e7f8' onload='javascript:autosize()'>" );
	w.document.write( "<div class='padding'>" );
	w.document.write( "<div class='frame'><center><a href='javascript:top.window.close()' title='"+ imgAlt +"' ><img border='0' src='"+imgName+"' alt='"+ imgAlt + "'></a></center></div>" );
	w.document.write( "</div>" );
	w.document.write( "</body></html>" );
	w.document.close();
	}

