public/javascripts/yui/event/event-debug.js
function() {
                var dd = document.documentElement, db = document.body;
                if (dd && (dd.scrollTop || dd.scrollLeft)) {
                    return [dd.scrollTop, dd.scrollLeft];
                } else if (db) {
                    return [db.scrollTop, db.scrollLeft];
                } else {
                    return [0, 0];
                }
            }
function() {
                var dd = document.documentElement, db = document.body;
                if (dd && (dd.scrollTop || dd.scrollLeft)) {
                    return [dd.scrollTop, dd.scrollLeft];
                } else if (db) {
                    return [db.scrollTop, db.scrollLeft];
                } else {
                    return [0, 0];
                }
            }
function ( ) { var dd = document . documentElement , db = document . body ; if ( dd && ( dd . scrollTop || dd . scrollLeft ) ) { return [ dd . scrollTop , dd . scrollLeft ] ; } else if ( db ) { return [ db . scrollTop , db . scrollLeft ] ; } else { return [ 0 , 0 ] ; } }
Returns the scrollTop and scrollLeft.  Used to calculate the
pageX and pageY in Internet Explorer
@method _getScroll
@static
@private
Returns the scrollTop and scrollLeft . Used to calculate the pageX and pageY in Internet Explorer