tinyMCE.init({
	theme : "advanced",
	mode : "textareas",
			
	editor_selector : "mceEditor",
	editor_deselector : "mceNoEditor",
	
	plugins : "advlink,paste",
	theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,bullist,numlist,outdent,indent",
	theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,undo,redo,|,link,unlink",
	theme_advanced_buttons3 : "",
	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_strip_class_attributes: "all",
	paste_insert_word_content_callback : "convertWord"
});

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;
}