rem: if ( el = oOwnerWindow.frameElement ) 
add: el = oOwnerWindow.frameElement ; if ( el ) 
context: FCKTools.GetElementPosition = function( el, relativeWindow ){	// Initializes the Coordinates object that will be returned by the function.	var c = { X:0, Y:0 } ;		var oWindow = relativeWindow || window ;	var oOwnerWindow = FCKTools.GetElementWindow( el ) ;	// Loop throw the offset chain.	while ( el )	{		var sPosition = oOwnerWindow.getComputedStyle(el, '').position ;		// Check for non "static" elements.		// 'FCKConfig.FloatingPanelsZIndex' -- Submenus are under a positioned IFRAME.		if ( sPosition && sPosition != 'static' && el.style.zIndex != FCKConfig.FloatingPanelsZIndex ) 			break ;		c.X += el.offsetLeft - el.scrollLeft ;		c.Y += el.offsetTop - el.scrollTop  ;		if ( el.offsetParent )			el = el.offsetParent ;		else		{			if ( oOwnerWindow != oWindow )			{				if ( el = oOwnerWindow.frameElement )					oOwnerWindow = FCKTools.GetElementWindow( el ) ;			}			else			{				c.X += el.scrollLeft ;				c.Y += el.scrollTop  ;				break ;			}		}	}	// Return the Coordinates object	return c ;}
meta: 8533	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8533/30774da157017224af5d9a1b55d04bf21f55a840/fcktools_gecko.js/buggy/library/src/webapp/editor/FCKeditor/editor/_source/internals/fcktools_gecko.js