dlg-view').window('open');
    }

    function onClose() {
        $('#view_iframe').prop('src', '');
    }

    function onCommentListClose() {
        $('#comment_list_iframe').prop('src', '');
    }

    function onAllCommentListClose() {
        $('#all_comment_list_iframe').prop('src', '');
    }

    function allComment() {
        $('#all_comment_list_iframe').prop('src', "{{ url('share/all-comment') }}");
        $('#dlg-all-comment-list').window('open');
    }

    function switchShare(status) {
  