rem: this.settings['valid_elements'] = tinyMCE.getParam("valid_elements", "a[name|href|target],strong/b[class],em/i[class],strike[class],u[class],p[class|align],ol,ul,li,br,img[class|src|border=0|alt|hspace|vspace|width|height|align],sub,sup,blockquote[dir|style],table[border=0|cellspacing|cellpadding|width|height|class|align],tr[class|rowspan],td[class|colspan|rowspan|width|height],div[class|align],span[class|align],pre[class|align],address[class|align],h1[class|align],h2[class|align],h3[class|align],h4[class|align],h5[class|align],h6[class|align],hr"); 
add: this.settings['valid_elements'] = tinyMCE.getParam("valid_elements", "a[name|href|target|title],strong/b[class],em/i[class],strike[class],u[class],p[class|align],ol,ul,li,br,img[class|src|border=0|alt|hspace|vspace|width|height|align],sub,sup,blockquote[dir|style],table[border=0|cellspacing|cellpadding|width|height|class|align],tr[class|rowspan],td[class|colspan|rowspan|width|height],div[class|align],span[class|align],pre[class|align],address[class|align],h1[class|align],h2[class|align],h3[class|align],h4[class|align],h5[class|align],h6[class|align],hr"); 
context: function TinyMCE_init(settings) {	var theme;	// * * Check if valid browser (has execcommand and is JavaScript 1.2+	if (typeof document.execCommand == 'undefined')		return;	// * * Get script base path	if (!tinyMCE.baseURL) {		var elements = document.getElementsByTagName('script');		for (var i=0; i<elements.length; i++) {			if (elements[i].src && (elements[i].src.indexOf("tiny_mce.js") != -1 || elements[i].src.indexOf("tiny_mce_src.js") != -1)) {				var src = elements[i].src;				src = src.substring(0, src.lastIndexOf('/'));				tinyMCE.baseURL = src;				break;			}		}	}	// * * Get document base path	this.documentBasePath = document.location.href;	if (this.documentBasePath.indexOf('?') != -1)		this.documentBasePath = this.documentBasePath.substring(0, this.documentBasePath.indexOf('?'));	this.documentBasePath = this.documentBasePath.substring(0, this.documentBasePath.lastIndexOf('/'));	// * * If not HTTP absolute	if (tinyMCE.baseURL.indexOf('://') == -1 && tinyMCE.baseURL.charAt(0) != '/') {		// * * If site absolute		tinyMCE.baseURL = this.documentBasePath + "/" + tinyMCE.baseURL;	}	this.settings = settings;	this.settings['mode'] = tinyMCE.getParam("mode", "none");	this.settings['theme'] = tinyMCE.getParam("theme", "default");	this.settings['plugins'] = tinyMCE.getParam("plugins", "");	this.settings['language'] = tinyMCE.getParam("language", "uk");	this.settings['docs_language'] = tinyMCE.getParam("docs_language", this.settings['language']);	this.settings['elements'] = tinyMCE.getParam("elements", "");	this.settings['textarea_trigger'] = tinyMCE.getParam("textarea_trigger", "mce_editable");	this.settings['valid_elements'] = tinyMCE.getParam("valid_elements", "a[name|href|target],strong/b[class],em/i[class],strike[class],u[class],p[class|align],ol,ul,li,br,img[class|src|border=0|alt|hspace|vspace|width|height|align],sub,sup,blockquote[dir|style],table[border=0|cellspacing|cellpadding|width|height|class|align],tr[class|rowspan],td[class|colspan|rowspan|width|height],div[class|align],span[class|align],pre[class|align],address[class|align],h1[class|align],h2[class|align],h3[class|align],h4[class|align],h5[class|align],h6[class|align],hr");	this.settings['extended_valid_elements'] =  tinyMCE.getParam("extended_valid_elements", "");	this.settings['invalid_elements'] = tinyMCE.getParam("invalid_elements", "");	this.settings['encoding'] = tinyMCE.getParam("encoding", "");	this.settings['urlconvertor_callback'] = tinyMCE.getParam("urlconvertor_callback", "TinyMCE_convertURL");	this.settings['save_callback'] = tinyMCE.getParam("save_callback", "");	this.settings['debug'] = tinyMCE.getParam("debug", false);	this.settings['force_br_newlines'] = tinyMCE.getParam("force_br_newlines", false);	this.settings['add_form_submit_trigger'] = tinyMCE.getParam("add_form_submit_trigger", true);	this.settings['relative_urls'] = tinyMCE.getParam("relative_urls", true);	this.settings['remove_script_host'] = tinyMCE.getParam("remove_script_host", true);	this.settings['focus_alert'] = tinyMCE.getParam("focus_alert", true);	this.settings['document_base_url'] = tinyMCE.getParam("document_base_url", "" + document.location.href);	this.settings['visual'] = tinyMCE.getParam("visual", true);	this.settings['visual_table_style'] = tinyMCE.getParam("visual_table_style", "border: 1px dashed #BBBBBB");	this.settings['setupcontent_callback'] = tinyMCE.getParam("setupcontent_callback", "");	this.settings['fix_content_duplication'] = tinyMCE.getParam("fix_content_duplication", true);	this.settings['custom_undo_redo'] = tinyMCE.getParam("custom_undo_redo", true);	this.settings['custom_undo_redo_levels'] = tinyMCE.getParam("custom_undo_redo_levels", -1);	this.settings['verify_css_classes'] = tinyMCE.getParam("verify_css_classes", true);	this.settings['trim_span_elements'] = tinyMCE.getParam("trim_span_elements", true);	this.settings['verify_html'] = tinyMCE.getParam("verify_html", true);	this.settings['apply_source_formatting'] = tinyMCE.getParam("apply_source_formatting", false);	this.settings['directionality'] = tinyMCE.getParam("directionality", "ltr");	this.settings['auto_cleanup_word'] = tinyMCE.getParam("auto_cleanup_word", true);	this.settings['cleanup_on_startup'] = tinyMCE.getParam("cleanup_on_startup", false);	this.settings['inline_styles'] = tinyMCE.getParam("inline_styles", false);	// Setup baseHREF	var baseHREF = tinyMCE.settings['document_base_url'];	if (baseHREF.indexOf('?') != -1)		baseHREF = baseHREF.substring(0, baseHREF.indexOf('?'));	this.settings['base_href'] = baseHREF.substring(0, baseHREF.lastIndexOf('/')) + "/";	theme = this.settings['theme'];	if (!tinyMCE.isMSIE)		this.settings['force_br_newlines'] = false;	if (tinyMCE.getParam("content_css", false)) {		var cssPath = tinyMCE.getParam("content_css", "");		// Is relative		if (cssPath.indexOf('://') == -1 && cssPath.charAt(0) != '/')			this.settings['content_css'] = this.documentBasePath + "/" + cssPath;		else			this.settings['content_css'] = cssPath;	} else		this.settings['content_css'] = tinyMCE.baseURL + "/themes/" + theme + "/editor_content.css";	if (tinyMCE.getParam("popups_css", false)) {		var cssPath = tinyMCE.getParam("popups_css", "");		// Is relative		if (cssPath.indexOf('://') == -1 && cssPath.charAt(0) != '/')			this.settings['popups_css'] = this.documentBasePath + "/" + cssPath;		else			this.settings['popups_css'] = cssPath;	} else		this.settings['popups_css'] = tinyMCE.baseURL + "/themes/" + theme + "/editor_popup.css";	if (tinyMCE.getParam("editor_css", false)) {		var cssPath = tinyMCE.getParam("editor_css", "");		// Is relative		if (cssPath.indexOf('://') == -1 && cssPath.charAt(0) != '/')			this.settings['editor_css'] = this.documentBasePath + "/" + cssPath;		else			this.settings['editor_css'] = cssPath;	} else		this.settings['editor_css'] = tinyMCE.baseURL + "/themes/" + theme + "/editor_ui.css";	this.settings['ask'] = tinyMCE.getParam("ask", false);	if (tinyMCE.settings['debug']) {		var msg = "Debug: \n";		msg += "baseURL: " + this.baseURL + "\n";		msg += "documentBasePath: " + this.documentBasePath + "\n";		msg += "content_css: " + this.settings['content_css'] + "\n";		msg += "popups_css: " + this.settings['popups_css'] + "\n";		msg += "editor_css: " + this.settings['editor_css'] + "\n";		alert(msg);	}	// Init HTML cleanup	this._initCleanup();	if (this.isMSIE)		attachEvent("onload", TinyMCE_onLoad);	else		addEventListener("load", TinyMCE_onLoad, false);	document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCE.baseURL + '/themes/' + this.settings['theme'] + '/editor_template.js"></script>');	document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCE.baseURL + '/langs/' + this.settings['language'] +  '.js"></script>');	document.write('<link href="' + this.settings['editor_css'] + '" rel="stylesheet" type="text/css">');	// Add theme plugins	var themePlugins = this.settings['plugins'].split(',');	if (this.settings['plugins'] != '') {		for (var i=0; i<themePlugins.length; i++)			document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCE.baseURL + '/plugins/' + themePlugins[i] + '/editor_plugin.js"></script>');	}}
meta: 1948	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1948/873ce1c62e52365d732f67421272ae1302559b15/tiny_mce_src.js/clean/www/extras/tinymce/jscripts/tiny_mce/tiny_mce_src.js