tinyMCE.init({
		document_base_url : "http://grandeshistorias.ceac.es/",
		language:"es",	
		mode : "exact",
		elements : "elm1",
		theme : "advanced",
		valid_elements : "strong/b[class|style],em/i[class|style],u[class|style],p[style|class|align],br",

		plugins : "safari,paste,fullscreen",	
		theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,|,fullscreen",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",
		theme_advanced_toolbar_location : "none",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "none",
		theme_advanced_resizing : false,
		theme_advanced_more_colors : false,			
		verify_html : true,
		paste_auto_cleanup_on_paste : true,
 		content_css : "css/editor_intern.css",
		setup: function(ed) {
				// Force Paste-as-Plain-Text

				ed.onPaste.add( function(ed, e, o) {

					ed.execCommand('mcePasteText', true);

					return tinymce.dom.Event.cancel(e);

				});

		}

});


		//plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",	
		//font_size_style_values : "8px,10px,12px,14px,18px,24px,36px",		
		// Example content CSS (should be your site CSS)
		//content_css : "css/content.css",
		// Drop lists for link/image/media/template dialogs
		// Replace values for the template plugin
		/*template_replace_values : {
			username : "Some User",
			staffid : "991234"
		}*/
