function OnReplyToCommentClick(commentID) { comment_li = document.getElementById('comment-'+commentID); if(comment_li == null) { return true; } var form = document.getElementById('form-' + commentID); if(form === null ) { try { var form_code = '\
'; comment_li.innerHTML += form_code; } catch(error) { } } return false; } function OnCancelReplyClick(commentID) { var replyForm = document.getElementById('form-'+commentID); if(replyForm != null) { replyForm.parentNode.removeChild(replyForm); } }