// Procédures globales du projet
function OuvreEditeur(pnomChamp)
{
var oFCKeditor = new FCKeditor(pnomChamp);
oFCKeditor.BasePath = "/fckeditor/";

oFCKeditor.Width = 760 ;
oFCKeditor.Height = 600 ;
oFCKeditor.ReplaceTextarea();
	
}
//MoiMême+=RC+"oFCKeditor.Width = "+MoiMême..Largeur+";"
//MoiMême+=RC+"oFCKeditor.Height = "+MoiMême..Hauteur+";"

function OuvreEditeurCK(pnomChamp,pLargeur,pHauteur)
{
	CKEDITOR.config.width = pLargeur;
	CKEDITOR.config.height = pHauteur;
	CKEDITOR.config.resize_enabled = false;
	CKEDITOR.config.enterMode =CKEDITOR.ENTER_DIV;
	CKEDITOR.config.toolbar_Full =
	[
	['Source',"-",'Preview','-'],
	['Cut','Copy','Paste','PasteText','-','Print','SpellChecker','Scayt'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	['Button','ImageButton','Maximize', 'ShowBlocks'],
	['Link','Unlink','Anchor'],
	['Image','Table','Smiley'],
	'/',
	['Format','Font','FontSize','Bold','Italic','TextColor','BGColor','Underline','Strike','-','Subscript','Superscript'],
	['NumberedList','BulletedList','-','Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	
	
	];
	CKEDITOR.replace(pnomChamp);
}
//[
//['Source','-','Save','NewPage','Preview','-','Templates'],
//['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
//['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
//['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
//'/',
//['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
//['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
//['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
//['Link','Unlink','Anchor'],
//['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
//'/',
//['Styles','Format','Font','FontSize'],
//['TextColor','BGColor'],
//['Maximize', 'ShowBlocks','-','About']
//];

function OuvreEditeurCK_Mini(pnomChamp,pLargeur,pHauteur)
{
	
	CKEDITOR.config.width = pLargeur;
	CKEDITOR.config.height = pHauteur;
	CKEDITOR.config.resize_enabled = false;
	CKEDITOR.config.enterMode =  CKEDITOR.ENTER_P;
	CKEDITOR.config.toolbar_Full =
	[
	['Format','Font','FontSize','Bold','Italic','Underline','Strike','TextColor','BGColor'],
	['Outdent','Indent'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
	['Link','Unlink'],
	];
	CKEDITOR.replace(pnomChamp);
	
}


