function domu(){
	window.location.replace("./");
	}
	function jdi(kam){
	window.location.replace(kam);
	}
	
	function onmenu(id, href){
	document.getElementById(id).style.background='#DF4A4A';
	document.getElementById(id).style.cursor='pointer';
	document.getElementById(href).style.color='white';
	}
	function outmenu(id, href){
	document.getElementById(id).style.background='#EFEFEF';
	document.getElementById(id).style.cursor='pointer';
	document.getElementById(href).style.color='#444444';
	}
	
	function pointeron(co){
	document.getElementById(co).style.cursor='pointer';
	}
	function pointeroff(co){
	document.getElementById(co).style.cursor='none';
	}
	
	function zobraz(co){
	stav = document.getElementById(co).style.display;
	proved = document.getElementById(co).style.display = (stav=="none") ? "block" : "none";
	window.location.replace("./vyrobky.html");
	}
	function zobrazB(co){
	stav = document.getElementById(co).style.display;
	proved = document.getElementById(co).style.display = (stav=="none") ? "block" : "none";
	window.location.replace("./eshop.html");
	}
	function kontrola(){
	co = document.getElementById('pravforma');
	
	if(co.value=="1"){
	document.getElementById('fyzicka-osoba').style.display = "block";
	document.getElementById('pravnicka-osoba').style.display = "none";
	}else{
	document.getElementById('fyzicka-osoba').style.display = "none";
	document.getElementById('pravnicka-osoba').style.display = "block";
	}
	
	}
 	
 	function zmenbg(ceho){
	document.getElementById(ceho).style.background='#e8e8e8';
	}
	function vratbg(ceho, barva){
	document.getElementById(ceho).style.background=barva;
	}
	
	function skutecne(){
  	msg = "Vstupem do WEBSHOPU souhlasíte s Obchodními podmínkami, které jsou uvedeny výše. K objednání přes WEBSHOP není nutná registrace, stačí vyplnit osobní údaje a telefon při odesílání košíku. Pokračovat?";
    return confirm(msg);
	}
	 
