	tinyMCE.init({
		plugins : "safari,paste",
		theme : "advanced",
		language : "en",
		mode : "textareas",
		cleanup : "true",
		editor_deselector : "mceNoEditor",
		theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,bullist,numlist,separator,undo,redo,separator,pastetext,pasteword",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",		
		valid_elements : "strong/b,em/i,strike,u,-ol[type|compact],-ul[type|compact],-li,#p[align]",
		force_p_newlines : true,
		force_br_newlines : false,
		paste_insert_word_content_callback : "convertWord",
		paste_auto_cleanup_on_paste : true,
		paste_use_dialog : true,
		paste_strip_class_attributes : "all",
		content_css : "http://www.teleproduction.co.uk/templates/teleproduction/main.css"
	});


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;
}


