 	<cffunction name="getAppPosn">
 		<cfargument name="rank" type="string" required="yes">
 
+
+
 		<cfquery name="tt_relp" dbtype="query">
 			select relative_position from cttaxon_term where taxon_term='#rank#'
 		</cfquery>

			h
		</p>
		<cfloop query="hasclass">
			#term#

		</cfloop>



		<cfquery name="trms" dbtype="query">
			select taxon_term,relative_position from cttaxon_term where is_classification=1 order by relative_position desc
		</cfquery>

		<!--- find the row in hasclass where the term_type is ranked lower than the passed-in term ---->


		<cfdump var=#trms#>

