<!--
	function winH() {
	   if (window.innerHeight)
	      /* NN4 a kompatibilní prohlížeče */
	      return window.innerHeight;
	   else if
	   (document.documentElement &&
	   document.documentElement.clientHeight)
	      /* MSIE6 v std. režimu - Opera a Mozilla
	      již uspěly s window.innerHeight */
	      return document.documentElement.clientHeight;
	   else if
	   (document.body && document.body.clientHeight)
	      /* starší MSIE + MSIE6 v quirk režimu */
	      return document.documentElement.clientHeight;
	   else
	      return null;
	}
	
	function viewPicture(imgsrc,imgw,imgh,imgtitle)
	{
		fromtop=document.documentElement.scrollTop;
		e=document.getElementById('ol');
		eio=document.getElementById('io');
		e.className='imgover';
		height=winH();
		bheight=document.documentElement.scrollHeight;
		if (bheight>height) oh=bheight; else oh=height;
		e.style.height=oh;
	
		et=(height-imgh-22)/2+fromtop;	// 2x border override
		eio.className='imgover-img';
		eio.style.top=et+'px';
//		eio.innerHTML='<div class="imgover-obalka" style="width: '+imgw+'px;"><img src="'+imgsrc+'" alt="" width="'+imgw+'" height="'+imgh+'" border="0" onclick="closeimgover()" id="iim" title="Close" style="margin-bottom: 5px;"><br />'+imgtitle+'<br /><img src="/eu-images/img_view_close.gif" alt="" width="60" height="18" border="0" id="oiclose" align="right"><br /></div>';
		eio.innerHTML='<div class="imgover-obalka" style="width: '+imgw+'px;"><img src="'+imgsrc+'" alt="" width="'+imgw+'" border="0" onclick="closeimgover()" id="iim" title="Close" style="margin-bottom: 5px;"><br />'+imgtitle+'<br /><img src="/eu-images/img_view_close.gif" alt="" width="60" height="18" border="0" id="oiclose" align="right"><br /></div>';
		document.getElementById('oiclose').style.left=(document.documentElement.scrollWidth+imgw)/2-18;
		document.getElementById('oiclose').style.top=9;
	}
	
	function closeimgover()
	{
		e=document.getElementById('ol');
		eio=document.getElementById('io');
		e.className='imgover-hidden';
		eio.className='imgover-hidden';
	}
//-->


