 			<cfset lastLocName=orig.LOCALITY_NAME>
 			<td>#orig.LOCALITY_NAME#</td>
 
-			<cfset lastDepth="#orig.MIN_DEPTH#-#orig.MAX_DEPTH# #orig.DEPTH_UNITS#">
+			<cfset lastDepth=orig.depth>
 			<td>#lastDepth#</td>
 
 			<cfset lastElev="#orig.MINIMUM_ELEVATION#-#orig.MAXIMUM_ELEVATION# #orig.ORIG_ELEV_UNITS#">

					</div>
				</td>

				<cfset thisDepth="#MIN_DEPTH#-#MAX_DEPTH# #DEPTH_UNITS#">
				<cfif thisDepth is lastDepth>
					<cfset thisStyle="nochange">
				<cfelse>

			MINIMUM_ELEVATION,
			MAXIMUM_ELEVATION,
			ORIG_ELEV_UNITS,
			decode(DEPTH_UNITS,
				null,'[NULL]',
				MIN_DEPTH || '-' || MAX_DEPTH || ' ' || DEPTH_UNITS) depth,
			decode(
				MAX_ERROR_DISTANCE,
				null,'[NULL]',
