function popup(page,w,h){ //在窗口中央弹出窗口
var width=screen.width;
var height=screen.height;
var arg;
l=(width-w)/2;
t=(height-h)/2;
if (width>w && height>h) arg="top="+t+",left="+l+",";
win=window.open (page,"", arg+"height="+h+", width="+w+",toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no");
}
