                         media_flat.descr
 			">
 	<cfelseif typ is "specimenCollectingEvent">
-		<cfset mtype="Specimen's Collecting Event">
+		<cfset mrdescr="Media linked to a specimen's Collecting Event.">
 		<!--- media related to a collecting event which is being used by a specimen ---->
 		<cfset srchall="/MediaSearch.cfm?action=search&specimen_collecting_event_id=#q#">
 		<cfset sql="

				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

		">
	<cfelseif typ is "accn">
		<cfset srchall="/MediaSearch.cfm?action=search&accn_id=#q#">
		<cfset mrdescr="Media linked to an Accession.">
		<cfset sql="
			   	select
			   		media_flat.media_id,
