puoi usare:
tu modificalo...metti
larghezza=screen.width;
altezza = screen.height;
codice:
function lancia() {
var w = screen.width;
var h = screen.height;
if(w >= "1280"){
larghezza = 933;
altezza = 600;
}else{
larghezza = 700;
altezza = 438;
// altezza = 450;
}
var x = Math.round(w / 2) - Math.round(larghezza / 2);
var y = Math.round(h / 2) - Math.round(altezza / 2);
finestra = window.open ('flash5.htm', null, 'left=' + x + ',screenX=' + x + ',top='
+ y + 'screenY=' + y +',width=' + larghezza + ',height=' + altezza + ',menubar=1,toolbar=1,location=1,directories=1' );
}