uso la stesa funzione....
function popap(a,w,h,n,s){
l=(screen.width-w)/2;
t=(screen.height-h)/2;
property="scrollbars="+s+",resizable=no,width="+w+ ",height="+h+",top="+t+",left="+l;
window.open(a,n,property);
}

ne devo creare una seconda?