I\'m doing a simple test on $(window).height() and I\'m getting a value of 2602 on a screen resolution of 1366 x 768.
jQuery(document).ready(function($){
Same problem here, it looks that jquery (and dom in general) is not calculating sizes correctly in quirksmode.
Two solutions:
Hope it helps.