
	function winSizer(){
//		wndwW = window.screen.availWidth; 
//		wndwH = window.screen.availHeight; 
//		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 showIT(vrstva){
		var lay = document.getElementById(vrstva);
		if (lay.style.display == "none") lay.style.display = "";
		return false;
	}

	function hideME(vrstva){
		var lay = document.getElementById(vrstva);
		if (lay.style.display != "none") 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 galerie(obrazek,verze){
		return !window.open("image.php?inwin=true&id="+obrazek,"open_gallery"+obrazek,"menubar=no,directories=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=no,width=150,height=150");
	}

	var zpet = false;