
	function onlight(pom)
    	{
		if (pom.indexOf("2",0)!=-1) 
			{pole_pom=pom.split(",");
			pom=pole_pom[0];}
			
		id=pom;
		document.all.item(id).style.backgroundColor="#000000";
		document.all.item(id).style.color="#ffff00";
		id=pom+",2";
		document.all.item(id).style.backgroundColor="#000000";
		document.all.item(id).style.color="#ffff00";
		}
	function offlight(pom)
		{
		if (pom.indexOf("2",0)!=-1) 
			{pole_pom=pom.split(",");
			pom=pole_pom[0];}
			
		id=pom;
		document.all.item(id).style.backgroundColor="#ffffff";
		document.all.item(id).style.color="#000000";
		id=pom+",2";
		document.all.item(id).style.backgroundColor="#ffffff";
		document.all.item(id).style.color="#000000";
		
		}
	function navy(id)
		{
		url=id+".htm";
		window.open(url,"obsah");
		}
 	
	function ram(id)
	{
	document.all.item(id).style.color= "yellow";
	}
	
	function nram(id)
	{
	document.all.item(id).style.color= "white";
	}
