// TinyMCE
	tinyMCE.init({
		mode : "textareas",
		language : "pt_br",
		theme : "advanced",
		plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen",
		theme_advanced_disable : "formatselect,styleselect,image,help,visualaid,code",
		theme_advanced_buttons1_add_before : "",
		//theme_advanced_buttons1_add : "sub,sup,separator,copy,paste,pastetext,pasteword",
		theme_advanced_buttons1_add : "sub,sup,separator,pastetext",
		theme_advanced_buttons2_add : "separator,removeformat,charmap",
		theme_advanced_buttons3 : "",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		content_css : "example_word.css",
	    plugi2n_insertdate_dateFormat : "%Y-%m-%d",
	    plugi2n_insertdate_timeFormat : "%H:%M:%S",
		external_link_list_url : "example_link_list.js",
		external_image_list_url : "example_image_list.js",
		media_external_list_url : "example_media_list.js",
		//file_browser_callback : "fileBrowserCallBack",
		paste_use_dialog : false,
		theme_advanced_resizing : true,
		theme_advanced_resize_horizontal : false,
		//theme_advanced_link_targets : "_something=My somthing;_something2=My somthing2;_something3=My somthing3;",
		paste_auto_cleanup_on_paste : true,
		paste_convert_headers_to_strong : false,
		paste_strip_class_attributes : "all",
		paste_remove_spans : false,
		paste_remove_styles : false,
		editor_deselector : "mceNoEditor",
	    forced_root_block : false,
	    force_br_newlines : true,
	    force_p_newlines : false,
		invalid_elements : "table,tr,th,tfoot,tt,td,tbody,thead,h1,h2,h3,h4,h5,h6,span,div,font,img,form,input,textarea,select,iframe,html,code,body,applet,script,object,button,center,fieldset,frame,frameset,head,legend,map,param,small,noframes,meta,noscript,style"		
	});

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