 	            media_flat.descr
 			">
 	<cfelseif typ is "collecting_event">
-		<cfset mtype="Collecting Event">
+		<cfset mrdescr="Media linked to a Collecting Event.">
 		<cfset srchall="/MediaSearch.cfm?action=search&collecting_event_id=#q#">
 		<cfset sql="
 		   	select

				cataloged_item.collection_object_id=#q#">
	<cfelseif typ is "project">
		<cfset srchall="/MediaSearch.cfm?action=search&project_id=#q#">
		<cfset sql=" select distinct
	        media_flat.media_id,
	        media_flat.media_uri,
	        media_flat.mime_type,
	        media_flat.media_type,
	        media_flat.preview_uri,
                alt_text,
                license,
                        media_flat.descr
	     from
	         media_flat,
	         media_relations

	         media_relations.related_primary_key = #q#">
    <cfelseif typ is "specimen">
        <cfset srchall="/MediaSearch.cfm?collection_object_id=#q#">
		<cfset mrdescr="Media linked to this Specimen.">

        <cfset sql="
		 select distinct
        media_flat.media_id,
