<form action="" method="post" name="form1" id="form1">
    <table class="marco" style="background:#E3E9E2" width="99%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tr>
                        <td nowrap="nowrap">
                            <table width="100%" cellspacing="1" cellpadding="0" border="0" class="SubCabecera">
                                    <tr>
                                        <td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=IdSucursal class="label">Sucursal :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
                                        	<?=crearSelect( array( "IdSucursal", "getIdSucursal", "getDescripcion", "opt_seleccione" => $opt_seleccione ), $a_GSS_Sucursal )?>
                                        </td>
                                        <td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=IdPersona class="label">Proveedor :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
                                        	<?=crearSelect( array( "IdPersona", "getIdPersona", "getNombreCompleto" ), $a_MST_PersonaMast )?>
                                        </td>
                                    </tr>
                                    
                                    <tr>
                                        <td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=IdSucursal class="label">Fecha Requerida :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
                                        	<input type="text" class="text" name="FechaRequerida" id="FechaRequerida" size="15" style="text-align:center;">
                                            <script type="text/javascript">
                                            $( "#FechaRequerida" ).datepicker( { dateFormat: "yy-mm-dd", changeYear:true, yearRange: "-1:+0", changeMonth: true, onClose: function (){ this.focus(); } } );
                                            </script>
                                        </td>
                                        <td  nowrap="nowrap">
                                            <div class="field-label">
                                                <label for=Estado class="label">Estado :</label>
                                            </div>
                                        </td>
                                        <td nowrap="nowrap">
                                        	<select class="combo" name="Estado" id="Estado">
                                                <option value=""> - Seleccione - </option>
                                                <?php foreach ( $a_EstadosReq as $s_Key => $s_Values ){ ?>
                                                <option value="<?=$s_Key?>"> <?=$s_Values?> </option>
                                                <?php } ?>
                                        </select>
                                        </td>
                                    </tr>
                                </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td>
                <input type="hidden" name="IdCompania" value="<?=myUser::getUser()->getIdBusiness()?>">
                <input type="button" onclick="findControl();" value="Buscar" class="button">
            </td>
        </tr>
    </table>
</form>