/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	config.scayt_autoStartup = true;
    config.language = 'zh-cn'; 
	config.filebrowserBrowseUrl = 'editor/ckeditor/ckfinder/ckfinder.html';
    config.filebrowserImageBrowseUrl = 'editor/ckeditor/ckfinder/ckfinder.html?Type=Images';
    config.filebrowserFlashBrowseUrl = 'editor/ckeditor/ckfinder/ckfinder.html?Type=Flash';
    config.filebrowserUploadUrl = 'editor/ckeditor/ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Files';
    config.filebrowserImageUploadUrl = 'editor/ckeditor/ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Images';
    config.filebrowserFlashUploadUrl = 'editor/ckeditor/ckfinder/core/connector/asp/connector.asp?command=QuickUpload&type=Flash';

config.toolbar = 'MyToolbar';

    config.toolbar_MyToolbar =
    [
    ['Source', '-', 'Preview', '-', 'Templates'],
    ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Print', 'SpellChecker', 'Scayt'],
    ['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
    ['BidiLtr', 'BidiRtl'],
	['Maximize', 'ShowBlocks'],
      '/',
    ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak'],
	['Link', 'Unlink', 'Anchor'],
	['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote', 'CreateDiv'],
	['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
	'/',
    ['Styles', 'Format', 'Font', 'FontSize'],
	['Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript'],
    ['TextColor', 'BGColor']
    ];

    config.toolbar_Full =
[
    ['Source', '-', 'Save', 'NewPage', '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'],
    ['BidiLtr', 'BidiRtl'],
    '/',
    ['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', '-', 'About']
];

    config.toolbar_Basic =
[
    ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink', '-', 'About']
];
};
