this is source if i close window open popup and i click link test open popup too , how the open popup just i close window, not for click link test
----------------------------------------------
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
function leave()
{
if (exit)
open("popup/popupexit.htm",
'xXexit','location=0,menubar=0,toolbar=0,person albar=0,status=0,scrollbar=0,width=531,height=500,top=0,left=0');
}
// -->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onunload="leave()">
<br>
<a href=test.html>test</a>
</body>
</html>
------------------------------------------
----------------------------------------------
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
function leave()
{
if (exit)
open("popup/popupexit.htm",
'xXexit','location=0,menubar=0,toolbar=0,person albar=0,status=0,scrollbar=0,width=531,height=500,top=0,left=0');
}
// -->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onunload="leave()">
<br>
<a href=test.html>test</a>
</body>
</html>
------------------------------------------