var oFCKeditor = null;

function initTextArea (idTextArea) {
    oFCKeditor = new FCKeditor(idTextArea);
    oFCKeditor.Config["CustomConfigurationsPath"] = "/include/fckeditor/active-config.js";
    oFCKeditor.Config["ToolbarStartExpanded"] = false;
    oFCKeditor.ToolbarSet = 'active';
    oFCKeditor.BasePath = "/include/fckeditor/";
    oFCKeditor.ReplaceTextarea();
}

function valueTextArea(idTextArea) {
      var oEditor = FCKeditorAPI.GetInstance(idTextArea);
      return(oEditor.GetXHTML(true));
}
