code: function ( obj ) {
  		obj = obj || document.body;
  		var left, top, right, bottom, height, width;
  
  		left   = top = 0;
  		width  = obj.offsetWidth;
  		height = obj.offsetHeight;
  
  		if ( obj.offsetParent ) {
  			top    = obj.offsetTop;
  			left   = obj.offsetLeft;
  
  			while ( obj = obj.offsetParent ) {
  				left += obj.offsetLeft;
  				top  += obj.offsetTop;
  			}
  
  			right  = document.body.offsetWidth  - ( left + width );
  			bottom = document.body.offsetHeight - ( top  + height );
  		}
  		else {
  			right  = width;
  			bottom = height;
  		}
  
  		return [left, top, right, bottom];
  	}
docs: Finds the position of an element
  
  @method position
  @param  {Mixed} obj Element
  @return {Array}     Coordinates [left, top, right, bottom]