jQuery function to get the curren viewport?
<p>I found this one:</p>

<pre><code>        getViewport = function () {
            var m = document.compatMode == 'CSS1Compat';
            return {
                l : window.pageXOffset || (m ? document.documentElement.scrollLeft : document.body.scrollLeft),
                t : window.pageYOffset || (m ? document.documentElement.scrollTop : document.body.scrollTop),
                w : window.innerWidth || (m ? document.documentElement.clientWidth : document.body.clientWidth),
                h : window.innerHeight || (m ? document.documentElement.clientHeight : document.body.clientHeight)
            };
        };
</code></pre>

<p>But does jQuery have a built in function for this?</p>
