
function UkazSkryty(layer_ref)
{
	var state = ''; 
	if(document.all)
	{ //IS IE 4 or 5 (or 6 beta) 
		eval("state=document.all.hid" +layer_ref+ ".style.display"); 
	} 
	if (document.layers) 
	{ //IS NETSCAPE 4 or below 
		state=document.layers["hid"+layer_ref].display ; 
	} 
	if (document.getElementById &&!document.all) 
	{ 
		hza = document.getElementById("hid"+layer_ref); 
		state=hza.style.display; 
	} 
	if(state == 'block'){ 
		state = 'none'; 
	}else{ 
		state = 'block'; 
	} 

	if(document.all)
	{ //IS IE 4 or 5 (or 6 beta) 
		eval("document.all.hid" +layer_ref+ ".style.display = state"); 
		eval("document.all.spac" +layer_ref+ ".style.display = state"); 
	} 
	if (document.layers) 
	{ //IS NETSCAPE 4 or below 
		document.layers["hid"+layer_ref].display = state; 
		document.layers["spac"+layer_ref].display = state; 
	} 
	if (document.getElementById &&!document.all) 
	{ 
		hza = document.getElementById("hid"+layer_ref); 
		hza.style.display = state; 
		hza = document.getElementById("spac"+layer_ref); 
		hza.style.display = state; 
	} 
	
	return;	
}