﻿/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
var tedit = 'Textbox1';
function Masoud(tbx,hei,wid){
tedit = tbx;
    CKEDITOR.replace(tedit,
	{
	skin : 'office2003',
	contentsLangDirection:'rtl',
	language : 'fa',
    enterMode : '3',
    height:hei,
    width:wid,
			toolbar:
		[
		['Source','Preview','-','Cut','Copy','Paste','PasteText','PasteFromWord'],
		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    '/',
    ['Bold','Italic','Underline','Strike'],
    ['NumberedList','BulletedList','-','Outdent','Indent'],
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
    ['Link','Unlink','Anchor'],'/',
    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
       ['Styles','Font','FontSize'], ['TextColor','BGColor'],]
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
});
}
