 				<span class="back icon-circle-left"></span>
 				Lottery
 			</span>
-
 			<table border="0">
 				<tr>
 					<th align="right">Lottery Draws</th>

				<tr>
					<th align="right">Scratchcards</th>
					<td>
						<input type="text" name="lotto_sc" class="money lotto-ui" placeholder="GBP">
					</td>
				</tr>


				});
			});
		</script>
		<cfset poundArray = [50,20,10,5,2,1]>
		<form method="post" enctype="multipart/form-data" class="CashInDrawerForm">
			<span class="title">Cash In Drawer</span>

			<table border="0">
				<cfset tabIndex = 0>
				<cfset subTotal = 0>
				<cfloop array="#poundArray#" index="denom">
					<cfset tabIndex++>
					<cfset dataMOD = denom * 100>
					<cfset poundFld = "dhcid_#NumberFormat(dataMOD,'0000')#">
					<cfset penceFld = "dhcid_#NumberFormat(denom,'0000')#">
					<cfif StructIsEmpty(today)>
						<cfset poundValue = 0>
						<cfset penceValue = 0>
					<cfelse>
						<cfset poundValue = StructFind(today,poundFld)>
						<cfset penceValue = StructFind(today,penceFld)>
					</cfif>
					<cfset subTotal += (poundValue + penceValue)>
					<tr>
						<th>&pound;#denom#</th>
						<td><input type="text" name="#poundFld#" class="money ui" data-mod="#dataMOD#" placeholder="GBP" tabindex="#tabIndex#" value="#poundValue#" /></td>
						<th>#denom#p</th>
						<td><input type="text" name="#penceFld#" class="money ui" data-mod="#denom#" placeholder="GBP" tabindex="#tabIndex+6#" value="#penceValue#" /></td>					
					</tr>
				</cfloop>
			</table>

			<table border="0">
				<tr>
					<th align="right">Sub Total</th>
					<td><input type="text" placeholder="GBP" class="money subtotal" value="#subTotal#" disabled></td>
				</tr>
				<tr>
					<th align="right">Z Cash</th>
					<td><input type="text" placeholder="GBP" class="money zcash" disabled value="#DecimalFormat(session.till.total.cashINDW)#"></td>
				</tr>
				<cfset diff = subTotal - session.till.total.cashINDW>
				<tr>
					<th align="right">Difference</th>
					<td><input type="text" placeholder="GBP" class="money diff" value="#diff#" disabled></td><td align="right" colspan="2"><span class="cidFace"></span></td>
				</tr>
			</table>
			<input type="submit" class="appbtn" value="Continue">
		</form>

