function convertWord(type, content) {
switch (type) {
		// Gets executed before the built in logic performes it's cleanups
		case "before":
				//content = content.toLowerCase(); // Some dummy logic
				break;

		// Gets executed after the built in logic performes it's cleanups
		case "after":
				//content = content.toLowerCase(); // Some dummy logic
				break;
}

return content;
}

tinyMCE.init({
	  mode : "textareas",
	  theme : "advanced",
	  editor_selector : "comment",
	  skin : "o2k7",
	  skin_variant : "black",
	  width : "650",
	  height: "40",
	theme_advanced_toolbar_location : "top",
	language: "en",
		plugins : "emotions",
		theme_advanced_buttons1 : "bold,italic,underline,strikethrough",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",				
		theme_advanced_resizing : false,
		theme_advanced_path : false,
		extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed]",
			paste_create_paragraphs : false,
		paste_create_linebreaks : false,
		paste_use_dialog : true,
		paste_auto_cleanup_on_paste : true,
		paste_convert_middot_lists : false,
		paste_unindented_list_class : "unindentedList",
		paste_convert_headers_to_strong : true,
		paste_insert_word_content_callback : "convertWord",
		paste_remove_spans : true,
		paste_remove_styles : true,
		accessibility_warnings : false,
		relative_urls: false,
		convert_urls: false,
	force_br_newlines : true,
	forced_root_block : '', // Needed for 3.x
	entity_encoding : "raw",
		apply_source_formatting : true,
		cleanup : true
});

tinyMCE.init({
	  mode : "textareas",
	  theme : "advanced",
	  editor_selector : "texts",
	  skin : "o2k7_2",
	  skin_variant : "black",
	  width : "619",
	  height: "40",
	theme_advanced_toolbar_location : "top",
	language: "en",
		plugins : "emotions,paste",
		theme_advanced_buttons1 : "bold,italic,underline,strikethrough",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",				
		theme_advanced_resizing : false,
		theme_advanced_path : false,
		extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed]",
		  paste_create_paragraphs : false,
		paste_create_linebreaks : false,
		paste_use_dialog : true,
		paste_auto_cleanup_on_paste : true,
		paste_convert_middot_lists : false,
		paste_unindented_list_class : "unindentedList",
		paste_convert_headers_to_strong : true,
		paste_insert_word_content_callback : "convertWord",
		paste_remove_spans : true,
		paste_remove_styles : true,
		accessibility_warnings : false,
		relative_urls: false,
		convert_urls: false,
	force_br_newlines : true,
	forced_root_block : '', // Needed for 3.x
	entity_encoding : "raw",
		apply_source_formatting : false,
		cleanup : true,
		paste_create_paragraphs : false,
   });

