rem: var result = []; ['top', 'right', 'bottom', 'left'].each(function(prop){ result.push(this.getStyle(property + '-' + prop) || '0'); 
add: dirs.each(function(dir){ result.push(this.getStyle(property + '-' + dir)); 
context: 	getStyle: function(property){		property = property.camelCase();		var style = this.style[property];		if (!$chk(style)){			if (property == 'opacity') return $chk(this.opacity) ? this.opacity : 1;			if (['margin', 'padding'].test(property)){				var result = [];				['top', 'right', 'bottom', 'left'].each(function(prop){					result.push(this.getStyle(property + '-' + prop) || '0');				}, this);				var every = result.every(function(val){					return val == result[0];				});				return (every) ? result[0] : result;			}			if (document.defaultView) style = document.defaultView.getComputedStyle(this, null).getPropertyValue(property.hyphenate());			else if (this.currentStyle) style = this.currentStyle[property];		}		if (window.ie && !parseInt(style)){			if (['height', 'width'].test(property)){				var values = (property == 'width') ? ['left', 'right'] : ['top', 'bottom'];				var size = 0;				values.each(function(value){					size += this.getStyle('border-' + value + '-width').toInt() + this.getStyle('padding-' + value).toInt();				}, this);				return this['offset' + property.capitalize()] - size + 'px';			} else if (property.test(/border/)){				return 0 + 'px';			}		}		return (style && property.test(/color/i) && style.test(/rgb/)) ? style.rgbToHex() : style;	},
meta: 8516	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8516/964b9413ce78b54a00ab59e2a27a3d96105d0344/Element.js/buggy/Native/Element.js