Closing a child window from it's parent
<p>I currently have the following code to generate a new child window. i also set a timeout for the user to respond , when that time out ends the child window should be closed.</p>

<p>Here is what i got so far:</p>

<pre><code> var zerominutpopup 'http://www.somewebsite.com/';
zerominutpopup = open(zerominutpopup, '', 'height=300,width=600,left=300,top=300');
setTimeout( function(){ timer_is_at_zero_hold(zerominutpopup); }, 10000);


function timer_is_at_zero_hold(windowtoclose){
windowtoclose.closed;// this is how (i thought) closing a window is done but doesnt seem to work.
}
</code></pre>

<p>Thanks in advanced any help would be appreciated.</p>
