public/javascripts/yui/dom/dom-debug.js
function(doc) {
            doc = doc || document;
            return Math.max(doc[DOCUMENT_ELEMENT].scrollLeft, doc.body.scrollLeft);
        }
function(doc) {
            doc = doc || document;
            return Math.max(doc[DOCUMENT_ELEMENT].scrollLeft, doc.body.scrollLeft);
        }
function ( doc ) { doc = doc || document ; return Math . max ( doc [ DOCUMENT_ELEMENT ] . scrollLeft , doc . body . scrollLeft ) ; }
Returns the left scroll value of the document
@method getDocumentScrollLeft
@param {HTMLDocument} document (optional) The document to get the scroll value of
@return {Int}  The amount that the document is scrolled to the left
Returns the left scroll value of the document