 <script src="/includes/sorttable.js"></script>
 <cfoutput>
 	<cfquery name="pt" datasource="uam_god" cachedwithin="#createtimespan(0,0,60,0)#">
-		select 
+		select
 			publication_type,
 			count(*) c
-		from 
-			publication 
-		group by publication_type 
+		from
+			publication
+		group by publication_type
 		order by publication_type
 	</cfquery>
-	
+
 	<strong>Publications by type, reviewed status, and citations:</strong>
 	<table border="1" id="a" class="sortable">
 		<tr>

				where
					loan_item.collection_object_id=cataloged_item.collection_object_id and
					cataloged_item.collection_id=#collection_id#
				)					
		</cfquery>
		<cfset numLoaned=0>
		<cfif loaned.tot gt 0>
			<cfset numLoaned=loaned.tot>
		</cfif>
		<cfquery name="cited" datasource="uam_god" cachedwithin="#createtimespan(0,0,60,0)#">
			select 
				count(*) tot
			from 
				citation,
				cataloged_item
			where

	</table>
	<p>&nbsp;</p>
	<cfquery name="c" datasource="uam_god" cachedwithin="#createtimespan(0,0,60,0)#">
		select
			guid_prefix,
			collection.collection_id,
			count(*) totSpec
		from
			collection,
			cataloged_item
		where
