menu_1 = new Image();
menu_1.src = "img/menu/menu_i.gif";
menu_2 = new Image();
menu_2.src = "img/menu/menu_i_anim.gif";
menu_3 = new Image();
menu_3.src = "img/menu/menu_hviezda.gif";
menu_4 = new Image();
menu_4.src = "img/menu/menu_hviezda_anim.gif";
menu_5 = new Image();
menu_5.src = "img/menu/menu_telefon.jpg";
menu_6 = new Image();
menu_6.src = "img/menu/menu_telefon_anim.gif";
lang_1 = new Image();
lang_1.src = "img/jazyk/slovensky.gif";
lang_2 = new Image();
lang_2.src = "img/jazyk/slovensky_flag.gif";
lang_3 = new Image();
lang_3.src = "img/jazyk/magyarul.gif";
lang_4 = new Image();
lang_4.src = "img/jazyk/magyarul_flag.gif";
lang_5 = new Image();
lang_5.src = "img/jazyk/deutsch.gif";
lang_6 = new Image();
lang_6.src = "img/jazyk/deutsch_flag.gif";
lang_7 = new Image();
lang_7.src = "img/jazyk/english.gif";
lang_8 = new Image();
lang_8.src = "img/jazyk/english_flag.gif";

//premenna x - pole v menu
function OnCursorOver(x){
	if ((x==m1a)||(x==m1b)){
		m1b.style.color="DF1D0F";
		m1a.src="img/menu/menu_i_anim.gif";
		//x.style.backgroundColor="#eaeaea";
	} else if ((x==m2a)||(x==m2b)){	
		m2b.style.color="DF1D0F";
		m2a.src="img/menu/menu_hviezda_anim.gif";
		//x.style.backgroundColor="#eaeaea";
	} else if ((x==m3a)||(x==m3b)){
		m3b.style.color="DF1D0F";
		m3a.src="img/menu/menu_telefon_anim.gif";
		//x.style.backgroundColor="#eaeaea";
	}else if(x==j1){
		j1.src="img/jazyk/slovensky.gif";	
	}else if(x==j2){
		j2.src="img/jazyk/magyarul.gif";	
	}else if(x==j3){
		j3.src="img/jazyk/deutsch.gif";	
	}else if(x==j4){
		j4.src="img/jazyk/english.gif";	
	}
	x.style.cursor="hand";
}
function OnCursorOut(x){
	if (x==m1b){
		m1b.style.color='#211064';
		m1a.src="img/menu/menu_i.gif";		
	}else if ((x==m2a)||(x==m2b)){
		m2b.style.color='#211064';
		m2a.src="img/menu/menu_hviezda.gif";		
	}else if ((x==m3a)||(x==m3b)){
		m3b.style.color='#211064';
		m3a.src="img/menu/menu_telefon.gif";	
	}else if(x==j1){
		j1.src="img/jazyk/slovensky_flag.gif";	
	}else if(x==j2){
		j2.src="img/jazyk/magyarul_flag.gif";	
	}else if(x==j3){
		j3.src="img/jazyk/deutsch_flag.gif";	
	}else if(x==j4){
		j4.src="img/jazyk/english_flag.gif";	
	}/* else if(x==m3b){
		x.style.color='#0000A0';
		x.style.backgroundColor="#ffffff";
		//alert("m3 out");
	} else if(x==m3a){
		x.style.color='#0000A0';
		x.style.backgroundColor="#ffffff";
		//alert ("m4 out");
	}else if(x==m5){
		svk.src= SVK2.src;
	} else if(x==m6){
		hu.src= HU2.src;
	} else if(x==m7){
		eng.src= ENG2.src;
	} else if(x==m8){
		ger.src= GER2.src;
	}*/
	//x.style.color='#034abd';
}

function spust(a){
	if (a==m1a){
		this.window.top.location="index.html";
	}/*else if (a==m2){
		this.window.top.location="sluzby.html";
	}else if (a==m3){
		this.window.top.location="park.html";
	}else if (a==m4){
		this.window.top.location="kontakt.html";
	}else if (a==m5){
		window.status="Slovakian";
		this.window.top.location="kontakt.html";
	}	*/

}


function doButtons(textimage, a) {
	if (a==m1){
		m1.background=textimage;
		m1.style.color="red";
		m1.style.cursor="hand";
	}else if (a==m2){
		
	}else if (a==m3){
	
	}
}
//  End -->

