rem: getRelativePosition: function(self, client){ if (great(self)) return {x: 0, y: 0};  var el = self, left = self.offsetLeft, top = self.offsetTop;  if (Browser.Engine.trident){ while ((el = el.offsetParent) && !Dimensions.positioned(el)){ left += el.offsetLeft; top += el.offsetTop; } el = self; }  var position = {x: left, y: top}, isPositioned = Dimensions.positioned(self);  while ((el = el.parentNode)){ var isOffsetParent = Dimensions.positioned(el); if ((!isOffsetParent || client) && ((!isPositioned || isOffsetParent) || Browser.Engine.presto)){ var scroll = Dimensions.getScroll(el); position.x -= scroll.x; position.y -= scroll.y; } if (isOffsetParent) break; }  return position; 
add: getRelativePosition: function(){ return this.getPosition(this.getOffsetParent()); 
context: 	getRelativePosition: function(self, client){		if (great(self)) return {x: 0, y: 0};		var el = self, left = self.offsetLeft, top = self.offsetTop;		if (Browser.Engine.trident){			while ((el = el.offsetParent) && !Dimensions.positioned(el)){				left += el.offsetLeft;				top += el.offsetTop;			}			el = self;		}		var position = {x: left, y: top}, isPositioned = Dimensions.positioned(self);		while ((el = el.parentNode)){			var isOffsetParent = Dimensions.positioned(el);			if ((!isOffsetParent || client) && ((!isPositioned || isOffsetParent) || Browser.Engine.presto)){				var scroll = Dimensions.getScroll(el);				position.x -= scroll.x;				position.y -= scroll.y;			}			if (isOffsetParent) break;		}		return position;	},
meta: 5569	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5569/73e82e776e0f715130186dae1a6d0a04aa910d47/mootools-trunk.js/buggy/wicket-contrib-mootools/src/java/wicket/contrib/mootools/mootools-trunk.js