var nWin = null;
var err = null;
function ue_popup(_location,_top,_left,_width,_height)
{
	if (nWin != null) {
	    try {
	        nWin.close();
	    }
	    catch (err) {
	    }
	}
		
	_top = (screen.height - _height) / 2 ;
	_left = (screen.width - _width ) / 2;




	var ls_set = "scrollbars=yes, status=yes, resizable=yes, top=" + _top + ",left=" + _left + ",width=" + _width + ",height=" + _height;
	nWin = open(_location, "", ls_set);
	try {
	    nWin.focus();
	}
	catch (err) {
	}
}

function ue_close()
{
	window.close() ; 
}

