 									raw
 								where
 									part_attribute_id is not null and
-									partID=#partID#
+									partID=#p.partID#
 							</cfquery>
 							<tr bgcolor="#bgc#">
 								<td colspan="8" align="center">
+								<div style="padding-left:#level#em;">
+
+
 									<cfif pAtt.recordcount gt 0>
 									<table border>
 										<tr>

										class="insBtn"
										onClick="createSubsample(#i#)">
								</td>
								---->
							</tr>
							<!----
							<cfquery name="pAtt" dbtype="query">
								select
									 part_attribute_id,

												</td>
											</tr>
										</cfloop>
										</div>
									</td>
								</table>
								<cfelse>
