function Vyber(cislo)	{
	var cesta = "../" + cislo + "/" + cislo + ".htm"
	location.href = cesta;
}

   function Legenda(cislo)
   {
		var leg=window.open('../index/legenda'+cislo+'.htm','legenda','toolbar=0,scrollbars=1,location=0,resizable=1,width=320,height=540,status=0,left=100,top=100');
		leg.self.focus();
   }

   function Horniny(file)
   {
		var hor=window.open(file,'hortypy','toolbar=0,scrollbars=1,location=0,resizable=1,width=640,height=440,status=0,left=120,top=120');
		hor.self.focus();
   }

   function Vysvetlivky(cislo)
   {
		var vys=window.open('../index/vysvetlivky'+cislo+'.htm','vysvetlivky','toolbar=0,scrollbars=1,location=0,resizable=1,width=640,height=440,status=0,left=140,top=140');
		vys.self.focus();
   }

   function Detail(file)
   {
		filename = file + ".htm"
		var detail=window.open(filename,file,'toolbar=0,scrollbars=1,location=0,resizable=1,width=800,height=740,status=0,left=50,top=50');
		detail.self.focus();
   }

   function Prechod(file)
   {
		filename = file + ".htm"
		adresar = filename.substring(0,4);
		cesta = "../" + adresar + "/" + filename
		var okno=window.open(cesta, file,'toolbar=0,scrollbars=1,location=0,resizable=1,width=800,height=740,status=0,left=50,top=50');
		okno.self.focus();
   }

	function Data(file)
	{
		 var data=window.open(file,'data','toolbar=0,scrollbars=0,location=0,resizable=1,width=320,height=260,status=0,left=150,top=150');
		 data.self.focus();
	}

