title: stop child window reloading even when parent window has reloaded
body: <p>I have this child window and a condition which prevents the window reloading if 'send' is clicked again while window is still open with variable 'myStatus' equal to 'processing'. The problem is if the child window is opened and then the parent page is refreshed and 'send' is clicked again, the childPage variable is lost and it allows the child page to reload. is there a way around this problem? Thanks. </p>
  
  <pre><code>var childPage = null;
  
  $('#send').click(function(){
  
      if(childPage &amp;&amp; !childPage.closed &amp;&amp; childPage.myStatus == "processing"){
        alert('child window is open and processing');
      }else{
       childPage = window.open("test.html","send","width = 300,height=300");
  }):
  </code></pre>