Window JavaScript Tutorial

The innerWidth property references the pixel width of the document within the browser's frame.
This does not include any of the toolbars that makes up the frame itself.