Hola
Este es el foro de ASP 3.0, no es el de .Net ni javascript. Como finalmente te lo van a mover a javascript. Te dejo la solución
Código javascript
:
Ver originalvar ieNOTopera=document.all&&navigator.userAgent.indexOf("Opera")==-1
function iecompattest() {
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function ImprimePagina(cual)
{
var window_height = ieNOTopera? iecompattest().clientHeight : window.innerHeight;
var window_width = ieNOTopera? iecompattest().clientWidth : window.innerWidth;
a las variables window_heigt y window_width has de dividirlas entre dos y restarle la mitad de la popup
alto = parseInt((window_height / 2) - 200)
Suerte