function AddUserAndPopupMap(url, w, h)
	{
	//Add or reuse current user vis column in SPECIMEN table
	var req = new htmldb_Get(null, $v('pFlowId'), 'APPLICATION_PROCESS=ADD_VIS_USER', 0);
	var column = req.get();

	if(column == 'MaxUsers')
		{
		alert('Unable to display map: Max Users Exceeded');
		}
	else
		{
		//Append VIS# to url then present map popup ('%' chars not valid so map to ':')
		popUpMap(url.replace(/%/g, ':') + '&vis=' + column, w, h);
		}
	}

function popUpMap(url, w, h)
	{
	//Calculate left-centered window location
	var top = (screen.height - h) / 2;
	var left = 50;

	//Open popup window
//	var day = new Date();
//	var pu = window.open(url, day.getTime(), 'toolbar=no,scrollbars=no,location=no,status=yes,menubar=no,resizable=yes,left='+left+',top='+top+',width='+w+',height='+h);
	var pu = window.open(url, 'MapPopup', 'toolbar=no,scrollbars=no,location=no,status=yes,menubar=no,resizable=yes,left='+left+',top='+top+',width='+w+',height='+h);
	if(pu.opener===null) pu.opener = self;
	pu.focus();
	}

