If you are using frames, you can get the height of the outermost window by using window.top
in the jQuery constructor. The height of window.top will get the height of the browser window.
$(window.top).height();
Edit: Updated window.top reference as Mozilla moved their documentation around.