<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Happy8insert.aspx.vb" Inherits="LuckBet.Happy8insert" %>
<%@ Register TagPrefix="uc1" TagName="left" Src="../WebControls/left.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="../WebControls/Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="../WebControls/Footer.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>游戏投注 |
			<% =Title%>
			| 快乐8游戏</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<meta content="<% =Keywords%>" name=Keywords>
		<meta content="<% =description%>" name=description>
		<LINK href="../Styles.css" type="text/css" rel="stylesheet">
		<script language="javascript" type="text/javascript">
			var maxnum=<%= pubsql.GetSiteInfo("site_topbetCoin")%>;
			var minnum=<%= pubsql.GetSiteInfo("site_lowbetCoin")%>;
			function AddMONEY(val)
				{
					var obj = document.getElementsByName('SMONEY')[val];
					if((obj.value=="")||(obj.value==null))
					{
						document.getElementsByName('SMONEY')[val].value = "0";
					}
					var SMONEYSUM = document.getElementById("SMONEYSUM") ;
					var sum = parseInt(SMONEYSUM.value) + 10 ;  
					if(sum <= <%=userMoneyTotle%>)
					{
						if(obj.value == '0')
						{
							obj.value = 10 ;
						}
						else
						{
							obj.value = parseInt(obj.value) + 10 ;
						}
						SMONEYSUM.value = sum ;
					}
					else
					{
						//alert("您的余额不足！");
						//return false;
					}
		            
				// if(sum>maxnum)
					//{
					// alert("对不起，总投注金额不能超过投注上限！");
					// return false;
					//}
			}	
			function DecreaseMONEY(val)
				{
					var obj = document.getElementsByName('SMONEY')[val];
					if((obj.value=="")||(obj.value==null))
					{
						document.getElementsByName('SMONEY')[val].value = "0";
					}
						//var SMONEYSUM = document.getElementsByName("SMONEYSUM")[0];
						var SMONEYSUM = document.getElementById("SMONEYSUM") ;
						if(obj.value != '0')
						{
							if(obj.value <= 10)
							{
								var sum = parseInt(SMONEYSUM.value) - document.getElementsByName('SMONEY')[val].value ;
								obj.value = '0' ;
							}
							else
							{
								var sum = parseInt(SMONEYSUM.value) - 10 ;
								obj.value = parseInt(obj.value) - 10 ;
							}
							SMONEYSUM.value = sum ;
						}
					//  if(sum<minnum)
					// {
						//  alert("对不起，总投注金额不能小于<%= pubsql.GetSiteInfo("site_lowbetCoin")%>个金币！");
						//  return false;
						//}
				}
				function inputsb(val,num)
				{//parseInt
					var regex=/^[1-9]\d{0,}$/;
					var oldsum,sum,thismoney,sm;
					sum = 0;
					if(!regex.test(val))
					{
						document.getElementsByName("SMONEY")[num].value = "";
						//alert("请输入数字！");
						for (loop = 0 ; loop < 28 ; loop++)
						{
							if ((loop != num))
							{
								sm = document.getElementsByName("SMONEY")[loop].value;
								if ((sm==null)||(sm==""))
								{
									sm = "0";
								}
								sum = parseInt(sum) + parseInt(sm);
							}
						}
						document.getElementById("SMONEYSUM").value = sum;
					}       
					else
					{ 
						for (loop = 0 ; loop < 28 ; loop++)
						{
							if ((loop != num))
							{
								sm = document.getElementsByName("SMONEY")[loop].value;
								if ((sm==null)||(sm==""))
								{
									sm = "0";
								}
								sum = parseInt(sum) + parseInt(sm);
							}
						}
			            
					// if( parseInt(sum)>maxnum)
						//{       
						// alert("对不起，总投注金额不能超过投注上限！");
						//return false;
						//}
			        
					// if (parseInt(<%=userMoneyTotle%>)<(parseInt(sum)+parseInt(val)))
						//{
						// // alert("您的余额不足！");
						// document.getElementsByName("SMONEY")[parseInt(num)].value = "";
							//document.getElementById("SMONEYSUM").value = sum;
						//}
						//else
						//{
							document.getElementById("SMONEYSUM").value = parseInt(sum) + parseInt(val) ;
						//}
					}
				}
				function chgbbb(bbb)
				{
					var abc = 0;
					var smval,cival;
					for (loop = 0 ; loop < 28 ; loop++)
					{
						if(document.getElementsByName("SMONEY")[loop].disabled==false)
						{
							
							smval = document.getElementsByName("SMONEY")[loop].value;
							if ((smval=="")||(smval == null))
							{
								smval =="0";
							}
							else
							{
								smval = parseInt(parseInt(smval)*bbb);
								document.getElementsByName("SMONEY")[loop].value = smval;
								abc = parseInt(abc)+parseInt(smval);
							}                
						}

					}
					document.getElementById("SMONEYSUM").value = abc ;
					var smoneysum = document.getElementById("SMONEYSUM").value;
					if (abc == "0" )
					{
						window.alert("请先投注！");
					} 
					
					//if(abc> <%=userMoneyTotle%>)
					// {
					//   alert("对不起，您的余额不足！");
						//   return false;
					//}

					// if(abc>maxnum)
					//  {
					//    alert("对不起，总投注金额不能超过投注上限！");
					//    return false;
					//}
				}
				
				function FirstModes(modes)
				{
					var   SMONEYS;
					var   sum = 0;
					document.getElementById("SMONEYSUM").value = 0;
					if(modes!="")
					{
						modes = parseInt(modes);
					}
					else
					{
						modes=1;
					}
			     
					if(modes==1) //全包
					{
						SMONEYS="1,3,6,10,15,21,28,36,45,55,63,69,73,75,75,73,69,63,55,45,36,28,21,15,10,6,3,1";
			            
					}else if(modes==2)//单

					{
						SMONEYS=",3,,10,,21,,36,,55,,69,,75,,73,,63,,45,,28,,15,,6,,1";

					}
					else if(modes==3)//双

					{
						SMONEYS="1,,6,,15,,28,,45,,63,,73,,75,,69,,55,,36,,21,,10,,3,";
			            
			           
					}else if(modes==4)//大

					{
						SMONEYS=",,,,,,,,,,,,,,75,73,69,63,55,45,36,28,21,15,10,6,3,1";
			           
					}else if(modes==5)//小
					{
						SMONEYS="1,3,6,10,15,21,28,36,45,55,63,69,73,75,,,,,,,,,,,,,,";
			            
					}else if(modes==6)//中

					{
						SMONEYS=",,,,,,,,,,63,69,73,75,75,73,69,63,,,,,,,,,,";
			            
					}else if(modes==7)//边
					{
						SMONEYS="1,3,6,10,15,21,28,36,45,55,,,,,,,,,55,45,36,28,21,15,10,6,3,1";
			            
					}
			    
					var SMONEYS_Array = SMONEYS.split(",");

					for (loop = 0 ; loop < 28 ; loop++)
					{
						
						//alert(document.getElementsByName("SMONEY")[loop].disabled);
						if(document.getElementsByName("SMONEY")[loop].disabled==false)
						{
							document.getElementsByName("SMONEY")[loop].value = "";
							//document.getElementsByName("CI")[loop].checked   =false;
						}
						var SMONEYS_temp = SMONEYS_Array[loop];  //投注金额
						if(SMONEYS_temp!=""&&document.getElementsByName("SMONEY")[loop].disabled==false)
						{
						//document.getElementsByName("CI")[loop].checked=true
						document.getElementsByName("SMONEY")[loop].value = SMONEYS_temp;  
						sum = sum+parseInt(SMONEYS_temp);  //总投注金额

						}
					}
					document.getElementById("SMONEYSUM").value = sum;
				
					
					// if(sum>maxnum)
					//  {
					//    alert("对不起，总投注金额不能超过投注上限！");
					//    return false;
					//}
				}

			function ClearEvery(){
			for (loop = 0 ; loop < 28 ; loop++)
			{
			if(document.getElementsByName("SMONEY")[loop].disabled==true)
			{}
			else
			{
  				document.getElementsByName("SMONEY")[loop].value=""
			}
			}
			document.getElementById("SMONEYSUM").value = 0;
			}
		</script>
	</HEAD>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
		<form id="Form1" method="post" runat="server">
			<TABLE id="top" height="29" cellSpacing="0" cellPadding="0" width="100%" align="center"
				border="0">
				<TR>
					<TD align="center"><uc1:header id="Header1" runat="server"></uc1:header></TD>
				</TR>
			</TABLE>
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="960" align="center" border="0">
				<TR>
					<TD vAlign="top" width="200"><uc1:left id="Left1" runat="server"></uc1:left></TD>
					<TD style="FONT-SIZE: 13pt" vAlign="top" align="right">
						<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="750" border="0">
							<TR>
								<TD height="25">
									<TABLE id="Table5" height="25" cellSpacing="0" cellPadding="0" border="0">
										<TR>
											<TD vAlign="bottom" align="center" width="81" background="../Images/line_1.gif"><A href="Default.aspx">快乐8</A>
											</TD>
											<TD vAlign="bottom" align="center" width="81" background="../Images/line_1.gif"><A href="Happy8map.aspx" target="_blank">分析报表</A>
											</TD>
											<TD vAlign="bottom" align="center" width="81" background="../Images/line_1.gif"><A href="MyHappy8.aspx">我的投注</A></TD>

											<TD vAlign="bottom" align="center" width="81" background="../Images/line_1.gif"><A href="Happy8autoModes.aspx">编辑自动投注</A>
											</TD>
											<TD vAlign="bottom" align="center" width="81" background="../Images/line_1.gif"><A href="Happy8autoSet.aspx">设置自动投注</A>
											</TD>
											<TD vAlign="bottom" align="center" width="81" background="../Images/line_1.gif"><A href="Happy8help.aspx" >新手上路</A></TD>
												<TD vAlign="bottom" align="center" width="81" background="../Images/line_1.gif"><A href="../Games/helplist.aspx" target="_blank">投注技巧</A></TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
							<TR>
								<TD background="../Images/Line_3.gif" height="6"></TD>
							</TR>
						</TABLE>
						<TABLE id="Table7" style="BORDER-RIGHT: #fad563 1px solid; BORDER-TOP: #fad563 1px solid; BORDER-LEFT: #fad563 1px solid; BORDER-BOTTOM: #fad563 1px solid; HEIGHT: 28px"
							cellSpacing="0" cellPadding="0" width="750" border="0">
							<TR>
								<TD>
									<TABLE id="Table8" cellSpacing="0" cellPadding="0" width="100%" border="0">
										<TR>
											<TD style="WIDTH: 259px"><IFRAME marginWidth="0" marginHeight="0" src="Happy8Clock.aspx" frameBorder="0" width="100%"
													scrolling="no" height="22"></IFRAME>
											</TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
						</TABLE>
						<TABLE id="Table9" style="BORDER-RIGHT: #fad563 1px solid; BORDER-LEFT: #fad563 1px solid; BORDER-BOTTOM: #fad563 1px solid"
							height="30" cellSpacing="0" cellPadding="0" width="750" border="0">
							<TR>
								<TD>
									<TABLE id="Table2" style="BORDER-RIGHT: #fad563 1px solid; BORDER-LEFT: #fad563 1px solid; BORDER-BOTTOM: #fad563 1px solid"
										cellSpacing="0" cellPadding="0" width="100%" border="0">
										<TR>
											<TD style="HEIGHT: 32px"><font color="red"><STRONG>您现在的位置是：</STRONG></font>首页→幸运28游戏→<STRONG><font color="red">游戏投注</font>
												</STRONG>
											</TD>
										</TR>
										<TR>
											<TD><STRONG>我现有的投注模式</STRONG>
											</TD>
										</TR>
										<TR>
											<TD><FONT face="宋体"><asp:panel id="Plmymodes" runat="server"></asp:panel></FONT><FONT face="宋体"></FONT></TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
						</TABLE>
						<TABLE id="Table3" style="BORDER-RIGHT: #fad563 1px solid; BORDER-LEFT: #fad563 1px solid; PADDING-TOP: 8px; BORDER-BOTTOM: #fad563 1px solid"
							height="120" cellSpacing="0" cellPadding="0" width="750" border="0">
							<TR>
								<TD align="left"><asp:label id="lblstat" runat="server" Font-Bold="True" ForeColor="#C00000"></asp:label></TD>
								<TD style="FONT-SIZE: 12pt; HEIGHT: 32px" align="center"><A href="Happy8autoSet.aspx"><FONT color="red">设置自动投注</FONT></A>&nbsp;</TD>
							</TR>
							<TR>
								<TD align="center" colSpan="2">
									<table cellSpacing="0" cellPadding="0" width="750" border="0">
										<tr>
											<td width="47%">标准投注模式：<A class="red" href="javascript:FirstModes(1)">全包</A> <A class="red" href="javascript:FirstModes(2)">
													单</A> <A class="red" href="javascript:FirstModes(3)">双</A> <A class="red" href="javascript:FirstModes(4)">
													大</A> <A class="red" href="javascript:FirstModes(5)">小</A> <A class="red" href="javascript:FirstModes(6)">
													中</A> <A class="red" href="javascript:FirstModes(7)">边</A> <A class="red" href="javascript:ClearEvery()">
													全部清空</A></SPAN> <label></label>
											</td>
											<td align="right" colSpan="2"><input id="b05" onclick="chgbbb(0.5);" type="button" value="0.5倍" name="b05">
												<input id="b08" onclick="chgbbb(0.8);" type="button" value="0.8倍" name="b08"> <input id="b12" onclick="chgbbb(1.2);" type="button" value="1.2倍" name="b12">
												<input id="b15" onclick="chgbbb(1.5);" type="button" value="1.5倍" name="b15"> <input id="b20" onclick="chgbbb(2);" type="button" value="2倍" name="b20">
												<input id="Button1" onclick="chgbbb(10);" type="button" value="10倍" name="b202">
											</td>
										</tr>
									</table>
									<BR>
									我的总投注额：<INPUT class=input2 id=SMONEYSUM 
            style="COLOR: #ff0000" readOnly type=text size=8 
            value="<% =iif(modpayTotle=0,HowMuchs,modpayTotle)%>" name=SMONEYSUM>
										<asp:button id="Button2" runat="server" Text="确定投注"></asp:button><font color =red>已经投注过的将无法修改</FONT></TD>
							</TR>
						</TABLE>
						<TABLE id="Table111" style="BORDER-RIGHT: #fad563 1px solid; BORDER-TOP: #fad563 1px solid; MARGIN-TOP: 8px; BORDER-LEFT: #fad563 1px solid; WIDTH: 750px; BORDER-BOTTOM: #fad563 1px solid; HEIGHT: 31px"
							borderColor="#fad563" cellSpacing="0" cellPadding="0" width="750" border="1">
							<TR>
								<TD style="WIDTH: 200px; HEIGHT: 30px" align="center" background="../Images/bg.gif">预测结果</TD>
								<td align="center" background="../images/bg.gif" bgcolor="#FFFFFF">当前赔率</td>
								<TD style="HEIGHT: 30px" align="center" background="../Images/bg.gif">投注</TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_0.gif" border="0"></TD>
								<td  width =200 align="center"><% =att(0)%></td>
								<TD align="center">
								<input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,0)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,0)" 
            value="<% =aat(0)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(0)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(0)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_1.gif" border="0"></TD>
								<td align="center"><% =att(1)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,1)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,1)" 
            value="<% =aat(1)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(1)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(1)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_2.gif" border="0"></TD><td align="center"><% =att(2)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,2)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,2)" 
            value="<% =aat(2)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(2)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(2)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_3.gif" border="0"></TD><td align="center"><% =att(3)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,3)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,3)" 
            value="<% =aat(3)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(3)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(3)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_4.gif" border="0"></TD><td align="center"><% =att(4)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,4)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,4)" 
            value="<% =aat(4)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(4)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(4)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_5.gif" border="0"></TD><td align="center"><% =att(5)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,5)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,5)" 
            value="<% =aat(5)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(5)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(5)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_6.gif" border="0"></TD><td align="center"><% =att(6)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,6)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,6)" 
            value="<% =aat(6)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(6)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(6)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_7.gif" border="0"></TD><td align="center"><% =att(7)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,7)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,7)" 
            value="<% =aat(7)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(7)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(7)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_8.gif" border="0"></TD><td align="center"><% =att(8)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,8)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,8)" 
            value="<% =aat(8)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(8)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(8)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_9.gif" border="0"></TD><td align="center"><% =att(9)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,9)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,9)" 
            value="<% =aat(9)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(9)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(9)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_10.gif" border="0"></TD><td align="center"><% =att(10)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,10)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,10)" 
            value="<% =aat(10)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(10)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(10)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_11.gif" border="0"></TD><td align="center"><% =att(11)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,11)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,11)" 
            value="<% =aat(11)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(11)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(11)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_12.gif" border="0"></TD><td align="center"><% =att(12)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,12)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,12)" 
            value="<% =aat(12)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(12)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(12)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_13.gif" border="0"></TD><td align="center"><% =att(13)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,13)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,13)" 
            value="<% =aat(13)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(13)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(13)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_14.gif" border="0"></TD><td align="center"><% =att(14)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,14)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,14)" 
            value="<% =aat(14)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(14)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(14)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_15.gif" border="0"></TD><td align="center"><% =att(15)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,15)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,15)" 
            value="<% =aat(15)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(15)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(15)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_16.gif" border="0"></TD><td align="center"><% =att(16)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,16)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,16)" 
            value="<% =aat(16)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(16)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(16)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_17.gif" border="0"></TD><td align="center"><% =att(17)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,17)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,17)" 
            value="<% =aat(17)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(17)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(17)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_18.gif" border="0"></TD><td align="center"><% =att(18)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,18)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,18)" 
            value="<% =aat(18)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(18)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(18)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_19.gif" border="0"></TD><td align="center"><% =att(19)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,19)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,19)" 
            value="<% =aat(19)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(19)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(19)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_20.gif" border="0"></TD><td align="center"><% =att(20)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,20)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,20)" 
            value="<% =aat(20)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(20)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(20)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_21.gif" border="0"></TD><td align="center"><% =att(21)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,21)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,21)" 
            value="<% =aat(21)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(21)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(21)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_22.gif" border="0"></TD><td align="center"><% =att(22)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,22)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,22)" 
            value="<% =aat(22)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(22)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(22)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_23.gif" border="0"></TD><td align="center"><% =att(23)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,23)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,23)" 
            value="<% =aat(23)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(23)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(23)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_24.gif" border="0"></TD><td align="center"><% =att(24)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,24)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,24)" 
            value="<% =aat(24)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(24)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(24)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_25.gif" border="0"></TD><td align="center"><% =att(25)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,25)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,25)" 
            value="<% =aat(25)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(25)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(25)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_26.gif" border="0"></TD><td align="center"><% =att(26)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,26)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,26)" 
            value="<% =aat(26)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(26)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(26)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
							<TR>
								<TD style="WIDTH: 200px" align="center"><IMG src="../Images/numbers/lucky_27.gif" border="0"></TD><td align="center"><% =att(27)%></td>
								<TD align="center"><input class=input2 id=SMONEY 
            onblur="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,27)" 
            style="COLOR: #ff0000" type=text 
            onchange="if(event.keyCode !=37 &amp;&amp; event.keyCode != 39) value=value.replace(/\D/g,'');inputsb(this.value,27)" 
            value="<% =aat(27)%>" name=SMONEY <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="AddMONEY(27)" type="button" value="+" name="Submit" <% =NOset%>> <input style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; WIDTH: 20px; COLOR: #ff0000; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 20px; BACKGROUND-COLOR: #ffffff"
										onclick="DecreaseMONEY(27)" type="button" value="-" name="Submit2" <% =NOset%>></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
			</TABLE>
			</TD></TR></TABLE>
			<TABLE id="bottom" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD><uc1:footer id="Footer1" runat="server"></uc1:footer></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
