title: How can i get the window viewport size?
body: <p>I tried to get the window viewport width. when i use <strong>document.documentElement.clientHeight(or)window.innerWidth</strong> i can get exactly what i need. If i logged In at minimize mode,then if i maximize the window the viewport width will not be resized.I got the viewport width when it is minimized. how can i slove it?
    I also tried to use <strong>document.body.clientHeight</strong>.But here also i got problem.The viewport size is larger than my viewport,because of statusbar.Then i subtract the statusbar size,then i got the viewport size.If i have anotherbar in my window again i got the same problem.
    Exactly what i need is how can get the end user viewport size?Please help me?</p>
  
  <p>Thanks in advance</p>