
	wndwW = window.screen.availWidth; 
	wndwH = window.screen.availHeight; 
	function winSizer(){
		window.moveTo(0,0); 
		window.resizeTo(wndwW,wndwH); 
	}

	function btn_ov(btn){
		if (!btn.disabled) btn.className = "btn-ovr";
	}

	function btn_ou(btn){
		if (!btn.disabled) btn.className = "btn";
	}

	function systemSUBMIT(){
//		document.edit.onsubmit(); // workaround browser bugs.
		document.edit.submit();
	};

	function showME(vrstva){
		var lay = document.getElementById(vrstva);
		if (lay.style.display == "none") lay.style.display = "";
		else lay.style.display = "none";
		return false;
	}

	function hideLAYER(kdo,koho,hidevalue){
		if (kdo.checked == hidevalue) stav = "none";
		else stav = "";
		document.getElementById(koho).style.display = stav;
		return false;
	}

	function gallery(obrazek){
		window.open("image.php?inwin=true&objekt="+obrazek,"open_gallery"+obrazek,"menubar=no,directories=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=no,width=150,height=150");
		return false;
	}

	var zpet = false;
