function ufNewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	var win;
	
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';
	win = window.open(mypage, myname, winprops);
	win.focus();
	
	//if ((navigator.appVersion.indexOf("MSIE") != -1) || ((navigator.userAgent.indexOf("Opera 6")!=-1) || (navigator.userAgent.indexOf("Opera/6")!=-1))) {
	//	//IE browser or Opera
	//	win.focus();
	//} else {
	//	//NON IE BROWSER
	//	if (parseInt(navigator.appVersion) >= 4) {
	//		win.window.focus();
	//	}			
	//}
	//myRef = window.open(''+self.location,'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0');
	//myRef.focus()
}