Bugfix "elem.style is undefined"

In jQuery version 1.6.1 when using <code>$(window).outerHeight()</code>, it results in an error stating "elem.style is undefined" or "a.style is undefined"
Changing to <code>$(window).height()</code> fixed the error. 
It is because the Window object has no property called "style"