FCKCommands.RegisterCommand( 'AddMailTemplateVariable',
	new FCKDialogCommand( FCKLang['AddMailTemplateVariable'] , FCKLang['AddMailTemplateVariable'],
		'/fckplugins/mailtemplates/addvar.html' , 340 , 200 ) );

var oAddMTVar = new FCKToolbarButton( 'AddMailTemplateVariable' , FCKLang['AddMailTemplateVariable'] );
oAddMTVar.IconPath = '/fckplugins/mailtemplates/addvar.gif';

FCKToolbarItems.RegisterItem( 'AddMailTemplateVariable',oAddMTVar );

FCKConfig.ToolbarSets["Default"] = [
	['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
	['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
	['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
	['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
	'/',
	['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
	['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'],
	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
	['Link','Unlink','Anchor'],
	['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
	'/',
	['Style','FontFormat','FontName','FontSize'],
	['TextColor','BGColor'],
	['FitWindow','ShowBlocks','-','AddMailTemplateVariable']		// No comma for the last row.
] ;
