Width of the browser window viewport including, if rendered, the vertical scrollbar.
var intViewportWidth = window.innerWidth;
The window.innerWidth property is read-only; it has no default
value.
window.innerWidth property stores an integer representing a number of
pixels.