rem: var aMatch  = oImage.style.width.match( regexSize ) ; if ( aMatch ) 
add: var aMatchW  = oImage.style.width.match( regexSize ) ; if ( aMatchW ) 
context: function LoadSelection(){	if ( ! oImage ) return ;	var sUrl = oImage.getAttribute( '_fcksavedurl' ) ;	if ( sUrl == null )		sUrl = GetAttribute( oImage, 'src', '' ) ;	GetE('txtUrl').value    = sUrl ;	GetE('txtAlt').value    = GetAttribute( oImage, 'alt', '' ) ;	GetE('txtVSpace').value	= GetAttribute( oImage, 'vspace', '' ) ;	GetE('txtHSpace').value	= GetAttribute( oImage, 'hspace', '' ) ;	GetE('txtBorder').value	= GetAttribute( oImage, 'border', '' ) ;	GetE('cmbAlign').value	= GetAttribute( oImage, 'align', '' ) ;	var iWidth, iHeight ;	var regexSize = /^\s*(\d+)px\s*$/i ;		if ( oImage.style.width )	{		var aMatch  = oImage.style.width.match( regexSize ) ;		if ( aMatch )		{			iWidth = aMatch[1] ;			oImage.style.width = '' ;		}	}	if ( oImage.style.height )	{		var aMatch  = oImage.style.height.match( regexSize ) ;		if ( aMatch )		{			iHeight = aMatch[1] ;			oImage.style.height = '' ;		}	}	GetE('txtWidth').value	= iWidth ? iWidth : GetAttribute( oImage, "width", '' ) ;	GetE('txtHeight').value	= iHeight ? iHeight : GetAttribute( oImage, "height", '' ) ;	// Get Advances Attributes	GetE('txtAttId').value			= oImage.id ;	GetE('cmbAttLangDir').value		= oImage.dir ;	GetE('txtAttLangCode').value	= oImage.lang ;	GetE('txtAttTitle').value		= oImage.title ;	GetE('txtAttClasses').value		= oImage.getAttribute('class',2) || '' ;	GetE('txtLongDesc').value		= oImage.longDesc ;	if ( oEditor.FCKBrowserInfo.IsIE )		GetE('txtAttStyle').value	= oImage.style.cssText ;	else		GetE('txtAttStyle').value	= oImage.getAttribute('style',2) ;	if ( oLink )	{		var sUrl = oLink.getAttribute( '_fcksavedurl' ) ;		if ( sUrl == null )			sUrl = oLink.getAttribute('href',2) ;			GetE('txtLnkUrl').value		= sUrl ;		GetE('cmbLnkTarget').value	= oLink.target ;	}	UpdatePreview() ;}
meta: 1235	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1235/e3f23043ed288727da2247e5542491d451663929/fck_image.js/buggy/reference/library/src/webapp/editor/FCKeditor/editor/dialog/fck_image/fck_image.js