 		<option value="project">Project</option>
 		<option value="publication">Publication</option>
 		<option value="specimen">Specimen</option>
-		<cfloop query="c">
-			<option value="#guid_prefix#">#guid_prefix# Specimens</option>
-		</cfloop>
 	</select>
 	<label for="guid_prefix">Collection (only works when "specimens" above)</label>
 	<select name="guid_prefix" size="1">

		from
			annotations
		where
			<cfif isdefined("collection_object_id") and len(collection_object_id) gt 0>
				collection_object_id in (
					<cfqueryparam value = "#collection_object_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
				)
			</cfif>
			<cfif isdefined("publication_id") and len(publication_id) gt 0>
				publication_id in (
					<cfqueryparam value = "#publication_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
				)
			</cfif>
			<cfif isdefined("project_id") and len(project_id) gt 0>
				project_id in (
					<cfqueryparam value = "#project_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
				)
			</cfif>
			<cfif isdefined("taxon_name_id") and len(taxon_name_id) gt 0>
				taxon_name_id in (
					<cfqueryparam value = "#taxon_name_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
				)
			</cfif>
			<cfif isdefined("annotation_id") and len(annotation_id) gt 0>
				annotation_id = (
					<cfqueryparam value = "#annotation_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
				)
			</cfif>
			<cfif isdefined("annotation_group_id") and len(annotation_group_id) gt 0>
				annotation_group_id = (
					<cfqueryparam value = "#annotation_group_id#" CFSQLType = "CF_SQL_INTEGER" list = "yes" separator = ",">
				)
			</cfif>
	</cfquery>
	<cfoutput>

	<cfquery name="c" datasource="uam_god"  cachedwithin="#createtimespan(0,0,60,0)#">
		select distinct guid_prefix from collection order by guid_prefix
	</cfquery>
<label for="filter">Search/Filter</label>
<form name="filter" method="get" action="reviewAnnotation.cfm">
	<input type="hidden" name="action" value="show">
	<label for="atype">Type of Annotation</label>
