tinyMCE.init({
	// apply to specifc areas:
	mode : "specific_textareas",
	editor_selector : "mceMini",
	// theme advanced prepopulates the editor�s toolbars with loads of buttons:
	theme : "advanced",

	// plugins are required for a number of clever functions.  We can take out ones whose functions we don�t want:
	plugins : "advimage,advlink,image",

	// then disable all the buttons we don�t want:
	theme_advanced_disable : "code,link,unlink,strikethrough,formatselect,forecolor,backcolor,fontselect,styleselect,anchor,sub,sup,visualaid,help,indent,outdent,charmap,hr,removeformat,separator,separator,style",

	// and add some new ones.  Note that some of the ones we disabled above are added here.  This is just to move them to a different part of the toolbars
	theme_advanced_buttons1_add : "cut,copy,paste,separator,bullist,numlist,link,unlink",
	theme_advanced_buttons2_add_remove : "bullist,numlist,image",
	//theme_advanced_buttons2_add_before : "",
    //theme_advanced_buttons2_add : "",

	// self-explanatory bits follow:
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "center",
//      theme_advanced_path_location : "bottom",
	plugin_insertdate_dateFormat : "%d-%m-%Y",
	plugin_insertdate_timeFormat : "%H:%M",

	// extended_valid_elements defines which html elements are allowed:
	extended_valid_elements : "a[name|href|target|title],img[style|class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",

	// these are links to js files which provide an array of files to prompt in the uploader
	external_link_list_url : "external_link_list.tao",
	external_image_list_url : "external_image_list.tao",
	flash_external_list_url : "external_flash_list.tao"
});