Devi aprire una popup e da questa modificare una vcariabile:

Pagina madre:
codice:
<head>
...
<script type="text/javascript">
var abil_popup = false;
function test_popup() {
  winodw.open("provapopup.htm");
  setTimeout("alert('popup abilitate: '+abil_popup)",1000);
}
</script>
</head>
<body onload="test_popup()";>
La pagina provapopup.htm:
codice:
<html>
<head>
<script type="text/javascript">
window.opener.abil_popup = true;
window.close();
</script>
</head>
<body>
&amp;nbsp;
</body>
</html>