<link href="wstyle.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />

<? if ($_GET['stat'] == '' ) { ?>
<style type="text/css">
<!--
.style1 {color: #EFB410}
.style2 {color: #004684}
-->
</style>
<p align="center" class="td4">Sale</p>
<table width="80%" border="0" align="center">
<tr>
      <td class="td3"><div align="center">Date</div></td>
      <td class="td3">Number of Order</td>
      <td class="td3">Sales Report</td>
      <td class="td3">Add</td>
    </tr>
				<?	
                        $uid=$_SESSION['Login_uid'];
                        $result = mysql_query('select * from p1_date where date_stop = 0 order by did desc'); 
                        while($row = mysql_fetch_array($result)){ 
                ?>	
    <tr>
      <td class="td2"><? echo $row['date_name']?></td>
      <td class="td2"><?
	  	$did = $row['did'];
      	$query = mysql_query("select count(*) as count from p1_sale where did = $did");
		echo mysql_result($query,0,"count");
	  ?></td>
      <td class="td2"><a href="index.php?page=26&stat=show_all&did=<? echo $row['did'] ?>" class="link">Sales Report</a></td>
      <td class="td2"><a href="index.php?page=26&stat=save_date&did=<? echo $row['did'] ?>&date_name=<? echo $row['date_name']?>" class="text1">Add</a></td>
    </tr>
    	<? } ?>
  </table>
<? }
	if ($_GET['stat'] == 'add_order' ) {?>
<form id="form1" name="form1" method="post" action="index.php?page=26&stat=addsaledb">
  <table width="80%" border="0" align="center">
    <tr>
      <td colspan="4" class="td5">Order For Sale</td>
    </tr>
    <tr>
      <td width="20%" class="td1"><div align="center">Date</div></td>
      <td width="30%" class="td2"><? echo $_SESSION['26_date_name'] ?></td>
      <td class="td1">Plate No.</td>
      <td class="td2"><label>
        <input type="text" name="plate" id="plate" />
      </label></td>
    </tr>
    <tr>
      <td class="td1">Name</td>
      <td class="td2"><span id="sprytextfield">
        <label>
        <input type="text" name="name_order" id="name_order" />
        </label>
        <span class="textfieldRequiredMsg">*</span></span></td>
      <td class="td1">Mobile</td>
      <td class="td2"><span id="sprytextfield10">
        <label>
        <input type="text" name="mobile" id="mobile" />
        </label>
      <span class="textfieldRequiredMsg">A value is required.</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">Black frame</td>
    </tr>
    <tr>
      <td class="td1">Short</td>
      <td class="td2"><span id="sprytextfield5">
      <label>
      <input type="text" name="bs" id="bs" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Long</td>
      <td class="td2"><span id="sprytextfield1">
      <label>
      <input type="text" name="bl" id="bl" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">Silver frame</td>
    </tr>
    <tr>
      <td class="td1">Short</td>
      <td class="td2"><span id="sprytextfield4">
      <label>
      <input type="text" name="ss" id="ss" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Long</td>
      <td class="td2"><span id="sprytextfield6">
      <label>
      <input type="text" name="sl" id="sl" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">White frame</td>
    </tr>
    <tr>
      <td class="td1">Short</td>
      <td class="td2"><span id="sprytextfield8">
      <label>
      <input type="text" name="ws" id="ws" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Long</td>
      <td class="td2"><span id="sprytextfield9">
      <label>
      <input type="text" name="wl" id="wl" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">Other info</td>
    </tr>
    <tr>
      <td class="td1">Fiber</td>
      <td class="td2"><span id="sprytextfield2">
      <label>
      <input type="text" name="fiber" id="fiber" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Screws</td>
      <td class="td2"><span id="sprytextfield3">
      <label>
      <input type="text" name="screws" id="screws" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="2" class="td1">Offside fixing ( Number of Car )</td>
      <td colspan="2" class="td2"><span id="sprytextfield7">
      <label>
      <input type="text" name="outsidefixing" id="outsidefixing" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
    </tr>
  </table>
    <p align="center">
      <label>
      <input name="Submit" type="submit" class="Submit" id="Submit" value="   Save   " />
      </label>
    </p>
</form>

<? } if ($_GET['stat'] == 'addsale' ) { ?> 

	<form action="index.php?page=26&stat=print" method="post" name="form2" target="_blank" id="form2">
	  <div align="center">
	    <input name="Submit" type="submit" class="td4" id="Submit" value="   Print   " />
      </div>
	</form>
    <? } if ($_GET['stat'] == 'print' ) { 
						$month			   = date("m");
						$year			   = date("Y");
						// Create invoice
						//Invoice No.
							$Inv_year  = $year -2000;
							if ($month < 10 ) {
								$Inv_month = '0'.($month/1);
							}else{
								$Inv_month = $month;
							}
							if ($_SESSION['26_sid'] < 10 ) {
								$Inv_serial = '0000'.$_SESSION['26_sid'];
							}elseif ($serial < 100 ) {
								$Inv_serial = '000'.$_SESSION['26_sid'];
							}elseif ($serial < 1000 ) {
								$Inv_serial = '00'.$_SESSION['26_sid'];
							}elseif ($serial < 10000 ) {
								$Inv_serial = '0'.$_SESSION['26_sid'];
							}elseif ($serial < 100000 ) {
								$Inv_serial = $_SESSION['26_sid'];
							}
							$_SESSION['26_Inv_no'] = $Inv_year.$Inv_month.'SR'.$Inv_serial;
	
	
	
	 ?>
  <br />
  <br />
  <br />
  <br />
  <br />
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td><div align="center"><strong>RECEIPT</strong><br />
        <br />
      </div></td>
    </tr>
    <tr>
      <td><table width="95%" border="0" align="right">
        <tr>
          <td class="td_print3"><div align="center"><strong>Date</strong></div></td>
          <td class="td_print4"><div align="center"><? echo $_SESSION['26_inv_create_date']; ?></div></td>
          <td class="td_print3"><div align="center"><strong>Time :</strong></div></td>
          <td class="td_print4"><div align="center"><? echo $_SESSION['26_inv_create_time']	?></div></td>
          <td width="15%" class="td_print3"><div align="left"><strong>&nbsp;Cashier</strong></div></td>
          <td class="td_print4">&nbsp;<? echo $_SESSION['P1_Login_name'] ?></td>
        </tr>
        <tr>
          <td class="td_print3"><div align="center"><strong>M/S</strong></div></td>
          <td class="td_print2"><div align="center"><span class="td_print4"><? echo $_SESSION['26_inv_name_order'] ?></span>&nbsp;</div></td>
          <td class="td_print1"><div align="left"><strong>&nbsp;Mobile No.</strong></div></td>
          <td class="td_print2"><div align="center"><? echo $_SESSION['26_inv_mobile'] ?>&nbsp;</div></td>
          <td class="td_print3"><div align="left"><strong>&nbsp;Receipt No.</strong></div></td>
          <td class="td_print4"><div align="center"><? echo $_SESSION['26_Inv_no'] ?>&nbsp;</div></td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td><br />
        <br />
</td>
    </tr>
    <tr>
      <td><table width="95%" border="0" align="right" bordercolor="#000000">
        <tr class="td_print4">
          <td><div align="center"><strong>Item No.</strong></div></td>
          <td><div align="center"><strong>Descripition</strong></div></td>
          <td><div align="center"><strong>Quantity</strong></div></td>
          <td><div align="center"><strong>Unit Price</strong></div></td>
          <td><div align="right"><strong>Amount </strong></div></td>
        </tr>
        <tr class="td_print4">
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      <? 
	  $id_count=1;
	  $total =0;
	  	if ($_SESSION['26_inv_bs'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo $id_count; ?></div></td>
          <td class="td_print4">Black frame ( Short ) </td>
          <td class="td_print4"><? echo $_SESSION['26_inv_bs']?></td>
          <td class="td_print4">5</td>
          <td class="td_print4"><div align="right"><? echo $_SESSION['26_inv_bs']* 5?></div></td>
        </tr>
      <? 
	   $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_bs']* 5;
	   
	  } ?>
      
       <? 
	  	if ($_SESSION['26_inv_bl'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo $id_count; ?></div></td>
          <td class="td_print4">Black frame ( Long ) </td>
          <td class="td_print4"><? echo $_SESSION['26_inv_bl']?></td>
          <td class="td_print4">5</td>
          <td class="td_print4"><div align="right"><? echo$_SESSION['26_inv_bl']* 5?></div></td>
        </tr>
      <? 
	   $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_bl']* 5;
	   
	  } ?>
       <? 
	  	if ($_SESSION['26_inv_ss'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo $id_count; ?></div></td>
          <td class="td_print4">Silver frame ( Short ) </td>
          <td class="td_print4"><? echo $_SESSION['26_inv_ss']?></td>
          <td class="td_print4">5</td>
          <td class="td_print4"><div align="right"><? echo $_SESSION['26_inv_ss']* 5?></div></td>
        </tr>
      <? 
	   $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_ss']* 5;
	   
	  } ?>
      
       <? 
	  	if ($_SESSION['26_inv_sl'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo $id_count; ?></div></td>
          <td class="td_print4">Silver frame ( Long ) </td>
          <td class="td_print4"><? echo $_SESSION['26_inv_sl']?></td>
          <td class="td_print4">5</td>
          <td class="td_print4"><div align="right"><? echo$_SESSION['26_inv_sl']* 5?></div></td>
        </tr>
      <? 
	   $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_sl']* 5;
	   
	  } ?>
      
       <? 
	  	if ($_SESSION['26_inv_ws'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo $id_count; ?></div></td>
          <td class="td_print4">White frame ( Short ) </td>
          <td class="td_print4"><? echo $_SESSION['26_inv_ws']?></td>
          <td class="td_print4">5</td>
          <td class="td_print4"><div align="right"><? echo $_SESSION['26_inv_ws']* 5?></div></td>
        </tr>
      <? 
	   $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_ws']* 5;
	   
	  } ?>
      
       <? 
	  	if ($_SESSION['26_inv_wl'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo $id_count; ?></div></td>
          <td class="td_print4">White frame ( Long ) </td>
          <td class="td_print4"><? echo $_SESSION['26_inv_wl']?></td>
          <td class="td_print4">5</td>
          <td class="td_print4"><div align="right"><? echo$_SESSION['26_inv_wl']* 5?></div></td>
        </tr>
      <? 
	   $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_wl']* 5;
	   
	  } ?>
      
      
      <? 
	  	if ($_SESSION['26_inv_fiber'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo  $id_count; ?></div></td>
          <td class="td_print4">Fiber</td>
          <td class="td_print4"><? echo $_SESSION['26_inv_fiber']?></td>
          <td class="td_print4">&nbsp;1</td>
          <td class="td_print4"><div align="right"><? echo $_SESSION['26_inv_fiber']?></div></td>
        </tr>
     <? 
	  $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_fiber'];
	 } ?>
      <? 
	  	if ($_SESSION['26_inv_screws'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo  $id_count; ?></div></td>
          <td class="td_print4">screws</td>
          <td class="td_print4"><? echo $_SESSION['26_inv_screws']?></td>
          <td class="td_print4">1</td>
          <td class="td_print4"><div align="right"><? echo $_SESSION['26_inv_screws']?></div></td>
        </tr>
     <? 
	  $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_screws'];
	 } ?>
      <? 
	  	if ($_SESSION['26_inv_outsidefixing'] <> 0 ) { ?>
        <tr>
          <td height="30" class="td_print4"><div align="center"><? echo  $id_count; ?></div></td>
          <td class="td_print4">offside fixing</td>
          <td class="td_print4"><? echo $_SESSION['26_inv_outsidefixing']?></td>
          <td class="td_print4"><? 
		  	if ( $_SESSION['26_inv_outsidefixing'] > 1 ) {
				echo 5;
				$price = 5;
			}else{
				echo 10;
				$price = 10;
			}
		  
		  ?></td>
          <td class="td_print4"><div align="right"><? echo $_SESSION['26_inv_outsidefixing']*$price;?></div></td>
        </tr>
        
        



     <? 
	  $id_count=  $id_count+1;
	   $total =  $total+$_SESSION['26_inv_outsidefixing']*$price;
	 } ?>
     <? for ($g=1 ; $g<(8 - 4) ; $g++ ) { ?>
    	 <tr>
          <td height="30" class="td_print4">&nbsp;</td>
          <td class="td_print4">&nbsp;</td>
          <td class="td_print4">&nbsp;</td>
          <td class="td_print4">&nbsp;</td>
          <td class="td_print4"><div align="right"></div></td>
          <td class="td_print4">&nbsp;</td>
  	   </tr>
      <? } ?>
        <tr>
          <td colspan="4" class="td_print4"><div align="left"><strong>&nbsp;&nbsp;Total </strong></div></td>
          <td class="td_print4"><div align="right"><strong><? echo $total ?></strong> BD</div></td>
        </tr>
      </table></td>
    </tr>
</table>
<? }if ($_GET['stat'] == 'show_all' ) { ?>
	<table width="95%" border="0" align="center">
      <tr>
        <td rowspan="2" class="td1">ID</td>
        <td rowspan="2" class="td1">Time</td>
        <td colspan="2" class="td1">Black frame</td>
        <td colspan="2" class="td1">Silver frame</td>
        <td colspan="2" class="td1">White frame</td>
        <td rowspan="2" class="td1">Fiber</td>
        <td rowspan="2" class="td1">Screws</td>
        <td rowspan="2" class="td1">Offside<br /> 
        Fixing</td>
        <td rowspan="2" class="td1">Total</td>
        <td rowspan="2" class="td1">Name</td>
       <? /* <td rowspan="2" class="td1">Edit</td>*/ ?>
      </tr>
      <tr>
        <td class="td1">Short</td>
        <td class="td1">Long</td>
        <td class="td1">Short</td>
        <td class="td1">Long</td>
        <td class="td1">Short</td>
        <td class="td1">Long</td>
      </tr>
     <?
		 $i = 0;
		 $did = $_GET['did'];
		$result_lest = mysql_query("SELECT * FROM p1_sale where did = $did"); 
		while($row = mysql_fetch_array($result_lest)){ 
		
		$i = $i + 1;
	?>
      <tr>
        <td class="td2"><? echo $i  ?></td>
        <td class="td2"><? echo $row['create_time'] ?></td>
        <td class="td2"><? echo $row['bs'] ?></td>
        <td class="td2"><? echo $row['bl'] ?></td>
        <td class="td2"><? echo $row['ss'] ?></td>
        <td class="td2"><? echo $row['sl'] ?></td>
        <td class="td2"><? echo $row['ws'] ?></td>
        <td class="td2"><? echo $row['wl'] ?></td>
        <td class="td2"><? echo $row['fiber'] ?></td>
        <td class="td2"><? echo $row['screws'] ?></td>
        <td class="td2"><? echo $row['outsidefixing'] ?></td>
        <td class="td2"><? 
		if ($row['outsidefixing'] > 1 ) {		
				echo $row['bs']*5+$row['bl']*5+$row['ss']*5+$row['sl']*5+$row['ws']*5+$row['wl']*5+$row['fiber']+$row['screws']+$row['outsidefixing']*5 ;
			}else{
				echo $row['bs']*5+$row['bl']*5+$row['ss']*5+$row['sl']*5+$row['ws']*5+$row['wl']*5+$row['fiber']+$row['screws']+$row['outsidefixing']*10; 
			}
			
			?> BD</td>
            
        <td class="td2"><? echo $row['name_order'] ?></td>
      <? /*   <td class="td2"><a href="index.php?page=26&stat=edit&sid=<? echo $row['sid'];?>" class="td2">Edit</a></td> */ ?>
      </tr>
     <? } ?> 
    </table>
<? //} if ($_GET['stat'] == 'edit') {
 } if ($_GET['stat'] == 'edit_stop') {
			$sid = $_GET['sid'];
			$query = mysql_query("SELECT * FROM p1_sale where sid = $sid");
 ?>
<form id="form1" name="form1" method="post" action="index.php?page=26&stat=updatesaledb">
  <table width="80%" border="0" align="center">
    <tr>
      <td colspan="4" class="td5">Order For Sale</td>
    </tr>
    <tr>
      <td width="20%" class="td1"><div align="center">Date</div></td>
      <td width="30%" class="td2"><? echo mysql_result($query,0,"date_name"); ?></td>
      <td class="td1">Plate No.</td>
      <td class="td2"><label>
        <input type="text" name="plate" id="plate" value="<? echo mysql_result($query,0,"plate"); ?>" />
      </label></td>
    </tr>
    <tr>
      <td class="td1">Name</td>
      <td class="td2"><span id="sprytextfield">
        <label>
        <input type="text" name="name_order" id="name_order" value="<? echo mysql_result($query,0,"name_order"); ?>" />
        </label>
        <span class="textfieldRequiredMsg">*</span></span></td>
      <td class="td1">Mobile</td>
      <td class="td2"><span id="sprytextfield10">
        <label>
        <input type="text" name="mobile" id="mobile" value="<? echo mysql_result($query,0,"mobile"); ?>" />
        </label>
      <span class="textfieldRequiredMsg">A value is required.</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">Black frame</td>
    </tr>
    <tr>
      <td class="td1">Short</td>
      <td class="td2"><span id="sprytextfield5">
      <label>
      <input type="text" name="bs" id="bs" value="<? echo mysql_result($query,0,"bs"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Long</td>
      <td class="td2"><span id="sprytextfield1">
      <label>
      <input type="text" name="bl" id="bl" value="<? echo mysql_result($query,0,"bl"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">Silver frame</td>
    </tr>
    <tr>
      <td class="td1">Short</td>
      <td class="td2"><span id="sprytextfield4">
      <label>
      <input type="text" name="ss" id="ss" value="<? echo mysql_result($query,0,"ss"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Long</td>
      <td class="td2"><span id="sprytextfield6">
      <label>
      <input type="text" name="sl" id="sl" value="<? echo mysql_result($query,0,"sl"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">White frame</td>
    </tr>
    <tr>
      <td class="td1">Short</td>
      <td class="td2"><span id="sprytextfield8">
      <label>
      <input type="text" name="ws" id="ws" value="<? echo mysql_result($query,0,"ws"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Long</td>
      <td class="td2"><span id="sprytextfield9">
      <label>
      <input type="text" name="wl" id="wl" value="<? echo mysql_result($query,0,"wl"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="4" class="td_print1">Other info</td>
    </tr>
    <tr>
      <td class="td1">Fiber</td>
      <td class="td2"><span id="sprytextfield2">
      <label>
      <input type="text" name="fiber" id="fiber" value="<? echo mysql_result($query,0,"fiber"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
      <td class="td1">Screws</td>
      <td class="td2"><span id="sprytextfield3">
      <label>
      <input type="text" name="screws" id="screws" value="<? echo mysql_result($query,0,"screws"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
    </tr>
    <tr>
      <td colspan="2" class="td1">Offside fixing ( Number of Car )</td>
      <td colspan="2" class="td2"><span id="sprytextfield7">
      <label>
      <input type="text" name="outsidefixing" id="outsidefixing" value="<? echo mysql_result($query,0,"outsidefixing"); ?>" />
      </label>
      <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
    </tr>
  </table>
    <p align="center">
      <label>
      <input name="sid" type="hidden" id="sid" value="<? echo $_GET['sid'];?>" />
      <input name="Submit" type="submit" class="Submit" id="Submit" value="   Update   " />
      </label>
    </p>
</form>
<?  } ?>

<script type="text/javascript">
<!--
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "integer", {useCharacterMasking:true});
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "integer", {useCharacterMasking:true});
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "integer", {useCharacterMasking:true});
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "integer", {useCharacterMasking:true});
var sprytextfield = new Spry.Widget.ValidationTextField("sprytextfield");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "integer", {useCharacterMasking:true});
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "integer", {useCharacterMasking:true});
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7", "integer", {useCharacterMasking:true});
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "integer", {useCharacterMasking:true});
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "integer", {useCharacterMasking:true});
var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10");
//-->
</script>
