if (fe.width != f.width.value || fe.height != f.width.height) 
if (fe.width != f.width.value || fe.height != f.height.height) 
function insertMedia() {	var fe, f = document.forms[0], h;	if (!AutoValidator.validate(f)) {		alert(tinyMCE.getLang('lang_invalid_data'));		return false;	}	f.width.value = f.width.value == "" ? 100 : f.width.value;	f.height.value = f.height.value == "" ? 100 : f.height.value;	fe = tinyMCE.selectedInstance.getFocusElement();	if (fe != null && /mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(fe, 'class'))) {		switch (f.media_type.options[f.media_type.selectedIndex].value) {			case "flash":				fe.className = "mceItemFlash";				break;			case "shockwave":				fe.className = "mceItemShockWave";				break;			case "qt":				fe.className = "mceItemQuickTime";				break;			case "wmp":				fe.className = "mceItemWindowsMedia";				break;			case "rmp":				fe.className = "mceItemRealMedia";				break;		}		if (fe.width != f.width.value || fe.height != f.width.height)			tinyMCE.selectedInstance.repaint();		fe.title = serializeParameters();		fe.width = f.width.value;		fe.height = f.height.value;		fe.style.width = f.width.value + (f.width.value.indexOf('%') == -1 ? 'px' : '');		fe.style.height = f.height.value + (f.height.value.indexOf('%') == -1 ? 'px' : '');		fe.align = f.align.options[f.align.selectedIndex].value;	} else {		h = '<img src="' + tinyMCE.getParam("theme_href") + '/images/spacer.gif"' ;		switch (f.media_type.options[f.media_type.selectedIndex].value) {			case "flash":				h += ' class="mceItemFlash"';				break;			case "shockwave":				h += ' class="mceItemShockWave"';				break;			case "qt":				h += ' class="mceItemQuickTime"';				break;			case "wmp":				h += ' class="mceItemWindowsMedia"';				break;			case "rmp":				h += ' class="mceItemRealMedia"';				break;		}		h += ' title="' + serializeParameters() + '"';		h += ' width="' + f.width.value + '"';		h += ' height="' + f.height.value + '"';		h += ' align="' + f.align.options[f.align.selectedIndex].value + '"';		h += ' />';		tinyMCE.selectedInstance.execCommand('mceInsertContent', false, h);	}	tinyMCEPopup.close();}
3623	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3623/32d3515ec5cf941c718954b41f19cc777ee4a50e/media.js/buggy/ain7-website/ain7/media/js/tiny_mce/plugins/media/jscripts/media.js