function addComment() {
	var cf = document.getElementById('commentForm');
	cf.style.visibility = "visible";
	cf.style.display = "block";
	var acl = document.getElementById('addCommentLink');
	acl.style.display = "none";
	acl.style.visibility = "hidden";
	document.frmcomment.personname.focus();
}
function cancelComment() {
	var cf = document.getElementById('commentForm');
	cf.style.visibility = "hidden";
	cf.style.display = "none";
	var acl = document.getElementById('addCommentLink');
	acl.style.display = "block";
	acl.style.visibility = "visible";
}
function checkEntry() {
	with (document.frmcomment) {
		if (personname.value == "") {
			alert("Missing name!");
			personname.focus();
		} else if (personlocation.value == "") {
			alert("Missing location!");
			personlocation.focus();
		} else if (comment.value == "") {
			alert("Missing comment!");
			comment.focus();
		} else {
    	if (confirm("Are you sure everything is correct??"))
				submit();
		}
	}
}
