// JavaScript Documentfunction popupwin(tgturl, winname, winwidth, winheight, winlocation, winscroll, winstatus, winresize, xpos, ypos) {	if (xpos == 'center') {		xpos = (screen.width - winwidth) / 2;	}	if (ypos =='center') {		ypos = (screen.height - winheight) / 2;	}	winoption = "left="+xpos+",top="+ypos+",width="+winwidth+",height="+winheight+",scrollbars="+winscroll+",status="+winstatus+", resizable="+winresize+", location="+winlocation+"toolbar=no, menubar=no";	subwin = window.open(tgturl, winname, winoption);}