code: function(obj, out) {
              out = out || {};
              var rect = obj.getBoundingClientRect(),
                  x =
                      rect.left +
                      (window.pageXOffset
                          ? window.pageXOffset
                          : document.body.scrollLeft),
                  y =
                      rect.top +
                      (window.pageYOffset
                          ? window.pageYOffset
                          : document.body.scrollTop),
                  //border left
                  borderX =
                      parseInt(
                          this.getStyle(obj, "border-left-width") || 0,
                          10
                      ) ||
                      parseInt(this.getStyle(obj, "borderLeftWidth") || 0, 10) ||
                      0,
                  borderY =
                      parseInt(this.getStyle(obj, "border-top-width") || 0, 10) ||
                      parseInt(this.getStyle(obj, "borderTopWidth") || 0, 10) ||
                      0;
  
              out.x = x + borderX;
              out.y = y + borderY;
              return out;
          }
docs: @
  #Crafty.domHelper.innerPosition
  @comp Crafty.domHelper
  @sign public Object Crafty.domHelper.innerPosition(HTMLElement obj[, Object out])
  @param obj - HTML element to calculate the position
  @param out - optional object to save result in
  @returns Object with `x` key being the `x` position, `y` being the `y` position
  
  Find a DOM elements position including
  padding and border.