code: function(node) {
          var w = Y_DOM._getDocSize(node).width;
          return Math.max(w, Y_DOM._getWinSize(node).width);
      }
docs: Document width
  @method docWidth
  @return {Number} The current width of the document.