ok....io cmq lo ho adattato... ecco il mio codice...tralascia le cose che non servono
Codice PHP:
var finestraActive = new Array();
function popActiveX(srv_add,id_conn,id_sess,nameSession,ident,key)
{
var screendim = popupCentrata(900,700);
var l = screendim['left'];
var t = screendim['top'];
var w = screendim['width'];
var h = screendim['height'];
var start = key;
var stop = key;
var totActiveX = 1;
if (finestraActive[ident] != null) {
finestraActive[ident] = window.open("popActiveMulti.php?srv_add="+srv_add+"&start="+start+"&stop="+stop+"&totActiveX="+totActiveX+"&id_conn="+id_conn+"&id_sess="+id_sess+"&nameSession="+nameSession+"",ident,"width="+w+",height="+h+",left="+l+",top="+t+",toolbar=no, location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");
}
else {
ref = finestraActive[ident];
ref.focus();
}
}