var lc=0,vsti=1,partni=1,pl=new Array(97085,97079,97078,97077,97070,97069,97080,97083,97087,97075,97084,105728,114833,173546,173547,173548,173549,173550,173551,97082,173553,173556,173558,173560,173562,173564,173566,179771,187531,189866,97071,205374,205375,205376,231156,239027,97076,97074,97073,97072,97088),pu=new Array('','http://www.vzs-kv.cz/','http://www.rozhlas.cz','http://www.liferescue.eu/','http://www.floriansdorf.de/','http://www.csicr.cz/','','http://www.rescue.sk/','http://www.sokolov.cz','http://www.army.cz/scripts/detail.php?id=6840','http://www.mpkv.cz','','http://www.ohkcheb.cz/','http://www.hzscb.cz','http://www.hzs-kvk.cz','http://www.hzszlk.eu','http://www.hzspk.cz','http://www.hzsoul.cz','http://www.hzskladno.cz','http://www.policie.cz/krajske-reditelstvi-policie-kvk.aspx','http://www.dh.cz','http://www.mestocheb.cz','http://www.azzs.cz','http://www.ibesip.cz','http://www.sikcz.cz','http://www.mediafax.cz','http://www.chmi.cz','www.hzspraha.cz','http://www.dsa.cz/cz/','http://www.asociacekraju.cz/','http://www.hscr.cz','www.senat.cz','www.muni.cz','www.skpz.cz','http://www.hasici-vysocina.cz/','http://www.prevence-info.cz','http://zbkkk.cz/','http://www.karlovyvary.cz','http://www.kr-karlovarsky.cz','http://www.hzs-kvk.cz','http://www.zachrankakv.cz');var po=new Array();for(i=0;i=pl.length){lc=0}}setTimeout("pch()",2000)}function xbuy(c,b,a){var d=GetXMLHttpRequest();if(d){d.onreadystatechange=function(){if(d.readyState==4){var k=d.responseText.split(/\|\|/);var f=document.getElementById("b");var g=document.getElementById("im"+c);var j=document.getElementById("main");var h=findPos(g);var e=findPos(j);f.style.left=(h[0]-e[0]+g.width+5)+"px";f.style.top=(h[1]-e[1]+g.height-155)+"px";f.innerHTML=k[1];f.style.display="block";window.setTimeout("xbclose()",3000)}};d.open("GET","/badd.php?pidx="+c+"&pcnt="+b+"&bskt="+a,true);d.send("")}}function xbclose(){document.getElementById("b").style.display="none"}function hide(a){document.getElementById(a).style.display="none"}var amenu=1;var amenup=0;function mswitch(e){var b=$("#um"+amenu),d=$("#u"+amenu);if(e){if(amenu==e){return}amenu=e;amenup=1}else{if(amenup){return}amenu++;if(amenu>amenuc){amenu=1}}var c=$("#um"+amenu),a=$("#u"+amenu);if(e){c.css({opacity:1}).addClass("a")}else{c.css({opacity:0}).addClass("a").animate({opacity:1},1000)}a.addClass("a");if(e){b.removeClass("a")}else{b.animate({opacity:0},1000).removeClass("a")}d.removeClass("a")}function mreturn(){amenup=0}function mlreg(){if(!CheckEmailEntry(document.fn.mlemail,"Mus�te zadat email!")){return false}if(!document.fn.ou.checked){alert("Je pot�eba ud�lit souhlas se zpracov�n� osobn�ch �daj�.");return false}return true}function hlz(b,c,a){for(i=1;i<=5;i++){var d=document.getElementById("hl"+b+"x"+i);if(c>=i){d.src="/img/hv1.png"}else{d.src="/img/hv0.png"}}}function hlo(b,a){hlz(b,a,a)}function ohl(b,a){var c=GetXMLHttpRequest();if(c){c.onreadystatechange=function(){if(c.readyState==4){var d=document.getElementById("hl"+b);if(!c.responseText){alert("Ji� jste hlasoval!")}else{d.innerHTML=c.responseText}}};c.open("GET","/vote.php?k="+b+(a?"&hl="+a:""),true);c.send("");if(a){alert("D�kujeme za hlas.")}}}function vstrot(){document.getElementById("vys").innerHTML=vsts[vsti];vsti++;if(vsti+1>=vsts.length){vsti=1}}function partnrot(){document.getElementById("partner").src="/image.php?idx="+partn[partni]+"&mw=220";partni++;if(partni+1>partn.length){partni=1}}function zkonload(){if(vsti){setInterval("vstrot()",3000)}if(typeof partn!="undefined"){setInterval("partnrot()",3000)}}function wlogin(f,g,d,e,b){sb((e?"https://www.zachranny-kruh.cz":"")+"/win.php?page=blogin&pg="+f+"&cat="+g+"&idx="+d+(b?"&"+b:""))}function esh(a){sb("/win.php?page=poslatodkaz&su="+a)}function kom(b,a){sb("/win.php?page=komentar&dsc="+b+(a?"&odp="+a:""))}function idopr(a){sb("/win.php?page=info.doprava&dopr="+a)}function cb(){var a=document.getElementsByTagName("body");a[0].style.overflow="auto";document.getElementById("over").style.display="none";document.getElementById("bb").style.display="none"}function sb(m,c,k,l,d){var e=document.getElementsByTagName("body");e[0].style.overflow="hidden";var j=document.getElementById("over");j.style.display="block";j.style.top=window.pageYOffset?window.pageYOffset+"px":document.body.scrollTop+"px";var j=document.getElementById("bb");if(m){j.className=""}j.style.top=((window.pageYOffset?window.pageYOffset:document.body.scrollTop)-(e[0].className=="hp"?425:144))+"px";if(k){j.style.height="30px";j.innerHTML=k;document.activeElement.blur();if(d){d()}}else{var a=l?l:getWindowHeight()-200;j.style.height=a+"px";if(m){j.innerHTML='
';if(d){d()}}else{if(c){var g=GetXMLHttpRequest();if(g){g.onreadystatechange=function(){if(g.readyState==4){j.innerHTML='
'+g.responseText;if(d){d()}}};g.open("GET",c,true);g.send("")}}}}j.style.display="block";j.style.top=((window.pageYOffset?window.pageYOffset:document.body.scrollTop)+(getWindowHeight()-j.offsetHeight)/2-document.getElementById("main").offsetTop)+"px"}function zpob(b,d,a){sb("/map.odbmista.php?dp="+d+"&pi="+b+"&vaha="+a)}function zpobs(d,b){var a=document.getElementById("pdopr"+d);for(var c=0;cttl){slp=ttl}}}document.getElementById("slkf").innerHTML=e[3];document.getElementById("slkb").style.display="none";document.getElementById("slc").value=String(-slp)+" K�";cd()}else{alert("Kup�n nen� platn�!")}}};c.open("GET","/chcoupon.php?k="+a.value,false);c.send("")}if(b){return false}}function cfav(b,a){var c=GetXMLHttpRequest();if(c){c.onreadystatechange=function(){if(c.readyState==4){var d=parseInt(c.responseText);document.getElementById("cfv"+b).innerHTML=d?"-":"+"}};c.open("GET","/ajax/cfav.php?idx="+b+(a?"&t="+a:""),true);c.send("")}}function mmi(){var a=findPos(document.getElementById("zb0"));window.scrollTo(0,a[1]-1)}var pdlp;function drcnt(n){var h=0,a=0,k=0;for(var f=1;f1;for(var f=1;f'+(A_TCALCONF.yearscroll?'':"")+''+A_TCALCONF.months[k.getMonth()]+" "+k.getFullYear()+''+(A_TCALCONF.yearscroll?'':"")+'';for(var f=0;f<7;f++){g+=""}g+="";var l,e,m=new Date(d);while(m.getMonth()==k.getMonth()||m.getMonth()==d.getMonth()){g+="";for(var c=0;c<7;c++){b=[];l=m.getDate();e=m.getMonth();if(m.getMonth()!=k.getMonth()){b[b.length]=p+"OtherMonth"}if(m.getDay()==0||m.getDay()==6){b[b.length]=p+"Weekend"}if(m.valueOf()==a.valueOf()){b[b.length]=p+"Today"}if(m.valueOf()==j.valueOf()){b[b.length]=p+"Selected"}g+="':">")+l+"";m.setDate(++l)}g+=""}g+="
"+A_TCALCONF.weekdays[(A_TCALCONF.weekstart+f)%7]+"
";return g}function f_tcalRelDate(b,c,a){var a=(a=="y"?"FullYear":"Month");var d=new Date(b);if(c){d["set"+a](b["get"+a]()+c);if(d.getDate()!=b.getDate()){d.setDate(0)}}return' onclick="f_tcalUpdate('+d.valueOf()+(c?",1":"")+')"'}function f_tcalResetTime(a){a.setMilliseconds(0);a.setSeconds(0);a.setMinutes(0);a.setHours(12);return a}function f_tcalCancel(){var b=A_TCALCONF.cssprefix;var d=document.getElementById(b);if(d){d.style.visibility=""}var a=f_tcalGetInputs();for(var c=0;c