function NewWindow(mypage, myname, w, h, scroll,toolb)
	{
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',toolbar='+toolb+',resizable'
		win = window.open(mypage, myname, winprops)
		if (parseInt(navigator.appversion) >= 4)
		{
			win.window.focus();
		}
}