 						<cfelse>
 							<cfset kw=""&locality>
 						</cfif>
-						
-						<!-- query lat/long for inputting to map -->
-						<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,cfid)#">
-							select dec_lat, dec_long
-							from collecting_event, lat_long
-							where collecting_event.collecting_event_id=#related_primary_key#
-								and collecting_event.locality_id=lat_long.locality_id
-						</cfquery>
-						
-						<cfset dec_lat=#d.dec_lat#>
-						<cfset dec_long=#d.dec_long#>
+
 					</cfif>
 				</cfloop>		
 				
+				<!-- If can't find a collecting event, try to find one through available cataloged item -->		
 				<cfif len(locality) eq 0 && coll_obj_id gt 0>
 					<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,cfid)#">
 						select 
-							higher_geog || ': ' || spec_locality || ' (' || verbatim_date || ')' data 
+							higher_geog || ': ' || spec_locality || ' (' || verbatim_date || ')' data , collecting_event_id
 						from 
 							collecting_event,
 							locality, 

						<cfelse>
							<cfset kw=""&scientific_name>
						</cfif>
					<cfelseif #rel_type# is "collecting_event">					
						<cfset locality = replace(#summary#,"[:\(]",";")>
						<cfset locality = replace(#summary#, "\)", "")>
						

			<cfset cat_item_url="">
			<cfset cat_item_sum="">
			<cfset coll_obj_id=0>
			<cfset coll_event_id>
			<cfset scientific_name="">
			<cfset higherGeog="">
			<cfset specLoc="">
			<cfset kw="">
			<cfset locality="">
			<cfset dec_long=0>
			<cfset dec_long=0>
			<cfif mrel.recordcount gt 0>				
