 </cfif>
 </cfif>
 
-<cfif isdefined("thin_layer_chromatography_compound") and len(thin_layer_chromatography_compound) gt 0>
-  <cfset mapurl = "#mapurl#&thin_layer_chromatography_compound=#thin_layer_chromatography_compound#">
-  <cfif compare(thin_layer_chromatography_compound,"NULL") is 0>
-      <cfset basQual = " #basQual# AND ConcatAttributeValue(flat.collection_object_id,'thin_layer_chromatography_compound') is null">
-  <cfelse>
-    <cfset basJoin = " #basJoin# INNER JOIN v_attributes tbl_thin_layer_chromatography_compound ON (#session.flatTableName#.collection_object_id = tbl_thin_layer_chromatography_compound.collection_object_id)">
-    <cfset basQual = " #basQual# AND tbl_thin_layer_chromatography_compound.attribute_type = 'thin-layer chromatography compound'">
-    <cfif session.flatTableName is not "flat"><cfset basQual = " #basQual# AND tbl_thin_layer_chromatography_compound.is_encumbered = 0"></cfif>
-    <cfif thin_layer_chromatography_compound neq "_">
-    <cfset oper=left(thin_layer_chromatography_compound,1)>
-    <cfif listfind(charattrschops,oper)>
-      <cfset schTerm=ucase(right(thin_layer_chromatography_compound,len(thin_layer_chromatography_compound)-1))>
-    <cfelse>
-      <cfset oper="like"><cfset schTerm=ucase(thin_layer_chromatography_compound)>
-    </cfif>
-    <cfif oper is "!"><cfset oper="!="></cfif>
-    <cfif oper is "like">
-      <cfset basQual = " #basQual# AND upper(tbl_thin_layer_chromatography_compound.attribute_value) #oper# '%#ucase(escapeQuotes(schTerm))#%'">
-	<cfelse>
-      <cfset basQual = " #basQual# AND upper(tbl_thin_layer_chromatography_compound.attribute_value) #oper# '#ucase(escapeQuotes(schTerm))#'">
-	</cfif>
-  </cfif>
-</cfif>
-</cfif>
-
 <cfif isdefined("thumb_length_with_claw") and len(thumb_length_with_claw) gt 0>
   <cfset mapurl = "#mapurl#&thumb_length_with_claw=#thumb_length_with_claw#">
   <cfif compare(thumb_length_with_claw,"NULL") is 0>

</cfif>
</cfif>


<cfif isdefined("caste") and len(caste) gt 0>
  <cfset mapurl = "#mapurl#&caste=#caste#">
  <cfif compare(caste,"NULL") is 0>

</cfif>
</cfif>

<cfif isdefined("description") and len(description) gt 0>
  <cfset mapurl = "#mapurl#&description=#description#">
  <cfif compare(description,"NULL") is 0>
