title: set the focus of a popup window every time
body: <p>I have two pages one.html and two.html</p>
  
  <p>I am opening a new window using following code </p>
  
  <pre><code>//here popup is a global variable
  popup=window.open('two.html','two');
  </code></pre>
  
  <p>for the first time a popup window open successfully and get the focus but 
  if I try to open it again without closing already opened popup then two.html is not getting focus for the second time.</p>
  
  <p>note: I have set popup window's name as 'two'</p>