rem: for (n in pl) 
add: for (n in pl) { 
context: function generatePreview() {	var f = document.forms[0], p = document.getElementById('prev'), h = '', cls, pl = serializeParameters(), n, type, codebase, wp, hp, nw, nh;	nw = parseInt(f.width.value);	nh = parseInt(f.height.value);	if (f.width.value != "" && f.height.value != "") {		if (f.constrain.checked) {			wp = nw / oldWidth;			hp = nh / oldHeight;			nw = Math.round(hp * nw);			nh = Math.round(wp * nh);			f.width.value = nw;			f.height.value = nh;		}		oldWidth = nw;		oldHeight = nh;	}	switch (f.media_type.options[f.media_type.selectedIndex].value) {		case "flash":			cls = 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000';			codebase = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0';			type = 'application/x-shockwave-flash';			break;		case "shockwave":			cls = 'clsid:166B1BCA-3F9C-11CF-8075-444553540000';			codebase = 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0';			type = 'application/x-director';			break;		case "qt":			cls = 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B';			codebase = 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0';			type = 'video/quicktime';			break;		case "wmp":			cls = tinyMCE.getParam('media_wmp6_compatible') ? 'clsid:05589FA1-C356-11CE-BF01-00AA0055595A' : 'clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6';			codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701';			type = 'application/x-mplayer2';			break;		case "rmp":			cls = 'clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA';			codebase = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701';			type = 'audio/x-pn-realaudio-plugin';			break;	}	if (pl == '') {		p.innerHTML = '';		return;	}	pl = eval('x={' + pl + '};');	if (!pl.src) {		p.innerHTML = '';		return;	}	pl.src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], pl.src);	pl.width = !pl.width ? 100 : pl.width;	pl.height = !pl.height ? 100 : pl.height;	pl.id = !pl.id ? 'obj' : pl.id;	pl.name = !pl.name ? 'eobj' : pl.name;	pl.align = !pl.align ? '' : pl.align;	h += '<object classid="clsid:' + cls + '" codebase="' + codebase + '" width="' + pl.width + '" height="' + pl.height + '" id="' + pl.id + '" name="' + pl.name + '" align="' + pl.align + '">';	for (n in pl)		h += '<param name="' + n + '" value="' + pl[n] + '">';	h += '<embed type="' + type + '" ';	for (n in pl)		h += n + '="' + pl[n] + '" ';	h += '></embed></object>';	p.innerHTML = "<!-- x --->" + h;}
meta: 2801	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2801/1b5b8366446ab6a2a59c3979ee0d5318e44a3b86/media.js/clean/jscripts/tiny_mce/plugins/media/jscripts/media.js