yes, the window load event fires when all assets are done loading, including all images and css.
document ready fires as soon as the DOM structure is ready, which is almost always prior to assets being loaded.
it should be equivalent to
<script>
var contentHeight;
window.onload = function(){
contentHeight = $('body').height();
}
</script>
-- Kevin