 
 							h+='<tr>';
 							h+='<td>' + r.DATA.PERMIT_NUM[i] + '</td>';
+							h+='<td>' + r.DATA.PERMIT_TYPE[i] + '</td>';
+							h+='<td>' + r.DATA.ISSUEDTOAGENT[i] + '</td>';
+							h+='<td>' + r.DATA.ISSUEDBYAGENT[i] + '</td>';
+							h+='<td>' + r.DATA.ISSUED_DATE[i] + '</td>';
+							h+='<td>' + r.DATA.RENEWED_DATE[i] + '</td>';
+							h+='<td>' + r.DATA.EXP_DATE[i] + '</td>';
+							h+='<td>' + r.DATA.PERMIT_REMARKS[i] + '</td>';
 							h+='<td>' + r.DATA.PERMIT_ID[i] + '</td>';
 							h+='</tr>';
 						}

						var h='<table border>';
						h+='<tr>';
						h+='<th>PermitNumber</th>';
						h+='<th>clicky</th>';
						h+='</tr>';
						for (i=0;i<r.ROWCOUNT;i++) {


</script>
<!----
	WCOUNT":33,"COLUMNS":["PERMIT_ID","","","","","","","",""],"DATA":{"PERMIT_ID":

---->
<cfquery name="ctPermitType" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
