<!--
  function showImage(name) {
    var inc_y = 70;
    var inc_x = 10;
    params = "top=20, left=20,width=100, height=100, Status=no, toolbar=no, menubar=no, location=no, directories=no, scrollbars=no";
    popupWin = window.open("","popupWin",params);
    popupWin.focus();
    popupWin.document.open();
    popupWin.document.write("<html><head><title></title></head>");
    popupWin.document.write("<sc"+"ript language = JavaScript>");
    popupWin.document.write("function closeWindow(){");
    popupWin.document.write("parent.window.close() };");
    popupWin.document.write("</sc"+"ript>");
    popupWin.document.write("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'><a href=''><img src='"+name+"' border='0' name='cha1' onClick='closeWindow()' alt=''  onload='window.resizeTo(window.document.images[0].width+"+inc_x+",window.document.images[0].height+"+inc_y+")'></a></body></html>");
    popupWin.document.close();
  }


function zapret(checking, val1, val2)
{
if(document.getElementById('checkbox' + checking).checked)
	{
		document.getElementById('radio' + val1).disabled = 0;
		document.getElementById('radio' + val2).disabled = 0;
	}
else
	{
		document.getElementById('radio' + val1).disabled = 1;
		document.getElementById('radio' + val2).disabled = 1;	
	}
}

function display(num)
{
	var item = document.getElementById('forest' + num);
	var bolder = document.getElementById('bold' + num);
	var count = 5;
	if(item.style.display != "")
		{
			item.style.display = "";
			bolder.style.font = "18px bold";
			bolder.style.borderBottom = " 7px solid " + bolder.style.backgroundColor;
			for(i=1; i <=count; i++)
				{
					if(document.getElementById('bold' + i) && document.getElementById('forest' + i))
						{
							document.getElementById('bold' + i).style.font = i!=num ? "16px normal" : "18px bold";
							document.getElementById('forest' + i).style.display = i!=num ? "none" : "";
							document.getElementById('bold' + i).style.borderBottom = i!=num ? "4px solid #edf7fe" : " 7px solid " + bolder.style.backgroundColor;

						}
				}
		}
	else
		{
			item.style.display = "none";
		}
	for(i=1; i <=count; i++)
		{
			if(document.getElementById('forest' + i))
				{
					document.getElementById('forest' + i).style.display = i!=num ? "none" : "";
				}
		}
	
}


function changeColor(color, back)
{
	var fon = document.getElementById("content").childNodes[0];
	var img = document.getElementById("caption").parentNode;
	fon.style.background = color;
	img.style.background = "url(/images/" + back + ")";
	
}

  -->