rem: html += '<link href="' + tinyMCE.getParam("content_css") + '" rel="stylesheet" type="text/css" />'; 
add:  for (i=0; i<css.length; i++) html += '<link href="' + css[i] + '" rel="stylesheet" type="text/css" />';  
context: 	execCommand : function(editor_id, element, command, user_interface, value) {		// Handle commands		switch (command) {			case "mcePreview":				var previewPage = tinyMCE.getParam("plugin_preview_pageurl", null);				var previewWidth = tinyMCE.getParam("plugin_preview_width", "550");				var previewHeight = tinyMCE.getParam("plugin_preview_height", "600");				// Use a custom preview page				if (previewPage) {					var template = new Array();					template['file'] = previewPage;					template['width'] = previewWidth;					template['height'] = previewHeight;					tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "yes", inline : "yes", content : tinyMCE.getContent(), content_css : tinyMCE.getParam("content_css")});				} else {					var win = window.open("", "mcePreview", "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width=" + previewWidth + ",height="  + previewHeight);					var html = "";					var c = tinyMCE.getContent();					var pos = c.indexOf('<body'), pos2;					if (pos != -1) {						pos = c.indexOf('>', pos);						pos2 = c.lastIndexOf('</body>');						c = c.substring(pos + 1, pos2);					}					html += tinyMCE.getParam('doctype');					html += '<html xmlns="http://www.w3.org/1999/xhtml">';					html += '<head>';					html += '<title>' + tinyMCE.getLang('lang_preview_desc') + '</title>';					html += '<base href="' + tinyMCE.settings['base_href'] + '" />';					html += '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';					html += '<link href="' + tinyMCE.getParam("content_css") + '" rel="stylesheet" type="text/css" />';					html += '<script type="text/javascript">';					html += 'window.opener.TinyMCE_PreviewPlugin._setDoc(document);';					html += 'window.opener.TinyMCE_PreviewPlugin._setWin(window);';					html += 'writeFlash = window.opener.TinyMCE_PreviewPlugin._writeFlash;';					html += 'writeShockWave = window.opener.TinyMCE_PreviewPlugin._writeShockWave;';					html += 'writeQuickTime = window.opener.TinyMCE_PreviewPlugin._writeQuickTime;';					html += 'writeRealMedia = window.opener.TinyMCE_PreviewPlugin._writeRealMedia;';					html += 'writeWindowsMedia = window.opener.TinyMCE_PreviewPlugin._writeWindowsMedia;';					html += 'writeEmbed = window.opener.TinyMCE_PreviewPlugin._writeEmbed;';					html += '</script>';					html += '</head>';					html += '<body dir="' + tinyMCE.getParam("directionality") + '" onload="window.opener.TinyMCE_PreviewPlugin._onLoad();">';					html += c;					html += '</body>';					html += '</html>';					win.document.write(html);					win.document.close();				}				return true;		}		return false;	},
meta: 2801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2801/9805d3575671c1511f6dd989a399ba9f65e4b022/editor_plugin_src.js/buggy/jscripts/tiny_mce/plugins/preview/editor_plugin_src.js