function mceFull() {
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	editor_selector : "mceFull",
	plugins : "safari,pagebreak,style,layer,table,advimage,advlink,insertdatetime,preview,media,searchreplace,paste,directionality,fullscreen,noneditable,nonbreaking,xhtmlxtras,inlinepopups,spellchecker",

	theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect",
	theme_advanced_buttons2 : "cut,copy,paste,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,code,|,insertdate,inserttime,preview",
	theme_advanced_buttons3 : "tablecontrols,|,sub,sup,|,fullscreen,|,mybutton",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_resizing : true,
	theme_advanced_buttons3_add : "spellchecker",
	spellchecker_languages : "+English=en_GB",

	// Example word content CSS (should be your site CSS) this one removes paragraph margins
	content_css : "/css/word.css",

	// Drop lists for link/image/media/template dialogs
	//template_external_list_url : "lists/template_list.js",
	//external_link_list_url : "lists/link_list.js",
	//external_image_list_url : "lists/image_list.js",
	//media_external_list_url : "lists/media_list.js",


	// Replace values for the template plugin
	template_replace_values : {
	}
});

} mceFull();
function mceSimple() {
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	editor_selector : "mceSimple",
	plugins : "safari,style,advimage,advlink,media,print,paste,directionality,noneditable,visualchars,nonbreaking,spellchecker",

	theme_advanced_buttons1 : 
"bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,cut,copy,paste,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,formatselect",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_resizing : true,
	theme_advanced_buttons1_add : "spellchecker",
	spellchecker_languages : "+English=en_GB",
	
	content_css : "/css/word.css",

	//template_external_list_url : "lists/template_list.js",
	//external_link_list_url : "lists/link_list.js",
	//external_image_list_url : "lists/image_list.js",
	//media_external_list_url : "lists/media_list.js",

	template_replace_values : {
	}
});
} mceSimple();
