function Openwin () {
var url= ' add.aspx '; The address of the page to be turned;
var name= ' add '; The name of the Web page, can be empty;
var iwidth=720; The width of the popup window;
var iheight=600; The height of the popup window;
Get the vertical position of the window
var iTop = (window.screen.availheight-30-iheight)/2;
Get the horizontal position of the window
var ileft = (window.screen.availwidth-10-iwidth)/2;
window.open (URL, name, ' height= ' + iheight + ',, innerheight= ' + iheight + ', width= ' + iwidth + ', innerwidth= ' + iwidth + ' , top= ' + ITop + ', left= ' + ILeft + ', Status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no ‘);
window.open ("addscfj.aspx", "newwindows", ' height=100,width=400,top=0,left=0,toolbar=no,menubar=no,scrollbars= No, Resizable=no,location=no, Status=no ');
}
JS Implementation Windows.open Open the window and center