function OnlyHereWindow(mypage, scroll)
{
	var winl = (screen.width - 708) / 2;
	var wint = (screen.height - 570) / 2;
	winprops = "height=410,width=680,top=" + wint + ",left=" + winl + ",scrollbars=" + scroll + ",resizable=no";
	arrName = mypage.split("/");
	myname = arrName[arrName.length - 1];
	myname = myname.split(".")[0];
	win = window.open(mypage, myname, winprops);
	if (parseInt(navigator.appVersion) >= 4)
	{
		win.window.focus();
	}
}

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