 
 
 	<cfif agent_relations.recordcount gt 0>
-		Relationships FROM #agent.preferred_agent_name#:
-		<ul>
-			<cfloop query="agent_relations">
-				<li>#AGENT_RELATIONSHIP# <a href="agent.cfm?agent_id=#RELATED_AGENT_ID#">#agent_name#</a></li>
-			</cfloop>
-		</ul>
+		<p>
+			Relationships FROM #agent.preferred_agent_name#:
+			<ul>
+				<cfloop query="agent_relations">
+					<li>#AGENT_RELATIONSHIP# <a href="agent.cfm?agent_id=#RELATED_AGENT_ID#">#agent_name#</a></li>
+				</cfloop>
+			</ul>
+		</p>
 	</cfif>
 	<cfquery name="agent_relationsto" datasource="uam_god">
 		select AGENT_RELATIONSHIP,agent_name,preferred_agent_name.agent_id

		order by agent_name
	</cfquery>
	<cfif group_member.recordcount gt 0>
		<br />Groups:
		<ul>
			<cfloop query="group_member">
				<li><a href="agent.cfm?agent_id=#GROUP_AGENT_ID#">#agent_name#</a></li>
			</cfloop>
		</ul>
	</cfif>
	<p></p>
	<cfquery name="collector" datasource="uam_god">
		select
			count(distinct(collector.collection_object_id)) cnt,

	<p>
		Activity Summary for #agent.preferred_agent_name# (#agent.agent_type#)
	</p>
	<p>
		Agent Names:
		<ul>
			<li>#agent_name# (#agent_name_type#)</li>
		</ul>
	</p>

	<cfif agent.agent_type is "group">
		<cfquery name="grpagnt" datasource="uam_god">
			select MEMBER_AGENT_ID,getPreferredAgentName(MEMBER_AGENT_ID) name from group_member where GROUP_AGENT_ID=#agent_id#
