
		tinyMCE.init({
			mode : "textareas",
			theme : "advanced",
			theme_advanced_blockformats : "p,h2,h3,h4,h5,div",
			editor_deselector : "mceNoEditor",
			plugins : "advlink,style,preview,advhr,advimage,advlink,preview,zoom,flash,searchreplace,paste,separator,preview,zoom,media",
			theme_advanced_buttons1 : "bold,italic,bullist,|,undo,redo,link,unlink,image,|,cut,copy,paste,pasteword,replace,|,media,|,code,charmap",
			theme_advanced_buttons2 : "formatselect",
			theme_advanced_buttons3 : "",
			inline_styles : true,
			paste_create_paragraphs : true,
			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",
			theme_advanced_toolbar_location : "top",
			theme_advanced_toolbar_align : "left",
			external_image_list_url : "/includes/imageList",
			external_link_list_url : "/includes/locationList",
			content_css : "/css/admin/tiny.css",
			relative_urls : true,
			remove_script_host : false,
			forced_root_block : false,
			//theme_advanced_path_location : "bottom",
			extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],span[class|align|style],object[align<bottom?left?middle?right?top|archive|border|class|classid|codebase|codetype|data|declare|dir<ltr?rtl|height|hspace|id|lang|name|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|standby|style|tabindex|title|type|usemap|vspace|width],embed[scr|wmode|quality|menu|pluginspage|type|width|height],param[name|value],div[class],iframe[src|width|height|frameborder]"
		});
		
		function fileBrowserCallBack(field_name, url, type, win) {
			// This is where you insert your custom filebrowser logic
			alert("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";
		}
	

