 	<cfset "#t#"="#v#">
 	<link rel="stylesheet" type="text/css" href="/includes/annotate.css">
 	<span onclick="closeAnnotation()" class="windowCloser">Close Annotation Window</span>
+
 	<cfif isdefined("collection_object_id") and len(collection_object_id) gt 0>
 		<cfset linky="collection_object_id=#collection_object_id#">
 		<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">

		<cfquery name="prevAnn" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select * from annotations where project_id=#project_id#
		</cfquery>
	<cfelseif isdefined("publication_id") and len(publication_id) gt 0>
		<cfset linky="publication_id=#publication_id#">
		<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select

		<cfquery name="prevAnn" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select * from annotations where taxon_name_id=#taxon_name_id#
		</cfquery>
	<cfelseif isdefined("project_id") and len(project_id) gt 0 and listlen(project_id) eq 1>
		<cfset linky="project_id=#project_id#">
		<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select
