code: function() {
              var scrollHeight = (document[COMPAT_MODE] != CSS1_COMPAT || isSafari) ? document.body.scrollHeight : documentElement.scrollHeight,
                  h = Math.max(scrollHeight, Y.Dom.getViewportHeight());
  
              return h;
          }
docs: Returns the height of the document.
  @method getDocumentHeight
  @return {Int} The height of the actual document (which includes the body and its margin).