 				</cfif>
 			</cfif>
 		</cfloop>
-		
+
 		<cfloop from="1" to="#numRelns#" index="i">
 			<cfset pf="">
 			<cfset r=evaluate("media_relationship_" & i)>

					<cfset pf="f">
				</cfif>
				<cfif len(rk) gt 0 and len(rt) gt 0>
					<cfset rec_stat=listappend(rec_stat,'You cannot specify a relationship key and term',";")>
					<cfset pf="f">
				</cfif>
				<cfif len(pf) is 0>
					<cfset table_name = listlast(r," ")>

							<cfif debug is true>
								-----------here we are now-------------
								---------------
								select collection_object_id from
										flat
									WHERE
										guid='#rt#'
