 				</td>
 
 
-				<cfset thisElev="#MINIMUM_ELEVATION#-#MAXIMUM_ELEVATION# #ORIG_ELEV_UNITS#">
-				<cfif thisElev is lastElev>
-					<cfset thisStyle="nochange">
-				<cfelse>
-					<cfset thisStyle="haschange">
-				</cfif>
-				<cfset lastElev=thisElev>
-				<td class="#thisStyle#">
-					#thisElev#
-				</td>
-
-
-				<cfset thisDatum=DATUM>
-				<cfif thisDatum is lastDatum>
-					<cfset thisStyle="nochange">
-				<cfelse>
-					<cfset thisStyle="haschange">
-				</cfif>
-				<cfset lastDatum=thisDatum>
-				<td class="#thisStyle#">
-					#thisDatum#
-				</td>
-
-				<cfset thisCoords="#DEC_LAT#,#DEC_LONG#">
-				<cfif thisCoords is lastCoords>
-					<cfset thisStyle="nochange">
-				<cfelse>
-					<cfset thisStyle="haschange">
-				</cfif>
-				<cfset lastCoords=thisCoords>
-				<td class="#thisStyle#">
-					#thisCoords#
+				<cfif elevation is lastElev>
+					<cfset thisStyle="nochange">
+				<cfelse>
+					<cfset thisStyle="haschange">
+				</cfif>
+				<cfset lastElev=elevation>
+				<td class="#thisStyle#">
+					#elevation#
+				</td>
+
+
+				<cfif DATUM is lastDatum>
+					<cfset thisStyle="nochange">
+				<cfelse>
+					<cfset thisStyle="haschange">
+				</cfif>
+				<cfset lastDatum=DATUM>
+				<td class="#thisStyle#">
+					#DATUM#
+				</td>
+
+				<cfif coordinates is lastCoords>
+					<cfset thisStyle="nochange">
+				<cfelse>
+					<cfset thisStyle="haschange">
+				</cfif>
+				<cfset lastCoords=coordinates>
+				<td class="#thisStyle#">
+					#coordinates#
 				</td>
 
 

			select locality_id,
		 	geog_auth_rec_id,
		 	spec_locality,
		 	DEC_LAT,
		 	DEC_LONG,
			MINIMUM_ELEVATION,
			MAXIMUM_ELEVATION,
			ORIG_ELEV_UNITS,
			decode(DEPTH_UNITS,
				null,'[NULL]',
				MIN_DEPTH || '-' || MAX_DEPTH || ' ' || DEPTH_UNITS) depth,

		 	locality_id,
		 	geog_auth_rec_id,
		 	spec_locality,
		 	decode(DEC_LAT,
				null,'[NULL]',
				DEC_LAT || ',' || DEC_LONG) coordinates,
		 	decode(ORIG_ELEV_UNITS,
				null,'[NULL]',
				MINIMUM_ELEVATION || '-' || MAXIMUM_ELEVATION || ' ' || ORIG_ELEV_UNITS) elevation,
			decode(DEPTH_UNITS,
				null,'[NULL]',
				MIN_DEPTH || '-' || MAX_DEPTH || ' ' || DEPTH_UNITS) depth,
