title: how to get browser window size in javascript?
body: <p>I need to get browser window size , and set the window size to the div size in javascript.</p>
  
  <p>i have 2 div elements if window size is 568px means, the div1 wants to 38% and div2 is 62%.
  In every size the both div wants to maintain the same percentage size.</p>