 UpdateMode.umBusy;
}

function setUpdateMode(mode) {
    updateMode = mode;
}

function isUpdateReady() {
    return updateMode === UpdateMode.umReady;
}

function isUpdateBusy() {
    return updateMode = UpdateMode.umBusy;
}

function renderArticle(text) {
    articleText = text;
    renderer.setMode(RendererMode.rmArchor | RendererMode.rmContent);
    elArticle.innerHTML = renderer.html(text);
    elArchor.innerHTML = renderer.archor;
}

function renderArticlePriviewer(text) {
    renderer.setMode(Render