function nacteniObrazku(){
	img1 = new Image();
	img1.src = "images/buttons/uvodover.jpg";
	img2 = new Image();
	img2.src = "images/buttons/restauraceover.jpg";
	img3 = new Image();
	img3.src = "images/buttons/ubytovaniover.jpg";
	img4 = new Image();
	img4.src = "images/buttons/rezervaceover.jpg";
	img5 = new Image();
	img5.src = "images/buttons/jidelni_listekover.jpg";
	img6 = new Image();
	img6.src = "images/buttons/denni_menuover.jpg";
	img7 = new Image();
	img7.src = "images/buttons/kontaktover.jpg.jpg";
}
function najeti(tlacitko){
	tlacitko.src = "images/buttons/"+tlacitko.name+"over.jpg";
}
function vyjeti(tlacitko){
	tlacitko.src = "images/buttons/"+tlacitko.name+".jpg";
}
function stisk(tlacitko){
	switch(tlacitko.name){
		//odkazy tlacitek
		case "uvod":
			window.open("index.aspx","_self");
			break
		case "restaurace":
			window.open("restaurace.aspx","_self");
			break
		case "ubytovani":
			window.open("ubytovani.aspx","_self");
			break
		case "rezervace":
			window.open("rezervace.aspx","_self");
			break
		case "jidelni_listek":
			window.open("jidelni_listek.aspx","_self");
			break
		case "denni_menu":
			window.open("denni_menu.aspx","_self");
			break
		case "kontakt":
			window.open("kontakt.aspx","_self");
			break
	}			
}
function zvetsit(a) {
 a.style.visibility = "hidden";
 dzvys2.style.visibility = "visible";
 text1.style.font = "15px;";
 text2.style.font = "15px;";
 text3.style.font = "15px;";
 }
 function zmensit(a) {
 a.style.visibility = "hidden";
 dzvys1.style.visibility = "visible";
 text1.style.font = "11px;";
 text2.style.font = "11px;";
 text3.style.font = "11px;";
 }
