<!--<![CDATA[
        time=Date.parse(Date());
        function Okno(zdroj,vyska,sirka,tool) {
                reg=RegExp("^(https://www\.)","i");
                if (zdroj.match(reg)) {
                        zdroj=zdroj.replace(reg,'https://');
                }
                return window.open(zdroj, '', 'toolbar='+tool+',location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width='+sirka+',height='+vyska);
        }
        function OknoNove(zdroj,vyska,sirka,tool) {
                Okno(zdroj,vyska,sirka,tool);  // bez return
        }

        function Okno2(zdroj,tool) {
                reg=RegExp("^(https://www\.)","i");
                if (zdroj.match(reg)) {
                        zdroj=zdroj.replace(reg,'https://');
                }
                window.open(zdroj, '', 'toolbar='+tool+',location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width=640,height=480');
        }
        function Exec_OnLoad() {
                ind=0;
                while (top.onload_init[ind]) {
                        eval(top.onload_init[ind]);
                        ++ind;
                }
        }
        top.onload_init=Array();
        window.onload=Exec_OnLoad;

		document.write('<script type="text/javascript" src="/js/LibJS.js"></script>');


	function finGetCookie(name) {
		var start=document.cookie.indexOf(name+"=");
		var len=start+name.length+1;
		if ((!start)&&(name!=document.cookie.substring(0,name.length))) {
			return null;
		}
		if (start==-1) return null;
		var end=document.cookie.indexOf( ";",len);
		if (end==-1) end=document.cookie.length;
		return unescape( document.cookie.substring( len, end ) );
	}
	
	function finSetCookie(name,expire,value,path) {
		var d = new Date();
		d.setUTCDate(d.getDate() + expire);
		document.cookie = name + "=" + escape(value) + "; expires=" + d.toUTCString() + ";path="+path+";";
	}

	function finLimitImpression(name,limit,expire,path) {
		var d=new Date();
		path=path ? path : '/';
		if (expire==1) name=name+'_'+d.getDay();
		if (imp=finGetCookie(name)) {
			imp=parseInt(imp);
			if (imp<limit) {
				finSetCookie(name,expire,imp+1,path);
				return true;
			} else {
				return false;
			}
		} else {
			finSetCookie(name,expire,1,path);
			return true;
		}
	}

	function anketaHlasuj2006(id_modulu,id_kviz,id_odpoved) {
		window.location='?Hlasuj_'+id_modulu+'_'+id_kviz+'='+id_odpoved+'#kotva_'+id_modulu;
	}

	function finSwitchPage(elementon,idel) {
		//fce pro zobrazeni jen jednoho top level prvku
		//obvykle se pouzije pro zobrazeni interstitialu

		if (elementon) {
			displaymatch='';
			displayother='none';
		} else {
			displaymatch='none';
			displayother='';
		}
		with (document.getElementsByTagName("body")[0]) {
			for (i=0;i<childNodes.length;i++) {
				if (childNodes[i].style) {
					if (childNodes[i].id==idel) {
						childNodes[i].style.display=displaymatch;
					} else {
						childNodes[i].style.display=displayother;
					}
				}
			}
		}
	}
	
	function finIsOn(showtime) {
		//zobrazeni interstitialu
		//zapne/vypne IS
		if (top.finISoff!=true) {
			finSwitchPage(1,'interstitial');
		}

	}
	
	function finIsOff() {
		top.finISoff=true;
		finSwitchPage(0,'interstitial');
		return false;
	}

	function mouseX(evt) {
		if (evt.pageX) return evt.pageX;
		else if (evt.clientX)
		   return evt.clientX + (document.documentElement.scrollLeft ?
		   document.documentElement.scrollLeft :
		   document.body.scrollLeft);
		else return null;
	}
	function mouseY(evt) {
		if (evt.pageY) return evt.pageY;
		else if (evt.clientY)
		   return evt.clientY + (document.documentElement.scrollTop ?
		   document.documentElement.scrollTop :
		   document.body.scrollTop);
		else return null;
	}

	document.finTooltipHiders=new Array();

	function finTooltipHide() {
		document.finTooltipHiders[this.id]=setTimeout('document.getElementById(\''+this.id+'\').style.display=\'none\';',100);
	}

	function finTooltipHideCancel() {
		if (document.finTooltipHiders[this.id]) {
			clearTimeout(document.finTooltipHiders[this.id]);
		}
	}

	function finTooltipHideIE() {
		document.finTooltipHiders[document.finTooltipID]=setTimeout('document.getElementById(\''+document.finTooltipID+'\').style.display=\'none\';',25);
	}

	function finTooltipHideCancelIE() {
		if (document.finTooltipHiders[document.finTooltipID]) {
			clearTimeout(document.finTooltipHiders[document.finTooltipID]);
		}
	}

	function finTooltip(elid,html,evt) {
		//zkusime najit kontejner pro napovedu
		cont=document.getElementById(elid);
		if (!cont) {
			//kontejner nebyl nalezen - vytvorime novy prvku
			cont=document.createElement('div');		

			//nastavime ID noveho prvku
			cont.id=elid;
			//nastavime neviditelnost
			cont.style.display='none';
			//nastavime pevnou sirku
			cont.style.width='200px';
			//nastavime jeho tridu
			cont.className='finTooltipJS';
			//nastavime obsah
			cont.innerHTML=html;

			//pridame skryti tooltipu pri udalosti onmouseout
			if (cont.addEventListener) {
				//verze pro mozillu a operu
				cont.addEventListener('mouseout',finTooltipHide,false);
				cont.addEventListener('mouseover',finTooltipHideCancel,false);
			} else {
				//verze pro IE
				cont.attachEvent('onmouseout',function () {document.finTooltipID=elid; finTooltipHideIE();});
				cont.attachEvent('onmouseover', function () {document.finTooltipID=elid; finTooltipHideCancelIE();});
			}

			
			//nalezeni body v document tree
			mconts=document.getElementsByTagName('body');
			//pripojeni noveho elementu do DOM stromu tela stranky
			mconts[0].appendChild(cont);
		}

		//mame kontejner - zjistime si souradnice
		x=mouseX(evt);
		y=mouseY(evt);
				
    if (x&&y) {
			//mame platne souradnice - nastavime kontejner pod kurzor
			cont.style.left=(x-200)+'px';
			cont.style.top=(y-5)+'px';
			//zobrazime kontejner
			cont.style.display='';
			//potvrdime zobrazeni tooltipu
			return true;
		} else {
			//nemame platne souradnice - oooops
			return false;
		}
	}


//]]>-->
