HTMLEditor = {
    add: function(id) {
        CKEDITOR.replace(id);
    },
    
    updateValue: function(el) {
        if (CKEDITOR.instances[el.id] != undefined) {
            el.value = CKEDITOR.instances[el.id].getData();
        }
    }
}

