rem: element = $(element); 
add: element = OpenLayers.Util.getElement(element); 
context:   getDimensions: function(element) {    element = $(element);    if (OpenLayers.Element.getStyle(element, 'display') != 'none')      return {width: element.offsetWidth, height: element.offsetHeight};    // All *Width and *Height properties give 0 on elements with display none,    // so enable the element temporarily    var els = element.style;    var originalVisibility = els.visibility;    var originalPosition = els.position;    els.visibility = 'hidden';    els.position = 'absolute';    els.display = '';    var originalWidth = element.clientWidth;    var originalHeight = element.clientHeight;    els.display = 'none';    els.position = originalPosition;    els.visibility = originalVisibility;    return {width: originalWidth, height: originalHeight};  },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/c66f1ce3606d1437e5642fabaa0d9667368a1427/BaseTypes.js/buggy/lib/OpenLayers/BaseTypes.js