// JavaScript Document
function Cvak(co){
  switch (co){
    case "cz":
      window.location = "index.php"; 
    case "en":
      window.location = "index_en.php";
    }  
  }

function Zvyrazni(Image) { 
  Image.src = Image.src.substring(0,Image.src.length-4)
  + "_vetsi" + Image.src.substring(Image.src.length-4,Image.src.length);   
  }
    
function Zpet(Image) { 
  Image.src = Image.src.substring(0,Image.src.length-10)
  + Image.src.substring(Image.src.length-4,Image.src.length);   
  } 
  
  
function Verze(flag)
  {
  var pripona = location.href.substring(location.href.length-4);
  var verze = location.href.substring(location.href.length-8,location.href.length-4);
  
  switch (flag){
    case "en":
      if (verze="_cz"||"_de"){     
        soubor =  location.href.substring(0,location.href.length-7);
        nova =  soubor + "_en" + pripona;  //alert(nova);
        window.location= nova;
        }      
    break;
        
    case "cz":
      if (verze="_en"||"_de"){
        soubor =  location.href.substring(0,location.href.length-7);
        nova =  soubor + "_cz" + pripona; //alert(nova);
        window.location= nova;
        }
    break;
    
    case "de":
      if (verze="_en"||"_cz"){
        soubor =  location.href.substring(0,location.href.length-7);
        nova =  soubor + "_de" + pripona; //alert(nova);
        window.location= nova;
        }
    break;
    } 
  }
  
  function brzo()  {
   alert("Rozpisy jmen a časů budou k dispozici na webu nejpozději 17. dubna. \n\n\nDetailed schedule will be available on April the 17th at the latest.");
  
  
  }