 			<cfset metaDesc = "#desc.label_value# for #media_type# (#mime_type#)">
 		</cfif>
 		<cfset alt=desc.label_value>
-	</cfif>
-	
-	<!-- Header -->
-	<tr>
-		<td>Media Preview</td>
-		<td>Mime Type</td>
-		<td>Scientific Name</td>
-		<td>Details</td>
-		<td>Download</td>
-		<td>Map</td>
-		<td>Related Keywords</td>
-	</tr>
+	</cfif>	
+
 	<tr #iif(rownum MOD 2,DE("class='evenRow'"),DE("class='oddRow'"))#>
 		<td>
 			<cfset mp=getMediaPreview(preview_uri,media_type)>

					<td><a href="#media_details_url#" target="_blank">Details</a></td>
					<td><a href="#media_uri#" target="_blank">Download</a></td>
					<td>Map</td>
					<td>
						<cfif len(#agent_name#) gt 0>
							#agent_name#
						<cfelse>
							No related agent
						</cfif>
					</td>
					<td>						
						<cfif isdefined("kw.keywords") and len(kw.keywords) gt 0>
							<cfif isdefined("keyword") and len(keyword) gt 0>

						</cfif>
					</td>
					
					<!--<td>
						<cfif len(#agent_name#) gt 0>
							#agent_name#
						<cfelse>
							No related agent
						</cfif>
					</td>
					<td>
						<cfif len(#cat_item_url#) gt 0>
							<a href="#cat_item_url#" target= "_blank">#cat_item_sum#</a>
						<cfelse>
