 	</cfoutput>
 </cfif>
 <!--------------------------------------------------------------------------->
-<!--------------------------------------------------------------------------->
 <cfif action is "newPermit">
 	<cfset title="create permit">
 	<h2>Create Permit</h2>

	</cfoutput>
</cfif>
<!--------------------------------------------------------------------------------------------------->
<!--------------------------------------------------------------------------------------------------->
<cfif action is "createPermit">
	<cfoutput>
		<cfquery name="nextPermit" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">

					<option value="#ctPermitType.permit_type#">#ctPermitType.permit_type#</option>
				</cfloop>
			</select>
			<div style="font-size:small;padding:1em;margin:1em;">
				Save and edit to add more Agents
				Code table is
