function Configuration()
{
	this.isConfig = true;
	this.defaultStyle = 'contentStyle';
	//DEFAULT FONT
	/*
	this.fontFamily = "Verdana";
	this.fontSize="x-small";  
	this.color="black";
	*/
	
	//Colors
	//this.bgColor="#E6E7E8";
	this.iframeHTML = "<HTML><HEAD><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'><script "+ " >function callbackFunction(){var doc = window.document;	doc.body.focus();for (var j=0; j<window.document.owner.buttonsCallback.length; j++){var button = window.document.owner.buttonsCallback[j];	if ( button.type=='button')	{if (button.callback(doc)){button.button.style.border='1 solid darkblue';	}else{button.button.style.border='1 solid #E6E7E8';}}else if ( button.type=='select'){var lret=button.callback(doc);if (lret != null){if ( lret.length > 15 )lret=lret.substr(0,16)+'..';}else{lret='';}button.button.innerHTML=lret;}else if ( button.type=='enable_button'){if (button.callback(doc)){button.button.style.backgroundColor='#E6E7E8';}else{button.button.style.backgroundColor='#BDBEBD';}}}}</" + "script><link rel='stylesheet' href='css/content_styles.css' type='text/css'/></HEAD><BODY contentEditable=true name='docbody' ></body></HTML>";
	//Size
	this.totalHeight = 300;
	this.totalWidth = 620;
	
	//Direction
	this.direction = "ltr";
	//Modules if
	
	//name, size, enabled
	this.FontSize =[
		["default",  "11px", true],
		["xx-small (8 pt)",  "1", true],
		["x-small (10 pt)", "2", true],
		["small (11 pt)", "3", true],
		["medium (14 pt)", "4", true],
		["large (18 pt)", "5", true],
		["x-large (24 pt)", "6", true],
		["xx-large (36 pt)", "7", true]
	];
	
	this.Style = [
		["Heading 1", true],
		["Heading 2", true],
		["Heading 3", true],
		["Heading 4", true],
		["Heading 5", true],
		["Heading 6", true],
		["Normal", true],
		["Address", true],
		["Formatted", true]
	];
	
	//Font Name, enabled
	this.FontName = [
		["Verdana", true],
		["Sans-serif", true]
	];
	//  [ TYPE, NAME, ENABLED, TITLE, IMAGE, FUNCTION, CALLBACK] 
	//  TYPE = "separator", "button"
	this.toolBarButtons1 = 
	[
		// Font Format Module
		["separator", null,  true, null, null, null, null],
		["button", "btn_cut", true, Strings.CUT, "rtecom/images/cut.gif", clickCut, null],
		["button", "btn_copy", true, Strings.COPY, "rtecom/images/copy.gif", clickCopy, null],
		["button", "btn_paste", true, Strings.PASTE, "rtecom/images/paste.gif", clickPaste, null],
		["button", "btn_pasteunform", true, Strings.PASTE_UNFORMATTED_TEXT, "rtecom/images/paste_unform.gif", clickPaste_Unform, null],
		["separator", null,  true, null, null, null, null],
		["button", "btn_table", true, Strings.TABLE , "rtecom/images/table.gif", clickTable, null],
		["enable_button", "btn_tableprop", true, Strings.TABLE_PROPERTIES , "rtecom/images/table_prop.gif", clickTableProperties, callbackTableProperties],
		["enable_button", "btn_insrowafter", true, Strings.INSERT_ROW_AFTER , "rtecom/images/row_after.gif", clickInsertRowAfter, callbackCellProperties],
		["enable_button", "btn_insrowbefore", true, Strings.INSERT_ROW_BEFORE , "rtecom/images/row_before.gif", clickInsertRowBefore, callbackCellProperties],
		["enable_button", "btn_deleterow", true, Strings.DELETE_ROW , "rtecom/images/row_delete.gif", clickDeleteRow, callbackCellProperties],
		["enable_button", "btn_inscolafter", true, Strings.INSERT_COLUMN_AFTER , "rtecom/images/col_after.gif", clickInsertColAfter, callbackCellProperties],
		["enable_button", "btn_inscolbefore", true, Strings.INSERT_COLUMN_BEFORE , "rtecom/images/col_before.gif", clickInsertColBefore, callbackCellProperties],
		["enable_button", "btn_deletecol", true, Strings.DELETE_COLUMN , "rtecom/images/col_delete.gif", clickDeleteCol, callbackCellProperties],
		["separator", null,  true, null, null, null, null],
		["button", "btn_clear", true, Strings.CLEAR, "rtecom/images/clear.gif", clickClear, null],
		["button", "btn_restore",  true, Strings.RESTORE, "rtecom/images/restore.gif", clickRestore, null]		
		//["button", "btn_justifyright", true, JUSTIFYRIGHT, "images/justifyright.gif", clickJustifyRight,  callbackJustifyRight]
		//,		["button", "btn_justifyright", true, JUSTIFYRIGHT, "images/justifyright.gif", clickJustifyRight,  callbackJustifyRight]
	];
	this.toolBarButtons2 = 
	[
		["separator", null,  true, null, null, null, null],
		["select", "btn_style", true, Strings.STYLE, null, clickStyle, callbackStyle],
		["select", "btn_fontname", true, Strings.FONT_NAME, null, clickFontName, callbackFontName],
		["select", "btn_fontsize", true, Strings.FONT_SIZE, null, clickFontSize, callbackFontSize],
		["separator", null,  true, null, null, null, null],
		["button", "btn_bold", true, Strings.BOLD, "rtecom/images/bold.gif", clickBold, callbackBold],
		["button", "btn_italic",  true, Strings.ITALIC, "rtecom/images/italic.gif", clickItalic, callbackItalic],
		["button", "btn_underline",  true, Strings.UNDERLINE, "rtecom/images/underline.gif", clickUnderline, callbackUnderline],
		["separator", null,  true, null, null, null, null],
		["button", "btn_justifyleft", true, Strings.JUSTIFYLEFT, "rtecom/images/justifyleft.gif", clickJustifyLeft, callbackJustifyLeft],
		["button", "btn_justifycenter",  true, Strings.JUSTIFYCENTER, "rtecom/images/justifycenter.gif", clickJustifyCenter, callbackJustifyCenter],
		["button", "btn_justifyright", true, Strings.JUSTIFYRIGHT, "rtecom/images/justifyright.gif", clickJustifyRight,  callbackJustifyRight],
		["button", "btn_justifyfull", true, Strings.JUSTIFYFULL, "rtecom/images/justifyfull.gif", clickJustifyFull,  callbackJustifyFull],
		["separator", null,  true, null, null, null, null],
		["button", "btn_orederedlist", true, Strings.ORDERED_LIST, "rtecom/images/orederedlist.gif", clickOrderedList, callbackOrderedList],
		["button", "btn_unorederedlist",  true, Strings.UNORDERED_LIST, "rtecom/images/unorederedlist.gif", clickUnorderedList, callbackUnorderedList],		
		["button", "btn_decreaseindent", true, Strings.DECREASEINDENT, "rtecom/images/decreaseindent.gif", clickDecreaseIndent,  null],
		["button", "btn_increaseindent",  true, Strings.INCREASEINDENT, "rtecom/images/increaseindent.gif", clickIncreaseIndent, null]		
		
		//["enable_button", "btn_cellprop", true, Strings.CELL_PROPERTIES , "images/cell_prop.gif", clickCellProperties, callbackCellProperties],		
			
		
	];
	
	this.toolBarButtons3 = 
	[
		["separator", null,  true, null, null, null, null],
		["button", "btn_backcolor",  true, Strings.BGCOLOR, "rtecom/images/bgcolor.gif", clickBackColor, null],
		["button", "btn_forecolor", true, Strings.FONTCOLOR, "rtecom/images/fontcolor.gif", clickForeColor, null],
		["separator", null,  true, null, null, null, null],
		["button", "btn_strikethrough", true, Strings.STRIKETHROUGH, "rtecom/images/strikethrough.gif", clickStrikeThrough, callbackStrikeThrough],
		["button", "btn_superscript",  true, Strings.SUPERSCRIPT, "rtecom/images/superscript.gif", clickSuperscript, callbackSuperscript],
		["button", "btn_subscript",  true, Strings.SUBSCRIPT, "rtecom/images/subscript.gif", clickSubscript, callbackSubscript],
		["separator", null,  true, null, null, null, null],
		["button", "btn_image", true, Strings.INSERT_IMAGE, "rtecom/images/image.gif", clickImage, null],
		["enable_button", "btn_imageproperties", true, Strings.IMAGE_PROPERTIES, "rtecom/images/image_prop.gif", clickImageProperties, callbackImageProperties],
		["button", "btn_media", true, Strings.IMAGE_GALLERY, "rtecom/images/media.gif", clickImageGallery, null],
		["separator", null,  true, null, null, null, null],
		["button", "btn_link", true, Strings.CREATE_LINK, "rtecom/images/url.gif", clickLink, null],
		//["button", "btn_popuplink", true, Strings.POPUP_LINK, "rtecom/images/popup_link.gif", clickPopupLink, null],
		["button", "btn_pagelink", true, Strings.PAGE_LINK, "rtecom/images/page_link.gif", clickPageLink, null],
		["button", "btn_anchor", true, Strings.BOOKMARK, "rtecom/images/anchor.gif", clickAnchor, null],
		["button", "btn_anchorlink", true, Strings.BOOKMARK_LINK, "rtecom/images/anchor_link.gif", clickAnchorLink, null],
		["button", "btn_tln_link", true, Strings.INSERT_TLN_APPLICATION_LINK, "rtecom/images/tln_app_link.gif", clickTlnLink, null],
		["separator", null,  true, null, null, null, null],
		["button", "btn_filelink", true, Strings.FILE_LINK, "rtecom/images/file_url.gif", clickFileLink, null],
		["button", "btn_media_filelink", true, Strings.MEDIA_FILE_LINK, "rtecom/images/media_file_url.gif", clickMediaFileLink, null],
		["button", "btn_removelink", true, Strings.REMOVE_LINK, "rtecom/images/remove_url.gif", clickRemoveLink, null],
		["separator", null,  true, null, null, null, null],
		["button", "btn_help", true, Strings.HELP, "rtecom/images/help.gif", clickHelp, null]

		
	];
	
	this.toolBarButtons4 = 
	[
		["separator", null,  true, null, null, null, null],
		["button", "btn_instempl", true, Strings.INSERT_TEMPLATE, "rtecom/images/template.gif", clickInsertTemplate, null],
		["separator", null,  true, null, null, null, null],
		["button", "btn_insform", true, Strings.INSERT_FORM, "rtecom/images/ins_form.gif", clickInsertForm, null],
		["separator", null,  true, null, null, null, null],
		["button", "btn_insfield", false, Strings.INSERT_FIELD, "rtecom/images/ins_input.gif", clickInsertField, null],
		["enable_button", "btn_fieldprop", false, Strings.FIELD_PROPERTIES, "rtecom/images/inp_prop.gif", clickFieldProperties, callbackFieldProperties]
		
		/*["button", "btn_insinp", false, Strings.INSERT_INPUT, "rtecom/images/ins_input.gif", clickInsertInput, null],
		["enable_button", "btn_inpprop", false, Strings.INPUT_PROPERTIES, "rtecom/images/inp_prop.gif", clickInputProperties, callbackInputProperties],
		["button", "btn_inspas", false, Strings.INSERT_PASSWORD, "rtecom/images/ins_pas.gif", clickInsertPassword, null],
		["enable_button", "btn_pasprop", false, Strings.PASSWORD_PROPERTIES, "rtecom/images/pas_prop.gif", clickPasswordProperties, callbackPasswordProperties],
		["button", "btn_ta", false, Strings.INSERT_TEXTAREA, "rtecom/images/ins_ta.gif", clickInsertTextarea, null],
		["enable_button", "btn_taprop", false, Strings.TEXTAREA_PROPERTIES, "rtecom/images/ta_prop.gif", clickTextareaProperties, callbackTextareaProperties],
		["button", "btn_inssub", false, Strings.INSERT_SUBMIT, "rtecom/images/ins_sub.gif", clickInsertSubmit, null],
		["enable_button", "btn_subprop", false, Strings.SUBMIT_PROPERTIES, "rtecom/images/sub_prop.gif", clickSubmitProperties, callbackSubmitProperties]*/
	];
	/*["button", "btn_inscheck", true, Strings.INSERT_CHECKBOX, "rtecom/images/ins_check.gif", clickInsertPassword, null],
	  ["enable_button", "btn_checkprop", true, Strings.CHECKBOX_PROPERTIES, "rtecom/images/check_prop.gif", clickPasswordProperties, callbackPasswordProperties],
	*/
	/*["button", "btn_insres", true, Strings.INSERT_RESET, "rtecom/images/ins_res.gif", clickInsertPassword, null],
	  ["enable_button", "btn_resprop", true, Strings.RESET_PROPERTIES, "rtecom/images/res_prop.gif", clickPasswordProperties, callbackPasswordProperties]
	*/
}

