function openNewWindow(fpath,wWidth,wHeight,wName) {
	var winX = (screen.availWidth - wWidth)*.5;
	var winY = (screen.availHeight - wHeight)*.5;
	win1 = window.open(fpath, wName, "toolbar=no,menubar=no,statusbar=no,scrolling=no,width=" + wWidth + ",height=" + wHeight + ",left=" + winX + ",top=" + winY + ",scrollbars=no");
}