It seems to me that Firefox ought to be better equipped to return the proper value when using $(window).height().
$(window).height()
I am using jQuery 1.8.2. Is this a bug
in my case i had to delete the attributes in the html element
changed to just
now i get the correct document width and height