	function ReloadTextDiv() {
		var NewText = document.getElementById("comment").value;
		splitText = NewText.split(/\n/).join("<br />");
		var DivElement = document.getElementById("TextDisplay");
		DivElement.innerHTML = splitText;
	}

	function openRadioBlog() {
     	window.open('/blog/radio/', 'radio', 'height=350,width=230,toolbars=no,scrollbars=no');
     	return false;
	}
	
	function openBio() {
		window.open('/blog/wp-bajosusalas/bio.php', 'bio', 'height=500,width=400,toolbars=no, scrollbars=yes');
     	return false;
	}

	function ReplyComment(authorName) {
		var txtComment = document.getElementById("comment");
		
		if (txtComment.value.length > 0)
			txtComment.value += "\n<strong>" + authorName + "</strong>:";
		else
			txtComment.value = "<strong>" + authorName + "</strong>:";	
	
		txtComment.focus();
		ReloadTextDiv();
	}