 <!------------------------------------------------------->
 <cfif action is "nothing">
 	<a href="/BulkLoadMedia.cfm?action=validate">validate</a>
-	
+
 </cfif>
 <cfif action is "report">
 	<cfoutput>

<cfif action is "load">
<cfoutput>
	<cfquery name="media" datasource="uam_god">
		select 
			*
		from 
			cf_temp_media where status='pass' and rownum<500
	</cfquery>
	<cfloop query="media">

		<cfquery name="s" datasource="uam_god">
			select status, count(*) c from cf_temp_media where username='#username#' group by status
		</cfquery>

		<cfif len(e.address) is 0>
			<cfset mailto="arctos.database@gmail.com">
			<cfset msubj="media bulkloader: no contact info">
		<cfelse>

			<cfset mailto=e.address>
			<cfset msubj="media bulkloader">

		</cfif>
		<cfmail to="#mailto#" bcc="arctos.database@gmail.com" subject="#msubj#" cc="#Application.LogEmail#" from="bulkmedia@#Application.fromEmail#" type="html">
			Dear #username#,
