 					<!----
 
 					<cfset tid= rereplace(h,'<span[^>]+?id="([^"]+)".*',"\1")>
+				<cfquery name="d" datasource="uam_god">
+						insert into temp_doc_id_raw(frm,rawtag,id) values ('#f#','#h#','#theID#')
+					</cfquery>
+					---->
+					<br>						insert into temp_doc_id_raw(frm,rawtag,id) values ('#f#','#h#','#theID#')
 
-					---->
-					<cfquery name="d" datasource="uam_god">
-						insert into temp_doc_id_raw(frm,id) values ('#f#','#theID#')
-					</cfquery>
 				</cfloop>
 			</cfif>
 		</cfif>

			<cffile action = "read" file = "#f#" variable = "fc">
			<cfif fc contains "helpLink">

				<cfset x='<span class="helpLink" bla></span>'>
				<!----<br>-------------------------- something to check here -------------------->
				<cfset l = REMatch('(?i)<span[^>]+class="helpLink"[^>]*>(.+?)</span>', fc)>
				<!----	<br>l: <cfdump var=#l#>---->
				<cfloop array="#l#" index='h'>
<!----					<br>h: <textarea>#h#</textarea>---->


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

	drop table temp_doc_id_raw;

	create table temp_doc_id_raw (frm varchar2(4000),rawtag varchar2(4000),id varchar2(4000));

	delete from temp_doc_id_raw;


	select id || ' :: ' || frm from temp_doc_id_raw order by id;

		select id || ' :: ' || frm from temp_doc_id_raw where id not in (select cf_variable from ssrch_field_doc@db_production) order by id;

---->
