// JavaScript Document

function showInfo(span) {
	div=document.createElement("div");
	div.setAttribute("id", "infodiv");
	text=span.getAttribute("text");
	div.appendChild(document.createTextNode(text));
	span.appendChild(div);
	
	
}

function hideInfo() {
	div=document.getElementById("infodiv");
	div.parentNode.removeChild(div);
}

function ckBox(node) {
	if (node.checked) {
		node.parentNode.nextSibling.setAttribute("style", "visibility:visible");
		node.parentNode.nextSibling.nextSibling.setAttribute("style", "visibility:visible");
	}
	else {
		node.parentNode.nextSibling.setAttribute("style", "visibility:hidden");
		node.parentNode.nextSibling.nextSibling.setAttribute("style", "visibility:hidden");
	}
}


function comment_delete(value)
	{
		var loc='iframes/i_get_count.php?aktion=delete_comment&znachenie=' + value;	
		document.getElementById("reload").value=1;
		window.frames['get_reg'].location.href = loc;	
	}
