 		<cfquery name="addPermit" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 			INSERT INTO permit_trans (permit_id, transaction_id) VALUES (#permit_id#, #transaction_id#)
 		</cfquery>
-		
-		
-		
-		Added permit #permit_id# to transaction #transaction_id#. 
+
+
+
+		Added permit #permit_id# to transaction #transaction_id#.
 		<br>Search to add another permit to this accession or click
 		<a href="##" onclick="javascript: self.close();">here</a> to close this window.
-	</cfoutput>	
-	
-	
+	</cfoutput>
+
+
 </cfif>
 <cfinclude template="../includes/_pickFooter.cfm">
	</form>
</div>
<cfset i=i+1>
</cfoutput>



	<cfset sql = "#sql# AND permit_Num = '#permit_Num#'">
</cfif>
<cfif len(#permit_Type#) gt 0>

		<cfset permit_Type = #replace(permit_type,"'","''","All")#>


	<cfset sql = "#sql# AND permit_Type = '#permit_Type#'">
</cfif>
<cfif len(#permit_remarks#) gt 0>
