/* Comment Preview Function */

function ReloadTextDiv() { 
	var NewText = document.getElementById("comment").value;
	splitText = NewText.split(/\n/).join("<br />");
	var DivElement = document.getElementById("TextDisplay");
	DivElement.innerHTML = splitText; 
}

/* Comment Show/Hide Fields Script */
function ShowUtils() {
	document.getElementById("authorinfo").style.display = "";
	document.getElementById("showinfo").style.display = "none";
	document.getElementById("hideinfo").style.display = "";
}
function HideUtils() {
	document.getElementById("authorinfo").style.display = "none";
	document.getElementById("showinfo").style.display = "";
	document.getElementById("hideinfo").style.display = "none";
}