 				Attributes
 				<span class="infoLink" onclick="checkAllById('#lcase(valuelist(attribute.column_name))#')">[check all]</span>
 				<span class="infoLink" onclick="uncheckAllById('#lcase(valuelist(attribute.column_name))#')">[check none]</span>
+			</td>
+			<td align="center">
+				Links
+				<span class="infoLink" onclick="checkAllById('#lcase(valuelist(link.column_name))#')">[check all]</span>
+				<span class="infoLink" onclick="uncheckAllById('#lcase(valuelist(link.column_name))#')">[check none]</span>
 			</td>
 		</tr>
 		<tr>

				</table>
				</div>
			</td>
		</tr>
	</table>


<cfquery name="curatorial" dbtype="query">
	select * from poss where category IN ('curatorial','specimen')
</cfquery>
<cfquery name="link" dbtype="query">
	select * from poss where category='links'
</cfquery>
<cfoutput>


