Event.observe(window, 'load', function() {
	$$('textarea.fckeditor').each(function(s) {
		var fckeditor = new FCKeditor(s.id);
		fckeditor.BasePath = '/public/scripts/fckeditor/';
		fckeditor.Config['CustomConfigurationsPath'] = '/application/config/fckconfig.js';
		fckeditor.ReplaceTextarea();
	});
});
