));
    }
});
click(elGoGnav, function (e) {
    setEditMode(EditMode.emGnav);
    show(elGnav);
    hide(elContainer);
    addClass(elWriter, 'on-gnav');
});
click(elGnavClose, function (e) {
    setEditMode(EditMode.emContainer);
    show(elContainer);
    hide(elGnav);
    removeClass(elWriter, 'on-gnav');
});
click(elArticleEdit, function (e) {
    if (isEditContainer()) {
        setEditMode(EditMode.emArticleEdit);
        show(elWriter);
        hide(elContainer);
        codemirror.getDoc().setValue