Not necessarily screen.height * 0.65
, but viewport.height * 0.65
. Even though a Windows 8 app will always have the same height, regardless of the snapped state, this is an important difference in browser-based applications.
In JavaScript:
document.documentElement.clientHeight * 0.65;
If you're using jQuery, you can do:
$(window).height() * 0.65;