rem: if (element.getStyle('position') == 'static') return proceed(element); var position = element.getStyle(position); element.setStyle({position: 'relative'}); 
add: var position = element.getStyle('position'); if (position != 'static') return proceed(element); element.setStyle({ position: 'relative' }); 
context:   ['positionedOffset','getOffsetParent'].each(function(method){    Element.Methods[method] = Element.Methods[method].wrap(      function(proceed, element){        element = $(element);        if (element.getStyle('position') == 'static') return proceed(element);        var position = element.getStyle(position);        element.setStyle({position: 'relative'});        var value = proceed(element);        element.setStyle({position: position});        return value;      }    );  });
meta: 3332	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3332/c27f2de3730bbca871315690e6f522e6f1adbb9f/dom.js/buggy/src/dom.js