	tinyMCE.init({
		mode : "specific_textareas",
  editor_selector : "editorStyle",
		theme : "advanced",
		plugins : "style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
		theme_advanced_buttons1_add_before : "newdocument,|",
		theme_advanced_buttons2 : "fontselect,fontsizeselect,emotions,|,forecolor,backcolor,image",
		theme_advanced_buttons3 : "",


		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_path_location : "bottom",
		content_css : "example_full.css",
	    plugin_insertdate_dateFormat : "%Y-%m-%d",
	    plugin_insertdate_timeFormat : "%H:%M:%S",
		extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
		external_link_list_url : "http://www.lavord.de/lv/jscripts/example_link_list.js",
		external_image_list_url : "http://www.lavord.de/lv/jscripts/example_image_list.js",
		flash_external_list_url : "http://www.lavord.de/lv/jscripts/example_flash_list.js",
		media_external_list_url : "http://www.lavord.de/lv/jscripts/example_media_list.js",
		template_external_list_url : "http://www.lavord.de/lv/jscripts/example_template_list.js",
		file_browser_callback : "fileBrowserCallBack",
		theme_advanced_resize_horizontal : false,
		theme_advanced_resizing : true,
		nonbreaking_force_tab : true,
		apply_source_formatting : true,
		template_replace_values : {
			username : "Jack Black",
			staffid : "991234"
		}
	});

	function fileBrowserCallBack(field_name, url, type, win) {
		// This is where you insert your custom filebrowser logic
		alert("Example of filebrowser callback: field_name: " + field_name + ", url: " + url + ", type: " + type);

		// Insert new URL, this would normaly be done in a popup
		win.document.forms[0].elements[field_name].value = "someurl.htm";
	}