 <cfif action is "getLinks">
 <cfset res=  DirectoryList(Application.webDirectory,true,"path","*.cf*")>
 <cfoutput>
+	<cfquery name="d" datasource="uam_god">
+		insert delete from cf_temp_doc_page_link
+	</cfquery>
+
 	<cftransaction>
 	<cfloop array="#res#" index="f">
 		<!--- ignore cfr etc --->
 		<cfif listlast(f,".") is "cfm" or listlast(f,".") is "cfc">
-			<br>#f#
 			<cffile action = "read" file = "#f#" variable = "fc">
 			<cfif fc contains "helpLink">
 



					---->
					<br>

				</cfloop>
			</cfif>

				<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>

						<cfset idSPos=find("id=",h)+4>
						<cfset nqPos=find('"',h,idsPos)>
						<cfset theID=mid(h,idSPos,nqPos-idSPos)>
						<cfif left(theID,1) is "_">
							<cfset theID=right(theID,len(theID)-1)>
						</cfif>

					<cfelseif h contains 'data-helplink='>
						<cfset go=true>

						<cfset idSPos=find("data-helplink=",h)+15>
						<cfset nqPos=find('"',h,idsPos)>
						<cfset theID=mid(h,idSPos,nqPos-idSPos)>
						<cfif left(theID,1) is "_">
							<cfset theID=right(theID,len(theID)-1)>
						</cfif>

					</cfif>
					<cfif go is true>
						<cfquery name="d" datasource="uam_god">
							insert into cf_temp_doc_page_link(frm,rawtag,id) values ('#f#','#h#','#theID#')
						</cfquery>
					</cfif>
					<!----
