    var oRPC = new jsRPC();
    
    function deleteComment(id)
    {
      if (confirm('Are you sure you wish to delete this comment?\nThis cannot be undone.'))
      {
        oRPC.href = '/rpc/deleteComment.cfm?id=' + id;
        oRPC.execute();
      }
    }
    
    function handleDeleteComment(id)
    {
      var tr = document.getElementById('tr-comment-' + id);
      tr.parentNode.removeChild(tr);
    }