//##
//## "config" is the global object that holds all configurations
//##
var config = new Object() ;

//##
//## Editor Base Path
//##
config.BasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1) ;

//##
//## Style File to be used the the editor
//##
config.EditorAreaCSS = config.BasePath + 'css/ixed_editorarea.css' ;

//##
//## Base URL used to set relative links
//##
config.BaseUrl = document.location.protocol + '//' + document.location.host + '/' ;

//##
//## Enable XHTML support (slower)
//##
config.EnableXHTML = true ;

//##
//## Cut and Paste options
//##
config.ForcePasteAsPlainText = false ;
config.AutoDetectPasteFromWord = true ;

//##
//## Sets the toolbar icons path
//##
config.ToolbarImagesPath = config.BasePath + "images/toolbar/" ;

//##
//## ICONES de la barre de taches
//##
//##config.ToolbarSets["Default"] = [
//##	['EditSource','-','Cut','Copy','Paste','PasteText','PasteWord','-','Find','-','Undo','Redo','-','SelectAll','RemoveFormat','-','Link','RemoveLink','-','Image','Table','Rule','SpecialChar','Smiley'] ,
//##	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','InsertOrderedList','InsertUnorderedList','-','Outdent','Indent','-','ShowTableBorders','ShowDetails'] ,
//##	['FontFormat','-','Font','-','FontSize','-','TextColor','BGColor']

config.ToolbarSets = new Object() ;
config.ToolbarSets["Default"] = [
	['Cut','Copy','Paste','-','Undo','Redo','-','SelectAll','RemoveFormat','-','Link','RemoveLink','-','Table','SpecialChar'] ,
	['Bold','Italic','Underline','StrikeThrough','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','InsertOrderedList','InsertUnorderedList','-','Outdent','Indent'] ,
	['Font','-','FontSize','-','TextColor','BGColor']
] ;

config.ToolbarSets["Source"] = [
	['EditSource']
] ;

//##
//## Font Names
//##
config.ToolbarFontNames = ';Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;

//##
//## Smiley Dialog
//##
config.SmileyPath = config.BasePath + "images/smiley/" ;
config.SmileyImages = ["regular_smile.gif","sad_smile.gif","wink_smile.gif","teeth_smile.gif","confused_smile.gif","tounge_smile.gif","embaressed_smile.gif","omg_smile.gif","whatchutalkingabout_smile.gif","angry_smile.gif","angel_smile.gif","shades_smile.gif","devil_smile.gif","cry_smile.gif","lightbulb.gif","thumbs_down.gif","thumbs_up.gif","heart.gif","broken_heart.gif","kiss.gif","envelope.gif"] ;
config.SmileyColumns = 7 ;
config.SmileyWindowWidth  = 500 ;
config.SmileyWindowHeight = 200 ;
