CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	config.font_names = '宋体;楷体_GB2312;新宋体;黑体;隶书;幼圆;微软雅黑;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana'; 
    config.toolbar_Full =
    [
        ['Source','-','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','CreateDiv'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
        ['Link','Unlink','Anchor'],
          ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
        '/',
        ['Styles','Format','Font','FontSize'],
        ['TextColor','BGColor'],
        ['Maximize', 'ShowBlocks']
    ];

    config.toolbar_Basic =
    [
        ['Source','-','Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
		['Styles','Format','Font','FontSize'],
		['TextColor','BGColor']

    ]; 
	config.height = 600; 
	config.skin='v2';
	//config.skin='office2003';
	config.pasteFromWordIgnoreFontFace = true; 
	config.protectedSource.push( /<\?[\s\S]*?\?>/g );   // PHP Code 
	config.startupOutlineBlocks = false;
	//config.toolbarStartupExpanded = true;
	//config.toolbarCanCollapse = true;
	config.resize_enabled = true;
	config.format_pre = { element : 'pre', attributes : { class : 'code' } };  
	config.entities = false;
	//config.editingBlock = true;
	config.baseHref = '';
 
};
