Per intercettare le dimensione dello schermo puoi usare i valori presi da screen.width e screen.height.
Ti faccio un esempio:
valheight = screen.height;
valwidth = screen.width;
stile = 'height=' + valheight + ',width=' + valwidth
+ ',scrollbars=yes,resizable=yes,status=yes,location =no,toolbar=no';
window.open('url','_blank',
stile);
Ciao