var top = (window.screen.availHeight-30-height)/2; //获得窗口的垂直位置;
var left = (window.screen.availWidth-10-width)/2; //获得窗口的水平位置;
var winOption = "top="+top+",left="+left+",height="+height+",width="+width+",resizable=no,scrollbars=no,status=no,toolbar=no,location=no,directories=no,menubar=no,help=no";