Maximising Internet explorer Window
<p>When a pop up occurs,i want the parent window to get maximised if it is less than the maximum size and also get the focus to itself(As Parent).</p>

<p>To explain the scenario in detail,</p>

<ol>
<li><p>When i receive some e-mail notification i get a pop-up
window(Prompt/New-Window) in IE.At such instant,is there a method to find out that event and make a call to a function to maximise the screen and gain focus.</p></li>
<li><p>Also,At the time when i receive the notification i might not be working on the same window,and, i might be on some other folder/document/explorer.</p></li>
</ol>
