back Reading Screen, Browser Window, Document Sizes using JavaScript
Start your screen up, move your window, shake your body
document.documentElement 
1clientWidthclientHeight
offsetWidthoffsetHeight
2scrollWidthscrollHeight
scrollLeftscrollTop
document.body 
3scrollWidthscrollHeight
offsetWidthoffsetHeight
offsetLeftoffsetTop
window 
outerWidthouterHeight
4innerWidthinnerHeight
screenLeftscreenTop
screenXscreenY
pageXOffsetpageYOffset
window.screen 
5widthheight
6availWidthavailHeight
Document limit