calling javascript function after pop up window close
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1777864/how-to-run-function-of-parent-window-when-child-window-closes">How to run function of parent window when child window closes?</a>  </p>
</blockquote>



<p>Hi i have a link in a main page. when users click the link, it will open a popup window.
<br> <strong>i need to call a javascript function in a main page after close the popup window how to do this?</strong> 
<br>can any one help me? thanks in advance. </p>
