/*<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">*/
function openBlock(a, id) {
	var elem;
	if (document.getElementById) {
		if (elem = document.getElementById(id)) {
			elem.style.visibility = 'visible';
			elem.style.display = 'block';
			a.onclick = new Function("hideBlock(this, '" + id + "'); return false;");
		}
	}
}
function hideBlock(a, id) {
	var elem;
	if (document.getElementById) {
		if (elem = document.getElementById(id)) {
			elem.style.visibility = 'hidden';
			elem.style.display = 'none';
			a.onclick = new Function("openBlock(this, '" + id + "'); return false;");
		}
	}
}
