/**
* Fonctions JavaScript de la rubrique News
*
* MagicCorporation WebSystem v6.0
* Gestionnaire de Contenu pour site Internet
* 
* @package      MC6
* @subpackage   news
* @author       Jean-Christophe Taisne <amonra@magiccorporation.com>
* @link         http://mc6.magiccorporation.com
* @copyright    2000-2009 MagicCorporation
* @version      6.0 $Id: function.js 1184 2009-11-10 22:20:18Z amonra $
*/

function editor_texte() {
    if($('texte')) {
        var oFCKeditor_texte = new FCKeditor('texte');
        oFCKeditor_texte.BasePath = 'mc6/src/fckeditor/'; 
        oFCKeditor_texte.Width = '100%'; 
        oFCKeditor_texte.Height = '400';
        oFCKeditor_texte.ToolbarSet = 'Forum';
        oFCKeditor_texte.ReplaceTextarea();
    }
}
addListener(window, 'load', editor_texte);

function editor_intro() {
    if($('intro')) {
        var oFCKeditor_intro = new FCKeditor('intro');
        oFCKeditor_intro.BasePath = 'mc6/src/fckeditor/'; 
        oFCKeditor_intro.Width = '100%'; 
        oFCKeditor_intro.Height = '200';
        oFCKeditor_intro.ToolbarSet = 'Forum';
        oFCKeditor_intro.ReplaceTextarea();
    }
}
addListener(window, 'load', editor_intro);
