function NewWindow(mypage, myname, w, h, scroll) {
	var childOpen = false;
	var childWin;
	var correct = true
	var winl = (screen.width - w) / 2;
	var wint = ((screen.height - h) / 2)-20;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';
	childWin = window.open(mypage, myname, winprops);
	if (parseInt(navigator.appVersion) >= 4) { childWin.window.focus(); }
}