grazie non ci aveo pensato.

posto il codice finale per qualcun'altro che gli possa giovare:


<SCRIPT LANGUAGE="JavaScript">
var chiudi=false ;
function apri()
{

if (window.open("galleria.html",'apri','channelmode=1 ,toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,copyhistory=n o,dependent=no,screenX=0,screenY=0,fullscreen=yes, type=fullWindow,width='+screen.width+',height='+sc reen.height+',top=0,left=0'))
{
var chiudi=true ;
return;
}
else
{
alert('il tuo brouser non supporta i popup');

window.location='galleria.html';
}

}

function chiudi(chiudi) {window.close()}











</SCRIPT>
</head>

<body onload="javascript:apri();chiudi()">