Check how far window can scroll?
<p>This seems like it should be pretty easy, so I just don't get what I'm overlooking.  I've tried jQuery's <code>$(document).width()</code> and that is not returning the correct value.  I just need to check how far a window can scroll (horizontally).</p>
