function ukaz(obj)
{
	// Pro NN 4+
	if (document.layers)
	{ 
		document.layers[obj].visibility = "show";
	}	
	// Pro IE 4
	if (document.all && !document.getElementById) document.all[obj].style.visibility = "visible";
	// Pro NN 6+, IE 5+, Mozillu 1.2+, Operu 7+
	if (document.getElementById) document.getElementById(obj).style.visibility = "visible";
}
function schov(obj)
{
	if (document.layers)
	{
		document.layers[obj].visibility = "hide";
	}	
	if (document.all && !document.getElementById) document.all[obj].style.visibility = "hidden";

	if (document.getElementById) document.getElementById(obj).style.visibility = "hidden";
}

function onitem(obj)
{
 obj.style.color = "";
 obj.style.backgroundColor = "0000CC";
}
function outitem(obj)
{
 obj.style.color = "";
 obj.style.backgroundColor = "";
}

// ----------------------------------------
// preload
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) history.go(0);
}
MM_reloadPage(true);

// ----------------------------------------
// rozliseni
function rozlis() {
var rozliseni = screen.width; //+"x"+screen.height;
if (rozliseni > 800) document.write('<img src="<?php echo $uroven; ?>images/shared/header_img/<?php if (isset($header_img)){echo $header_img;}else {echo "text";} ?>.gif" width="235" height="97" alt="">');
}
