 
 							<td>
 								<cfset thisPart = #thisRec.partname#>
-								<select name="partname" size="1">
+								<select name="partname_#thisrowinc#" id="partname__#thisrowinc#" size="1">
+									<option value="remove">REMOVE</option>
 									<cfloop query="ctspecimen_part_name">
 									<option
 									<cfif #thisPart# is "#ctspecimen_part_name.partname#"> selected </cfif>value="#ctspecimen_part_name.partname#">#ctspecimen_part_name.partname#</option>
 									</cfloop>
 								</select>
-							</td>
-							<td>
-								<cfset thisLO = #thisRec.list_order#>
-								<select name="list_order" size="1">
-									<cfloop from="1" to="#mo.maxNum#" index="n">
-										<option <cfif #thisLO# is "#n#"> selected </cfif>value="#n#">#n#</option>
-									</cfloop>
-								</select>
-							</td>
-							<td >
-hi
-
 							</td>
 						</tr>
 

		.dragger {
			cursor:move;
		}
		.isterm {
			font-weight:bold;
			font-style:italics;
		}
		.warningDiv {color:red;font-size:x-small;}
	</style>
	<script>
		// copy this with create classification
		$(function() {
			$( "#sortable" ).sortable({
				handle: '.dragger'
			});

			//guessAtDisplayName();
		});

		function submitForm() {

	</script>
<cfoutput>
		<cfquery name="thisRec" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select * from ctspecimen_part_list_order order by list_order,partname
		</cfquery>

		<cfquery name="ctspecimen_part_name" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
			select  part_name from ctspecimen_part_name where part_name not in (select partname from ctspecimen_part_list_order)
		</cfquery>
		<p>
			This application sets the order part names appear in certain reports and forms.
			 You don't have to order things you don't care about.
		</p>
		Add part to order. New insertions will go to the bottom; drag to re-order.
		<table class="newRec" border>
			<tr>
				<th>Part Name</th>
				<th></th>
			</tr>
			<form name="newPart" method="post" action="CodeTableEditor.cfm">
