anchor.diff:  	</cfif>
   	---->
   	<cfif not isdefined("anchor") or anchor is "undefined" or len(anchor) is 0>
  -		<cfset anchor="top">
  +		<cfset anchor="">
   	</cfif>
   
  -	<cfset fullURI="#Application.docURL#/#uri#.html###anchor#">
  +	<cfset fullURI="#Application.docURL#/#uri#.html">
  +	<cfif len(anchor) gt 0>
  +		<cfset fullURI=fullURI & '##' & anchor>
  +	</cfif>
  +
  +
  +
  +
   
   	<cfhttp url="#fullURI#" method="head"></cfhttp>
   
  
positive.code: 
  		</cfoutput>
  		<cfset fullURI='404'>
  	</cfif>
  	<cfreturn fullURI>
  </cffunction>
  
negative.code: 	<cfdump var=#cfhttp#>
  	<cfif left(cfhttp.statuscode,3) is not "200">
  		<cfoutput>
  		<cfmail subject="doc_not_found" to="dustymc@gmail.com,#Application.bugReportEmail#,#Application.DataProblemReportEmail#" from="doc_not_found@#Application.fromEmail#" type="html">
  			#fullURI# is missing
  			<br>----uri-#uri#
  