 			ORDER BY
 				project_name
 		</cfquery>
+
+
+		<p>
+			now pubs
+		</p>
 		<cfset i=1>
 		<cfset go="no">
 		<cfset basSQL = "SELECT

		<cfset checkSql(sql)>


		<cfquery name="projects" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			#preservesinglequotes(sql)#
		</cfquery>

						project.project_name,
						project.start_date,
						project.end_date,
						getPreferredAgentName(project_agent.agent_id) agent_name,
						PROJECT_AGENT_REMARKS,
						project_agent_role,
						agent_position">
		<cfset frm="
					FROM
						project,
						project_agent">
		<cfset whr="
					WHERE
						project.project_id = project_agent.project_id (+) ">
		<cfset go="no">
		<cfif (isdefined("doi") AND len(doi) gt 0) or
			(isdefined("publication_type") AND len(publication_type) gt 0) or
