I have a page that I need to dynamically load ajax content when the user scrolls to the bottom. The problem is that JQuery is not returning the correct window height. I have
Look at your HTML souce code. The first line should be <!DOCTYPE html> and you have <style> tag instead.
<!DOCTYPE html>
<style>
So it seems that your document is running in Quirks Mode and jQuery can't calculate correct window dimensions.