<cfset this_looper = incrementvalue(attributes.looper)>

<cfquery name="check_for_children" datasource="#application.datasource#">
	SELECT	    Name, Price, ItemID
    FROM	    Items
	WHERE		ParentItemID = #attributes.sending_ItemID#
					AND
				IsActive = 1
</cfquery>

<cfif check_for_children.recordcount gt 0>

	<cfoutput query="check_for_children">
		<cfloop index="this_many_spaces" from="1" to="#this_looper#" step="1">&nbsp;&nbsp;</cfloop><input type="checkbox"  name="itemIDstoclone" value="#check_for_children.ItemID#">&nbsp;#check_for_children.Name#<cfif Price gt 0> - #dollarformat(Price)#</cfif><br>
		<cfmodule template="#application.wwwrootprefix#modules/get_children_of_item_id_clone.cfm" sending_ItemID=#check_for_children.ItemID# looper=#this_looper#>
	</cfoutput>
	
</cfif>