function(obj, name) {
		if (obj.currentStyle) {
			return obj.currentStyle[name];
		} else if (window.getComputedStyle) {
			return window.getComputedStyle(obj, null)[name];
		}
	}
function(obj, name) {
		if (obj.currentStyle) {
			return obj.currentStyle[name];
		} else if (window.getComputedStyle) {
			return window.getComputedStyle(obj, null)[name];
		}
	}
function ( obj , name ) { if ( obj . currentStyle ) { return obj . currentStyle [ name ] ; } else if ( window . getComputedStyle ) { return window . getComputedStyle ( obj , null ) [ name ] ; } }
Returns a given computed style of a DOM element.

@method getStyle
@static
@param {Object} obj DOM element like object.
@param {String} name Style you want to get from the DOM element
Returns a given computed style of a DOM element .