// USGS_NATMAP_identify.js

nmIdentifyPresent = true;

// handles identify mapTool event
function identify(idX, idY) {

	// sets global vars mapX, mapY (absolute map coords) with clickpoint
	getMapXY(idX, idY);

	var common = generateCommonArgs();
	var theArgs = "request=featureinfo&x=" + idX + "&y=" + idY 
		+ "&mapx=" + truncate(mapX, 5) + "&mapy=" + truncate(mapY, 5) 
		+ "&" + common;

	var idUrl = connectorURL + theArgs;

	IdentifyWindow = window.open(idUrl, "IdentifyResultsWindow", "width=" 
		+ identWinWth + ",height=" + identWinHt 
		+ ",scrollbars=yes,resizable=yes,toolbar=no");
  IdentifyWindow.focus();	
}
