/* BOTONES DISPONIBLES
bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright, justifyfull,
bullist, numlist, outdent, indent, cut, copy, paste, undo, redo, link, unlink, image, cleanup,
help, code, hr, removeformat, sub, sup, forecolor, backcolor, charmap, visualaid, anchor, newdocument
*/

// Control id, button img, button title, command, user_interface, value
tinyMCE.init({
	convert_newlines_to_brs : true,
    force_br_newlines : true,
    force_p_newlines : false,
	theme : "advanced",
	mode : "textareas", //exact, textareas, specific_textareas
	//elements : "elm1,elm2,elm3",
	content_css : "../../estilos/estilos.css",
	extended_valid_elements : "a[href|target|name]",
	plugins : "paste,searchreplace",//table",
	debug : false,
	//inline_styles : true,
	language : "es",
	width: "350",
	height: "400",
	theme_advanced_styles : "Titulo=titulo;Titulonegro=titulo2;Texto=texto5;Texto azul=texto7;Resaltado=destacado2;Resaltado negro=destacado5;Texto Negrita=bajada5;nota=nota7;", // Theme specific setting CSS classes
	theme_advanced_toolbar_align : "left",
	theme_advanced_buttons1 : "cut,"
			+",copy"
			+",paste"
			+",pastetext"
			+",pasteword"
			+",selectall"
			+",removeformat"
			+",separator" /**/
			+",undo"
			+",redo"
			+",separator" /**/
			+",search"
			+",replace"
			+",separator" /**/
			/*+",justifyleft"
			+",justifycenter"
			+",justifyright"
			+",justifyfull"
			+",separator" /**/
			/*+",bullist"
			+",numlist"
			+",outdent"
			+",indent"
			*/
			+",link"
			+",unlink"
			+",anchor"


			/*+",cleanup"
			+",help"*/
			+",code"
			
			/*+",visualaid"
			+",newdocument"*/
			,
	theme_advanced_buttons2 :
			"styleselect,"
			+",separator" /**/
			+",bold"
			+",italic"
			+",underline"
			/*+",strikethrough"
			*/
			+",separator" /**/
			+",hr"
			+",sub"
			+",sup"
			+",forecolor"
			//+",backcolor"
			//+",charmap"
			+",image"
			,
	theme_advanced_buttons3 : "",
	/*theme_advanced_buttons3_add : "pastetext,pasteword,selectall",
		paste_create_paragraphs : 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,*/
	theme_advanced_toolbar_location : "top"
/*			theme_advanced_disable :
		"formatselect,strikethrough"
		+",justifyleft,justifycenter,justifyright,justifyfull"
		+",outdent, indent,bullist, numlist,image,help, code,visualaid"
*/		});

/*
// Custom save callback, gets called when the contents is to be submitted
function customSave(id, content) {
	alert(id + "=" + content);
}*/

