intro=new Image();intro.src="img/intro.png";intro.onload=function(){setTimeout("fadeIntro()",200)};Cufon.replace("h1");Cufon.DOM.ready(function(){if(document.getElementById("home")){Cufon.replace($("#p-content").elmsByClass("news","h2")[0][0])}});hs.graphicsDir="js/highslide/graphics/";hs.align="center";hs.transitions=["expand","crossfade"];hs.wrapperClassName="dark ml slideshow";hs.fadeInOut=true;hs.showCredits=false;hs.dimmingOpacity=0.5;hs.addSlideshow({interval:5000,useControls:true,fixedControls:true,overlayOptions:{position:"bottom center",opacity:0.8,hideOnMouseOut:true}});hs.lang={loadingText:"Načítá se...",loadingTitle:"Klikněte pro zrušení",focusTitle:"Klikněte pro přenesení do popředí",fullExpandText:"Plná velikost",fullExpandTitle:"Zvětšit na původní velikost [F]",creditsText:"Powered by <i>Highslide JS</i>",creditsTitle:"Přejít na stránky Highslide JS",previousText:"Předchozí",previousTitle:"Předchozí [Šipka vlevo]",nextText:"Další",nextTitle:"Další [Šipka vpravo]",moveText:"Přesunout",moveTitle:"Přesunout",closeText:"Zavřít",closeTitle:"Zavřít [ESC]",resizeTitle:"Změnit velikost",playText:"Přehrát",playTitle:"Přehrát slideshow [Mezerník]",pauseText:"Pozastavit",pauseTitle:"Pozastavit slideshow [Mezerník]",number:"%1 / %2",restoreTitle:"Klikněte pro zavření obrázku, klikněte a táhněte pro jeho přesunutí. Použijte šipky na klávesnici pro přesun na další nebo předchozí."};onload=function(){setTitle("span");externalLinks()};function fadeIntro(){if(!dojo.byId("intro")){return}dojo.byId("intro").style.background="none";dojo.byId("p-nav").style.zIndex=60;dojo.query("div.news")[0].style.zIndex=60;dojo.fadeOut({node:"intro",delay:3000,duration:3000,onEnd:function(){dojo.byId("intro").style.display="none"}}).play()}function htmlIntro(){document.write('<div id="intro"><div class="in"></div></div>')}var activeId;function showMapItem(c){var b=$("#map").elmsByTag("a")[0];var a=$("#p-content").elmsByClass("item")[0];if(activeId){b[activeId-1].className="";a[activeId-1].style.display="none"}b[c-1].className="active";a[c-1].style.display="block";document.getElementById("map").style.marginBottom="-150px";window.scroll(0,1000);activeId=c;return false}function initMapItems(){var a=$("#p-content").elmsByClass("item")[0];for(var b=0;b<a.length;b++){a[b].style.display="none"}document.getElementById("map").style.marginBottom="0px"}function setTitle(a){var b=$("#p-content").elmsByTag(a)[0];for(var c=0;c<b.length;c++){if(b[c].className!=""){b[c].title=b[c].childNodes[0].nodeValue}}}if(document.uniqueID&&!window.XMLHttpRequest){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}function isUndefined(b){return typeof b=="undefined"}function getElementsByClassName(b,g,a){var f=(g=="*"&&b.all)?b.all:b.getElementsByTagName(g);var j=new Array();a=a.replace(/\-/g,"\\-");var h=new RegExp("(^|\\s)"+a+"(\\s|$)");var d;for(var c=0;c<f.length;c++){d=f[c];if(h.test(d.className)){j.push(d)}}return(j)}if(typeof document.documentElement.sourceIndex=="undefined"){HTMLElement.prototype.__defineGetter__("sourceIndex",(function(b){return function a(){return b.call(this.ownerDocument.getElementsByTagName("*"),this)}})(Array.prototype.indexOf))}function externalLinks(){if(!document.getElementsByTagName){return}var c=document.getElementsByTagName("a");for(var b=0;b<c.length;b++){var a=c[b];if(a.getAttribute("href")&&a.getAttribute("rel")=="external"){a.target="_blank"}}};