$(function()
    {
        var config = {
            toolbar:
            [
            ['Source'],
            ['Cut','Copy','Paste','PasteText','PasteFromWord'],
            ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
            ['TextColor', 'redbutton','boldbutton'],
            '/',
            ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
            ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
            ['Link','Unlink','Anchor'],
            ],
            extraPlugins : 'uicolor,redbutton,boldbutton',
            uiColor: '#2E7A95',
            width: '600px',
            resize_enabled: false
        };


        var configBig = {
            toolbar:
            [
            ['Source'],
            ['Cut','Copy','Paste','PasteText','PasteFromWord'],
            ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
            ['TextColor'],
            '/',
            ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
            ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
            ['Link','Unlink','Anchor'],
            ],
            extraPlugins : 'uicolor',
            uiColor: '#2E7A95',
            width: '700px',
            height: '600px',
            resize_enabled: false
        };

        var configSmall = {
            toolbar:
            [
            ['Source'],
            ['Undo','Redo'],
            ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
            ['NumberedList','BulletedList'],
            ],
            extraPlugins : 'uicolor',
            uiColor: '#2E7A95',
            width: '500px',
            height: '200px',
            resize_enabled: false
        };
        // Initialize the editor.
        // Callback function can be passed and executed after full instance creation.
        $('.ckedditor textarea').ckeditor(config);
      
        $('.ckedditorBig textarea').ckeditor(configBig);
        $('.ckedditorSmall textarea').ckeditor(configSmall);

        window.ckeditorConfigs = {
            'normal' : config,
            'big' : configBig,
            'small' : configSmall
        };
        
    });

