var tempX=0;var tempY=0;var pozadovanaVrstva="";var aktualniCast="";var winW=630;var IE=false;if(navigator.appName.substr(0,9)=="Microsoft"){IE=true}if(!IE){document.captureEvents(Event.MOUSEMOVE);winW=window.innerWidth-200}else{winW=winW-200}function zobrazeni(b,a){if(a=="v"){pozadovanaVrstva=b;string='ukaz("'+b+'");';setTimeout(string,100)}if(a=="h"){document.onmousemove="";pozadovanaVrstva=b;string='schovej("'+b+'");';setTimeout(string,100)}}function ukaz(a){document.getElementById(a).style.display="block"}function schovej(a){document.getElementById(a).style.display="none"}function getMouseXY(a){if(IE){tempX=event.clientX+document.body.scrollLeft;tempY=event.clientY+document.body.scrollTop}else{tempX=a.pageX;tempY=a.pageY}if(tempX<0){tempX=0}if(tempY<0){tempY=0}if(tempX>winW){tempX=winW}document.getElementById(pozadovanaVrstva).style.top=tempY+10;document.getElementById(pozadovanaVrstva).style.left=tempX+10;document.onmousemove="";return true}function FormSendData(c,a){var b=c;if(b){jQuery.blockUI({message:'<h2>Moment prosím...</h2><img src="'+zacatekUrl+'images/loading_animation.gif" alt="upload dat in progress" />',css:{border:"none",width:"250px",padding:"15px",left:($("body").width()/2-140)+"px",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px",opacity:".5",color:"#fff"}});if(a){b.submit()}}}function SessionRefresh(a){if(a>0){if($("#SessionRefresh").size()==0){$("body").append('<div id="SessionRefresh" style="display:none;"></div>')}$("#SessionRefresh").load(zacatekUrl+"session_refresh.php");var b=a*1000;setTimeout("SessionRefresh("+a+")",b)}}if(refreshSessionTime>0){SessionRefresh(refreshSessionTime);refreshSessionTime=0}function include(c){if(document.createElement&&document.getElementsByTagName){var b=document.getElementsByTagName("head")[0];var a=document.createElement("script");a.setAttribute("type","text/javascript");a.setAttribute("src",c);b.appendChild(a)}else{alert("Your browser can't deal with the DOM standard. That means it's old. Go fix it!")}}function is_number(a){if(isNaN(a)){return false}else{return true}};