function nw(_url) {
	if(!_url) _url="/";
	_ttl="_blank";
	_wid=(screen.availWidth >= 825)?825:(screen.availWidth-20);
	_hig=475;
	_pos=getCenter();
	_sbr=1;
	_tbr=1;
	_lbr=1;
	_stt=1;
	_mbr=1;
	_rsz=1;
	popupWin = window.open(_url, _ttl, "width=" + _wid + ",height=" + _hig + _pos + ",scrollbars=" + _sbr + ",toolbar=" + _tbr + ",location=" + _lbr + ",status=" + _stt + ",menubar=" + _mbr + ",resizable=" + _rsz);
	setTimeout('popupWin.focus()', 100);
	return false;
}
function getCenter() {
	x = 300; y = 50;
	if (window.screen) {
		if(screen.availWidth) {
			x = screen.availWidth / 2 - 150;
			y = screen.availHeight / 2 - 200;
		} else if (screen && screen.width) {
			x = screen.width / 2 - 150;
			y = screen.height / 2 - 200;
		}
	}
	if (x < 0) { x = 10; } else if (x > 800) { x = 500; }
	if (y < 0) { y = 10; } else if (y > 600) { y = 500; }
	return 'screenX='+x+ ',left='+x+ ',screenY='+y+ ',top='+y;
}
