function fnWinPop(sr,ww,hh,windname,loc,menub,toolb,statb,resizab,scrollb,fullscr)
{
	var y=screen.height;
	var x=screen.width;
	var width=ww;
	var height=hh;
	y=Math.round((y/2)-(height/2));
	x=Math.round((x/2)-(width/2));
	var strlink=sr;
	var wind2=window.open(strlink, windname,
				"Width=" +
					width +
				",Height=" +
					height +
				",left=" +
					x +
				",top=" +
					y +"location="+loc+",menubar="+menub+",toolbar="+toolb+",status="+statb+",resizable="+resizab+",scrollbars="+scrollb+",fullscreen="+fullscr);
	wind2.focus();
}