function center_win(sx,sy){
if(document.all){
wx=screen.width;
wy=screen.height;
}
if(document.layers){
wx=screen.availWidth;
wy=screen.availHeight;
}
px=(wx - sx) / 2;
py=(wy - sy) / 2;
myWin=window.open("info.htm","","width="+sx+",height="+sy);
myWin.moveTo(px,py);
}