tinyMCE.init({
	// General options
	//elements : "content,address,pt_PT[content]",
    mode : "textareas",
	theme : "advanced",
	plugins : "safari,style,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,pagebreak,imagemanager,filemanager",
	

		// BUTTONS
		theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
		theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote",
		//theme_advanced_buttons3 : "undo,redo,|,link,unlink,anchor,image,cleanup,help,code,,|,insertimage,insertfile,|,insertdate,inserttime,preview,|,forecolor,backcolor",
		//theme_advanced_buttons4 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
		//theme_advanced_buttons5 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
			
		
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_path : false,
		
		theme_advanced_disable : "formatselect, indent, outdent",
		relative_urls:false,
		
		//content_css : "../lib/css/layout.css",
	  	theme_advanced_styles : "imagem_direita=rightimage",

		extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|usemap],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
		
		paste_auto_cleanup_on_paste : true,
		paste_convert_headers_to_strong : true,
		
		convert_urls : false,
		remove_script_host : false,
		relative_urls:false,
		cleanup_indent : true,
		visual : false,
		remove_linebreaks : false
			
	});
