 			<cfhttpparam type = "header" name = "User-Agent" value = "Arctos (https://arctos.database.museum; mailto:dustymc@gmail.com)">
 			<cfhttpparam type = "header" name = "Accept" value = "text/bibliography; style=journal-of-mammalogy">
 		</cfhttp>
-		<cfdump var=#jmc#>
 
 		<cfif not isjson(d.Filecontent)>
 			invalid return

</h3>
	<cfif structKeyExists(x.message,"reference")>
		<cfloop array="#x.message.reference#" index="idx">
		    <cfset rfs="">
		    <cfif StructKeyExists(idx, "author")>
				<cfset rfs=rfs & idx["author"]>
			</cfif>
		    <cfif StructKeyExists(idx, "year")>
				<cfset rfs=rfs & ' ' & idx["year"] & '. '>
			</cfif>
		   <cfif StructKeyExists(idx, "article-title")>
			   <cfset rfs=rfs & idx["article-title"]>
			<cfelseif StructKeyExists(idx, "volume-title")>
			   <cfset rfs=rfs & idx["volume-title"]>
			  <cfelseif StructKeyExists(idx, "unstructured")>
			   <cfset rfs=rfs & idx["unstructured"]>
			</cfif>

			<cfif len(rfs) is 0>
				<br>got nothing so far....
				<cfdump var=#idx#>
			</cfif>


		   <cfif StructKeyExists(idx, "doi")>
			   <cfset thisDOI=idx["doi"]>
				<cfset rfs=rfs & '<br><a class="external" target="_blank" href="http://dx.doi.org/#thisDOI#">http://dx.doi.org/#thisDOI#</a>'>
				<cfset rfs=rfs & '<br><a href="publicationDetails.cfm?doi=#thisDOI#">[ more information ]</a>'>
			</cfif>
			<div class="refDiv">
				#rfs#
			</div>
		</cfloop>
	</cfif>


		<cfset x=DeserializeJSON(c.json_data)>
		<cfset jmamm_citation=c.jmamm_citation>
	<cfelse>
		<cfhttp result="d" method="get" url="https://api.crossref.org/v1/works/http://dx.doi.org/#doi#">
			<cfhttpparam type = "header" name = "User-Agent" value = "Arctos (https://arctos.database.museum; mailto:dustymc@gmail.com)">
		</cfhttp>
