<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" />
<style type="text/css">
<!--
.style1 {color: #EFB410}
.style2 {color: #004684}
.style3 {
	font-size: 10px;
	font-style: italic;
}
-->
</style>
<div align="center">
<? if ($_GET['stat'] == '' ) { ?>
  <table width="80%" border="0">
    <tr>
      <td class="td3"><div align="center">Date</div></td>
      <td class="td3"><div align="center">Max</div></td>
      <td class="td3"><div align="center">Reserved</div></td>
      <td class="td3">Remaining</td>
      <td class="td3">Select</td>
    <? if($_SESSION['P1_Login_control_user'] == 1 ) { ?>  <td class="td3">Hide</td> <? } ?>
    </tr>
				<?	
                        $uid=$_SESSION['Login_uid'];
                        $result = mysql_query('select * from p1_date where date_stop = 0'); 
                        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 sum(max_number) as max1 from p1_default_time , p1_time_date where p1_default_time.tid =  p1_time_date.tid and did = $did");
		echo mysql_result($query,0,"max1");
		
		$max = mysql_result($query,0,"max1");
	  ?></td>
      <td class="td2"><? 
	 	$did = $row['did'];
		
      	$query = mysql_query("select count(*) as max1 from p1_order_info where did = $did and stop1=0 ");
		echo mysql_result($query,0,"max1");
		$max1 = mysql_result($query,0,"max1");

	  ?></td>
      <td class="td2"><? echo $max - $max1;?></td>
      <td class="td2"><a href="index.php?page=1&stat=save_date&did=<? echo $row['did'] ?>&date_name=<? echo $row['date_name']?>" class="text1">Select</a></td>
    <? if($_SESSION['P1_Login_control_user'] == 1 ) { ?>  <td class="td2"><a href="index.php?page=1&stat=hide_date&did=<? echo $row['did'] ?>" class="text1">Hide</a></td> <? } ?>
    </tr>
				<?
                    }
                ?>
  </table>
  <? } if ($_GET['stat'] == 'select_time' ) { ?>
  <span class="td_print1">&nbsp;&nbsp;Date : <? echo $_SESSION['1_date_name'] ?>&nbsp;&nbsp;</span><br />
  <table width="80%" border="0">
    <tr>
      <td class="td3"><div align="center">Time</div></td>
      <td class="td3"><div align="center">Max</div></td>
      <td class="td3"><div align="center">Reserved</div></td>
      <td class="td3">Remaining</td>
      <td class="td3">Select</td>
    </tr>
    			<?	
                        $did=$_SESSION['1_did'];
                        $result = mysql_query('select * from p1_time_date, p1_default_time where did= '.$did.' and p1_time_date.tid = p1_default_time.tid'); 
                        while($row = mysql_fetch_array($result)){ 
                ?>
    <tr>
      <td class="td2"><? echo $row['time_name']?></td>
                      <td class="td2"><? echo $row['max_number'];
					  $max = $row['max_number'];
					  	?></td>
                      <td class="td2"><? 
                        $tdid = $row['tdid'];
                        $query = mysql_query("select count(*) as max1 from p1_order_info where tdid = $tdid and stop1=0");
                        echo mysql_result($query,0,"max1");
                		$total_max =  $row['max_number'] - mysql_result($query,0,"max1");
						
						$max1 = mysql_result($query,0,"max1");
                      ?></td>
                      <td class="td2"><? echo $max - $max1;?></td>
                      <td class="td2"><? if ($total_max <> 0 ){ ?><a href="index.php?page=1&stat=save_time&tdid=<? echo $row['tdid'] ?>&time_name=<? echo $row['time_name']?>" class="td2">Select</a><? } ?></td>
    </tr>
    <?
                    }
                ?>
  </table>
  
<? } if ($_GET['stat'] == 'Error101' ) { ?>

		<span class="td4">The  Traf .Rcpt No. already Exists</span>
        
        
<? } if ($_GET['stat'] == 'test_plate' ) { ?>

		<form id="form2" name="form2" method="post" action="index.php?page=1&stat=test_plate1">
		  <table width="80%" border="0" align="center">
            <tr>
              <td class="td1"><div align="center">Plate No.</div></td>
            <td class="td2"><span id="sprytextfield6">
            <input name="Plate1" type="text" id="Plate1" maxlength="<? echo $maxlength_plate ?>"  />
            <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></td>
            </tr>
	      </table>
          <p>
            <input name="Submit" type="submit" class="Submit" id="Submit" value="Submit" />
          </p>
		</form>
<? } if ($_GET['stat'] == 'test_plate1' ) { 
		
		$_SESSION['1_Plate'] = $_POST['Plate1'];

?>
  <form id="form3" name="form3" method="post" action="index.php?page=1&stat=select_plate">
		  <table width="95%" border="0">
            <tr>
              <td width="25%">&nbsp;</td>
              <td width="25%" class="td1">Plate No.</td>
              <td width="25%" class="td2">&nbsp;<? echo $_SESSION['1_Plate']?></td>
              <td width="25%">&nbsp;</td>
            </tr>
            <tr>
              <td class="td1">Traf .Rcpt No.</td>
              <td class="td1">CPR</td>
              <td class="td1">Name</td>
              <td class="td1">Mobile</td>
            </tr>
		<?
            $result = mysql_query('SELECT *  FROM p1_order_info where Plate = '.$_SESSION['1_Plate'].'  and stop1 = 0 order by Type2 desc , Time_a, oid',$db); 
            while($row = mysql_fetch_array($result)){ 
        
        ?>
            <tr>
              <td class="td2">&nbsp;<? echo $row['Plate']; ?></td>
              <td class="td2">&nbsp;<? echo $row['cpr']; ?></td>
              <td class="td2">&nbsp;<? echo $row['Name']; ?></td>
              <td class="td2">&nbsp;<? echo $row['mobile']; ?></td>
            </tr>
		<?
			}
		
		?>
          </table>
		  <p>&nbsp;</p>
		  <p>
		    <input name="Submit" type="submit" class="Submit" id="Submit" value="   Add the order    " />
	      </p>
  </form>
		
<? } if ($_GET['stat'] == 'select_plate' ) { ?>
        
        
        <table width="95%" border="0">
        	
		<?
		
				$row_control = 0;
            $result = mysql_query('SELECT *  FROM p1_plate_type',$db); 
            while($row = mysql_fetch_array($result)){ 
			
				$row_control = $row_control +1;
				$row_id = $row_control %3 ;
				
					if ($row_id  == 1 ) 
						{
							?>
       							  <tr>
                                        <td><div align="center">
                                          <table width="100%" border="0">
                                            <tr>
                                              <td><div align="center"><a href="index.php?page=1&stat=select_plate_type&id=<? echo $row['tyid']; ?>"><img src="images/<? echo $row['tyid']; ?>.jpg" width="200" height="103" border="0" /></a></div></td>
                                            </tr>
                                            <tr>
                                              <td><div align="center"><a href="index.php?page=1&stat=select_plate_type&id=<? echo $row['tyid']; ?>" class="link"><? echo $row['plate_type']; ?></a></div></td>
                                            </tr>
                                          </table>
                                        </div></td>
                                        <td width="30">&nbsp;</td>
                            <?
						}
							
					if ($row_id  == 2 ) 
						{
							?>
                                        <td><div align="center">
                                          <table width="100%" border="0">
                                            <tr>
                                              <td><div align="center"><a href="index.php?page=1&stat=select_plate_type&id=<? echo $row['tyid']; ?>"><img src="images/<? echo $row['tyid']; ?>.jpg" width="200" height="103" border="0" /></a></div></td>
                                            </tr>
                                            <tr>
                                              <td><div align="center"><a href="index.php?page=1&stat=select_plate_type&id=<? echo $row['tyid']; ?>" class="link"><? echo $row['plate_type']; ?></a></div></td>
                                            </tr>
                                          </table>
                                        </div></td>
                                        <td width="30">&nbsp;</td>
                            <?
						}
	   
					if ($row_id  == 0 ) 
						{
							?>

                                        <td><div align="center">
                                          <table width="100%" border="0">
                                            <tr>
                                              <td><div align="center"><a href="index.php?page=1&stat=select_plate_type&id=<? echo $row['tyid']; ?>"><img src="images/<? echo $row['tyid']; ?>.jpg" width="200" height="103" border="0" /></a></div></td>
                                            </tr>
                                            <tr>
                                              <td><div align="center"><a href="index.php?page=1&stat=select_plate_type&id=<? echo $row['tyid']; ?>" class="link"><? echo $row['plate_type']; ?></a></div></td>
                                            </tr>
                                          </table>
                                        </div></td>
                                        <td width="30">&nbsp;</td>
                                   </tr>
                                  <tr>
                                    <td height="5" colspan="5"></td>
                                  </tr>
                            <?
						}
	   
	   
	   
			}
		
		?>
          
          
		</table>        
        
        
        
        
        
       
  <p>&nbsp;</p>
        
        
<? } if ($_GET['stat'] == 'add_order' ) { ?>
  <form id="form1" name="form1" method="post" action="index.php?page=1&stat=add_order1">
    <table width="80%" border="0" align="center">
      <tr>
        <td colspan="4" class="td5">Time & Date</td>
      </tr>
      <tr>
        <td width="20%" class="td1"><div align="center">Date</div></td>
        <td width="30%" class="td2"><? echo $_SESSION['1_date_name'] ?></td>
        <td width="20%" class="td1"><div align="center">Time</div></td>
        <td class="td2"><? echo $_SESSION['1_time_name'] ?></td>
      </tr>
      <tr>
        <td colspan="4" class="td5">Plate Information</td>
      </tr>
      <tr>
        <td class="td1"><div align="center">Plate No.</div></td>
        <td class="td2"><span id="sprytextfield12">
        <input name="Plate" type="text" id="Plate" value="<? echo $_SESSION['1_Plate']?>" maxlength="<? echo $maxlength_plate ?>" readonly="true" />
        <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span></td>
        <td class="td1"><div align="center">urgency</div></td>
        <td class="td2"><select name="Type2" class="select_box" id="Type2">
            <option value="0">No</option>
            <option value="1">Yes</option>
          </select>           </td>
      </tr>
      <tr>
        <td class="td1"><div align="center">Long</div></td>
        <td class="td2"><span id="sprytextfield7"><span class="textfieldRequiredMsg">*</span></span> <span id="spryselect1">
          <select name="Size1" class="select_box" id="Size1">
            <option>Select --&gt;</option>
            <option value="0">0</option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
          </select>
          <span class="selectRequiredMsg">*</span></span></td>
        <td class="td1">Short</td>
        <td class="td2"><span id="spryselect3">
          <select name="Size2" class="select_box" id="Size2">
            <option>Select --&gt;</option>
            <option value="0">0</option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
          </select>
          <span class="selectRequiredMsg">*</span></span><span class="selectRequiredMsg">*</span></td>
      </tr>
      <tr>
        <td class="td1">Type</td>
        <td class="td2">
          
            <?	
                        $result = mysql_query('select * from p1_plate_type where tyid = '.$_SESSION['1_Type1']); 
                        while($row = mysql_fetch_array($result)){ 
                				echo $row['plate_type'] ;
            
					}
				?>       </td>
        <td class="td1">Traf .Rcpt No.</td>
        <td class="td2"><span id="sprytextfield16">
        <input name="traf_recpt" type="text" id="traf_recpt" maxlength="<? echo $maxlength_traf_rcpt?>" />
        <span class="textfieldRequiredMsg">*</span><span class="textfieldInvalidFormatMsg">*</span><span class="textfieldMinCharsMsg">Minimum number of characters not met.</span></span><span class="textfieldRequiredMsg"></span></td>
      </tr>
      <tr>
        <td class="td1">fixing new / screws  </td>
        <td class="td2"><input name="BD1" type="checkbox" id="BD1" value="1" /></td>
        <td class="td1">&nbsp;</td>
        <td class="td2">&nbsp;</td>
      </tr>
	<td colspan="4" class="td5">Customer Information</td>
      </tr>
      <tr>
        <td class="td1">CPR</td>
        <td class="td2"><span id="sprytextfield13">
        <input name="cpr" type="text" id="cpr" maxlength="9" />
        <span class="textfieldInvalidFormatMsg">*</span> <span class="textfieldMinCharsMsg">*</span><span class="textfieldRequiredMsg">*</span></span></td>
        <td class="td1">Name</td>
        <td class="td2"><span id="sprytextfield14">
        <input type="text" name="Name" id="Name" />
        <span class="textfieldRequiredMsg">*</span><span class="textfieldMinCharsMsg">*</span></span><span class="textfieldRequiredMsg">*</span></td>
      </tr>
      <tr>
        <td class="td1">Mobile</td>
        <td class="td2"><span id="sprytextfield15">
        <input type="text" name="mobile" id="mobile" />
        <span class="textfieldRequiredMsg">*</span><span class="textfieldMinCharsMsg">*</span><span class="textfieldInvalidFormatMsg">*</span></span><span class="textfieldRequiredMsg">*</span></td>
        <td class="td1">&nbsp;</td>
        <td class="td2">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="4" class="td5">Car Information</td>
      </tr>
      <tr>
        <td class="td1">Month Register</td>
        <td class="td2"><select name="month_register" class="select_box" id="month_register">
            <option value="0">0</option>
            <? for ($i=1;$i<13;$i++) { ?>
            <option value="<? echo $i ?>"><? echo $i ?></option>
            <? } ?>
          </select></td>
        <td class="td1">Car Type</td>
        <td class="td2"><input type="text" name="car_type" id="car_type" /></td>
      </tr>
      <tr>
        <td class="td1">Car Model</td>
        <td class="td2"><input type="text" name="car_model" id="car_model" /></td>
        <td class="td1">&nbsp;</td>
        <td class="td2">&nbsp;</td>
      </tr>
      <tr>
        <td class="td1">Remarks</td>
        <td colspan="3" class="td2"><textarea name="Remarks" id="Remarks" cols="80" rows="3"></textarea></td>
      </tr>
</table>
    <p align="center">
      <input name="Submit" type="submit" class="Submit" id="Submit" value="   Save   " />
    </p>
    <table width="80%" border="0" align="center">
    </table>
  </form>
<? } if ($_GET['stat'] == 'to_print' ) { ?>
  
  <p><a href="index.php?page=1&stat=print" target="_blank" class="td4">&nbsp;&nbsp;&nbsp;Print&nbsp;&nbsp;&nbsp;</a></p>
  
  <? } if ($_GET['stat'] == 'print' ) { ?>  <br />
  <br />
    <br />
  </p>
  <p><br />
    
  </p>  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><div align="center"><strong>RECEIPT</strong></div></td>
    </tr>
    <tr>
      <td><table width="90%" border="0" align="right">
        <tr>
          <td colspan="4" rowspan="2"></td>
          <td width="15%" class="td_print3"><div align="left"><strong>&nbsp;Receipt No.</strong></div></td>
          <td width="30%" class="td_print4">&nbsp;<img src="image.php?code=code39&o=1&t=30&r=1&text=<? echo $_SESSION['Inv_no'] ?>&f=3&a1=&a2=" width="169" height="43" /></td>
        </tr>
        <tr>
          <td class="td_print3"><div align="left"><strong>&nbsp;Traf. Rcpt No.</strong></div></td>
          <td class="td_print4">&nbsp;<? echo $_SESSION['Inv_traf_recpt'] ?></td>
        </tr>
        <tr>
          <td class="td_print3"><div align="center"><strong>Date</strong></div></td>
          <td class="td_print4"><div align="center"><? echo $_SESSION['Inv_Date'] ?></div></td>
          <td class="td_print3"><div align="center"><strong>Time :</strong></div></td>
          <td class="td_print4"><div align="center"><? echo $_SESSION['Inv_Time'] ?></div></td>
          <td 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 colspan="3" class="td_print4"><div align="center"><? echo $_SESSION['Inv_Name'] ?>&nbsp;</div></td>
          <td class="td_print3"><div align="left"><strong>&nbsp;Mobile No.</strong></div></td>
          <td class="td_print4"><div align="center"><? echo $_SESSION['Inv_mobile'] ?>&nbsp;</div></td>
        </tr>
      </table></td>
    </tr>
 
    <tr>
      <td><table width="95%" border="0" align="right" bordercolor="#000000">
        <tr>
          <td height="9"></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
        <tr>
          <td class="td_print4"><div align="center"><strong>Item No.</strong></div></td>
          <td class="td_print4"><div align="center"><strong>Plate No.</strong></div></td>
          <td class="td_print4"><div align="center"><strong>Descripition</strong></div></td>
          <td class="td_print4"><div align="center"><strong>Quantity</strong></div></td>
          <td class="td_print4"><div align="center"><strong>Unit Price</strong></div></td>
          <td width="18%" class="td_print4"><div align="right"><strong>Amount </strong></div></td>
          </tr>
        <tr>
          <td height="9"></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
        </tr>
      <? 
	  	$tyid = $_SESSION['Inv_Type1'];
			$query = mysql_query("select * from p1_plate_type where tyid = $tyid"); 		
			$plate_type  = mysql_result($query,0,"plate_type");
			$plate_price = mysql_result($query,0,"plate_price");
			
		
	  
	  for ($i = 1 ; $i<=$_SESSION['Inv_number_of_Size1'] ; $i ++) { ?>  
        <tr class="td_print4">
          <td><div align="center"><? echo $i; ?></div></td>
          <td><? echo $_SESSION['Inv_Plate'] ?></td>
          <td>&nbsp;<? echo $plate_type ?> (Long)</td>
          <td>&nbsp;1</td>
          <td>&nbsp;<? echo $plate_price ?></td>
          <td><div align="right">&nbsp;<? echo $plate_price ?>*</div></td>
          </tr>
      <? 
	  		$total_inv = $total_inv+$plate_price;
	   }
	   
	   if ($i > 0 ) 
	   	{
			$i=$i-1;
		}
	  for ($g = 1 ; $g<=$_SESSION['Inv_number_of_Size2'] ; $g ++) { ?>  
        <tr>
          <td class="td_print4"><div align="center"><? echo $i+$g; ?></div></td>
          <td height="30" class="td_print4"><? echo $_SESSION['Inv_Plate'] ?></td>
          <td class="td_print4">&nbsp;<? echo $plate_type ?> (short)</td>
          <td class="td_print4">&nbsp;1</td>
          <td class="td_print4">&nbsp;<? echo $plate_price ?></td>
          <td class="td_print4"><div align="right">&nbsp;<? echo $plate_price ?>*</div></td>
          </tr>
      <? 
	 	 	$total_inv = $total_inv+$plate_price;
	  
	  } 
	 
	 if ( ($i+$g) > 0 ) {
	 	$id_count = $i+$g -1;
	   }else{
	 	$id_count = 0;
	   }
	 
	  if ($_SESSION['Inv_frame'] <> 0 ) { 
	  
	  $id_count=$id_count+1;
	  ?>  
        <tr>
          <td class="td_print4"><div align="center"><? echo $id_count; ?></div></td>
          <td height="30" class="td_print4"><? if ( $_SESSION['Inv_frame'] == 1 ) {
														echo "Black frame";
													} elseif ( $_SESSION['Inv_frame'] == 2 )  {
														echo "Silver frame";
													} elseif ( $_SESSION['Inv_frame'] == 3 )  {
														echo "White frame";
													}
		  
		  ?></td>
          <td class="td_print4">&nbsp;<? echo $plate_type ?></td>
          <td class="td_print4">&nbsp;1</td>
          <td class="td_print4">&nbsp;5</td>
          <td class="td_print4"><div align="right">5</div></td>
          </tr>
      <? 
	 	 	$total_inv = $total_inv+5;
	  
	  } 
	  
	  if ($_SESSION['Inv_Fiber'] <> 0 ) { 
	  
	  $id_count=$id_count+1;
	  ?>  
        <tr>
          <td class="td_print4"><div align="center"><? echo  $id_count; ?></div></td>
          <td height="30" class="td_print4">&nbsp;</td>
          <td class="td_print4">Fiber</td>
          <td class="td_print4">&nbsp;1</td>
          <td class="td_print4">&nbsp;1</td>
          <td class="td_print4"><div align="right">1</div></td>
          </tr>
      <? 
	 	 	$total_inv = $total_inv+1;
	  
	  } 
	  
	  if ($_SESSION['Inv_BD1'] <> 0 ) { 
	  
	  $id_count=$id_count+1;
	  ?>  
        <tr>
          <td class="td_print4"><div align="center"><? echo  $id_count; ?></div></td>
          <td class="td_print4">&nbsp;</td>
          <td class="td_print4">Fixing new / screws</td>
          <td class="td_print4">&nbsp;1</td>
          <td class="td_print4">&nbsp;1</td>
          <td class="td_print4"><div align="right">1</div></td>
          </tr>
      <? 
	 	 	$total_inv = $total_inv+1;
	  
	  }  ?>
     <? for ($g=1 ; $g<(8- $id_count) ; $g++ ) { ?>
    	 <tr>
           <td height="12"></td>
    	   <td></td>
    	   <td></td>
    	   <td></td>
    	   <td></td>
    	   <td></td>
  	   </tr>
      <? } ?>
        <tr>
          <td class="td_print4"><div align="center"><strong>Total </strong></div></td>
          <td colspan="4" class="td_print4">&nbsp;</td>
          <td class="td_print4"><div align="right"><strong><? echo $total_inv ?></strong> BD</div></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td><div align="left"><span class="style3"><br />
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*   Amount received by  GDT</span></div></td>
    </tr>
    <tr>
      <td height="52"><p align="center"><strong><u>Appointment Date:</strong> <? echo $_SESSION['1_date_name'] ?>  <strong> Time:  </strong> <? echo $_SESSION['1_time_name'] ?></u></p></td>
    </tr>

  </table>
<? } ?>

</div>
  <script type="text/javascript">
<!--
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none");
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "time", {useCharacterMasking:true});
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "date", {format:"yyyy-mm-dd", useCharacterMasking:true});
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8");
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9");
var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10", "none", {isRequired:false});
var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield11");
var sprytextfield = new Spry.Widget.ValidationTextField("sprytextfield", "integer");
var sprytextfield12 = new Spry.Widget.ValidationTextField("sprytextfield12", "integer");
var sprytextfield13 = new Spry.Widget.ValidationTextField("sprytextfield13", "none");
var sprytextfield14 = new Spry.Widget.ValidationTextField("sprytextfield14", "none", {minChars:4});
var sprytextfield15 = new Spry.Widget.ValidationTextField("sprytextfield15", "integer", {minChars:8, useCharacterMasking:true});
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
var sprytextfield16 = new Spry.Widget.ValidationTextField("sprytextfield16", "integer", {minChars:7});
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "integer", {useCharacterMasking:true});
//-->
</script>
