 				<br>l: <cfdump var=#l#>
 
 				<cfloop array="#l#" index='h'>
+					<!----
 					h: <textarea rows="4" cols="80">#h#</textarea>
+					---->
 					<cfset go=false>
 					<cfif h contains 'id='>
 						<cfset go=true>
-						<br>got ID
 
 						<cfset idSPos=find("id=",h)+4>
-						<br>idSPos: #idSPos#
 						<cfset nqPos=find('"',h,idsPos)>
-						<br>nqPos: #nqPos#
 						<cfset theID=mid(h,idSPos,nqPos-idSPos)>
-						<br>theID: #theID#
 						<cfif left(theID,1) is "_">
 							<cfset theID=right(theID,len(theID)-1)>
 						</cfif>
 
-						<br>theID: #theID#
 					<cfelseif h contains 'data-helplink='>
 						<cfset go=true>
-					<br>got data tag
 
 						<cfset idSPos=find("data-helplink=",h)+15>
-						<br>idSPos: #idSPos#
 						<cfset nqPos=find('"',h,idsPos)>
-						<br>nqPos: #nqPos#
 						<cfset theID=mid(h,idSPos,nqPos-idSPos)>
-						<br>theID: #theID#
 						<cfif left(theID,1) is "_">
 							<cfset theID=right(theID,len(theID)-1)>
 						</cfif>
 
-						<br>theID: #theID#
-					<cfelse>
-						<p>
-
-							========================================== bad juju ===================================
-						</p>
 					</cfif>
 					<cfif go is true>
 						<cfquery name="d" datasource="uam_god">
-							insert into temp_doc_id_raw(frm,rawtag,id) values ('#f#','#h#','#theID#')
+							insert into cf_temp_doc_page_link(frm,rawtag,id) values ('#f#','#h#','#theID#')
 						</cfquery>
 					</cfif>
 					<!----

<!---
	crawl through all code and get the helpLinks
	make sure they all exist in ssrch_field_doc


---->
<cfinclude template="/includes/_header.cfm">
<p>
	This is an iterative (because it's slow) single-user form.
</p>

<p>
	<a href="checkHelpLinks.cfm?action=getLinks">getLinks</a> - do this first, it crawls through Arctos code and
	finds all helpLinks.
</p>

<p>
	<a href="checkHelpLinks.cfm?action=showGetLinks">showGetLinks</a> - see the results of getLinks
</p>



<p>
		<br><a href="checkHelpLinks.cfm?action=checkProd">checkProd</a>


</p>
	<br><a href="checkHelpLinks.cfm?action=checkLinks">checkLinks</a>



<cfif action is "showGetLinks">
	<cfquery name="d" datasource="uam_god">
		select * from cf_temp_doc_page_link
	</cfquery>
	<cfquery name="did" dbtype="query">
		select id from d group by id order by id
	</cfquery>

	<cfoutput>
		<table border>
			<tr>
				<th>cf_variable</th>
				<th>called from</th>
				<th>raw tag</th>
			</tr>
			<cfloop query="did">
				<tr>
					<td>#id#</td>
					<cfquery name="d" dbtype="query">
						select frm from d where id='#id#'
					</cfquery>
					<td>
						#valuelist(d.id,";")>
					</td>
					<cfquery name="r" dbtype="query">
						select rawtag from d where id='#id#'
					</cfquery>
					<td>
						#valuelist(r.rawtag,";")>
					</td>
				</tr>

			</cfloop>
		</table>
	</cfoutput>
</cfif>

<cfif action is "checkLinks">
	<cfquery name="d" datasource="prod">
