title: window.opener is null in firefox
body: <p>I have a page which opens the popup as </p>
  
  <pre><code>openWindow(top, 'prcsTypeSelectionPopup?event=prcsTypeSelection', 'lovWindow', {width:750, height:550}, true, 'dialog', pathCallBack);
  </code></pre>
  
  <p>and the popup has the following code </p>
  
  <pre><code>function returnSelect()
  {
      window.document.forms[0].choice_processType.value ;
      window.opener.document.forms[0].pevent.value = 'getprocessName';
      window.opener.document.forms[0].processName.value='';
      for (var i=0; i &lt; document.forms[0].elements.length; i++)
     {
     if (document.forms[0].elements[i].checked)
        {
        window.opener.document.forms[0].processName.value=document.forms[0].elements[i].value;
        break;
        }
     }
     if(window.opener.document.forms[0].processName.value=='')    {
          window.opener.document.forms[0].lovProcessType.value = '';
          window.opener.document.forms[0].pevent.value = '';
     }
      window.opener.document.forms[0].submit();
      closeConn();
  }
  
  function closeConn()
  {
           self.close();
  }
  </code></pre>
  
  <p>But when the page is loaded in firefox, am getting the error as 
  window.opener is null at the 2nd line of returnselect() function</p>
  
  <pre><code>function returnSelect()
      {
          window.document.forms[0].choice_processType.value ;
          --&gt; window.opener.document.forms[0].pevent.value = 'getprocessName';
  </code></pre>
  
  <p>Any idea how to overcome this</p>
  
  <p>Thanks in advance...</p>