hi!
my code works on NN but not on IE6.
I want the child window close when i click on the parent window.

here is the code...
please help me...

java script
=====
function win() {

var content="<center>"+"{/literal}{$popup}{literal}"+"</center>";
var temp="{/literal}{$popup}{literal}";

if (!temp==""){

msg=window.open("","msg","height=200,width=300,left=920,top=500,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0",'');
msg.document.write("<html><TITLE>INFO</TITLE>");
msg.document.write("<body bgcolor='#FFFFCC' onBlur='window.close()' >");


msg.document.write(content);
msg.document.write("</body></html>");
}

else
{
alert ("Choose a menu!");
}



}


html section
---------

<form name="hide_form" >
<img src="help_btn.gif" onClick="java_script:win()" height="40" width="40">

</form>

all these are in the samefile... all variables are ok...the problem is that thechild win doesn't close

thank you