<?php 
    use App\Libraries\ejLib;
    $var = ejLib::getInstance();


$nom_Centro_Sal = $_POST['nom_Centro_Sal'];
$CLUES_solicitante = $_POST['CLUES_solicitante'];

?>


            <div class="box box-primary" id="objAgregarReferencias" name="objAgregarReferencias">
              <div class="box-header with-border">
                  <h3 class="box-title">Nueva Solicitud</h3>
                  <div class="box-tools pull-right">
                      <button id="cmdCloseNewSolicitud" name="cmdCloseNewSolicitud" type="button" class="btn btn-box-tool" data-widget="collapse"  aria-pressed="true"><i class="fa fa-minus"></i>
                      </button>
                  </div>
              </div>

                <div class="box-body">
                    <div class="row alinear_centrado">

                      <div class="page-headerL" id="">Datos de Envio</div>

                      <div class="row margenSuperior">                    

                        <div class="row alinear_centrado">
                          <div class="col-sm-4">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">UMED que refiere</span>                          
                              <div class="alinear_izquierda form-control" style="width: 100%; height: 100%; border:1px solid; border-color: #d2d6de;">{!! $nom_Centro_Sal !!}</div>
                            </div>
                          </div>

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Tipo</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_TipoSolicitud_Referencia',''); !!}
                            </div>
                          </div>

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Fecha solicitud</span>                          
                              <input type="text" id="txtFecha_ref" name="txtFecha_ref" class="form-control" width="100%" height="100%" placeholder="[dd/mm/aaaa]" title="Proporciona la fecha de la solicitud de referencia">                          
                            </div>
                          </div> 

                        </div>

                        <div class="row alinear_centrado">


                          <div class="col-sm-4">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Folio solicitud</span>                          
                              <input type="number" id="txtFolioConsulta" name="txtFolioConsulta" class="form-control" style="width: 100%;" placeholder="[1-9]" min="0" step="1" pattern="[0-9]{10}" title="Proporciona el folio de la solicitud de referencia" >
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Con.</span>
                              <input style="width: 30px; " class="form-control" id="txtConsFolioCon" name="txtConsFolioCon" value="1">
                            </div>                        
                          </div>
                          

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Fecha registro</span>                          
                              <input type="text" id="txtFecha" name="txtFecha" class="form-control" width="100%" height="100%" placeholder="[dd/mm/aaaa]" title="Proporciona la fecha del registro de la referencia" disabled="disabled">                          
                            </div>
                          </div>                     

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Hora</span>
                              <select id="lstHora_H" class="form-control" style="width: 100%; " disabled="disabled">
                                <option value="00">00</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option>                              
                              </select>
                              <span class="input-group-addon" id="sizing-addon3" style="height: 100%; background: #eee">:</span>
                              <select id="lstHora_m" class="form-control" style="width: 100%; " disabled="disabled">
                                <option value="00">00</option> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> <option value="32">32</option> <option value="33">33</option> <option value="34">34</option> <option value="35">35</option> <option value="36">36</option> <option value="37">37</option> <option value="38">38</option> <option value="39">39</option> <option value="40">40</option> <option value="41">41</option> <option value="42">42</option> <option value="43">43</option> <option value="44">44</option> <option value="45">45</option> <option value="46">46</option> <option value="47">47</option> <option value="48">48</option> <option value="49">49</option> <option value="50">50</option> <option value="51">51</option> <option value="52">52</option> <option value="53">53</option> <option value="54">54</option> <option value="55">55</option> <option value="56">56</option> <option value="57">57</option> <option value="58">58</option> <option value="59">59</option> 
                              </select>
                            </div>
                          </div>
                        </div>

                        <div class="row alinear_centrado">
                          <div class="col-sm-4">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>UMED a referir</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_ConfCSRefPorUMED_porDestino','Centro_Sal=S&Clues_solicitante= '.$CLUES_solicitante); !!}
                            </div>
                          </div>                      

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Especialidad</span>                          
                              <div id="addEspecialidadASolicitud" name="addEspecialidadASolicitud" style="width: 100%; height: 100%;  border:1px solid; border-color: #d2d6de;">[ ... ]</div>
                            </div>
                          </div>

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Derechohabiencia</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_Derechohabiencia','') !!}
                            </div>
                          </div> 

                          
                        </div>


                        <div class="row alinear_centrado">
                          <div class="col-sm-4" id="divFolio" name="divFolio">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Folio</span>
                              <input type="text" id="txtFolio" name="txtFolio" class="form-control" style="width: 100%; " title="Folio de la Derechohabiencia del usuario" >

                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Con.</span>
                              <input style="width: 30px; " class="form-control" id="txtConsecutivo" name="txtConsecutivo">

                              <div class="input-group-addon btn btn-sm btn-success" id="cmdBuscar" name="cmdBuscar" ><span class="fa fa-search" aria-hidden="true" title="Buscar registros"></span> Buscar</div>
                              
                            </div>                        
                          </div> 


                          

                          <div class="col-sm-3" hidden>
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Inicio de Vig.</span>                          
                              <input type="text" id="txtVigenciaIni" name="txtVigenciaIni" class="form-control" width="100%" height="100%" placeholder="[dd/mm/aaaa]" title="Proporciona el inicio de la vigencia">
                            </div>
                          </div>

                          <div class="col-sm-3" hidden>
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Fin de Vig.</span>                          
                              <input type="text" id="txtVigenciaFin" name="txtVigenciaFin" class="form-control" width="100%" height="100%" placeholder="[dd/mm/aaaa]" title="Proporciona el fin de la vigencia">
                            </div>
                          </div> 
                        </div>

                    </div>

                    </div>                  
                    
                </div>

                <div class="box-body" id="identPac" name="identPac">
                    <div class="row alinear_centrado">
                      <div class="page-headerL" id="">Datos de identidad del paciente</div>
                      <div class="row margenSuperior">

                        <div class="row alinear_centrado">
                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>CURP</span>
                              <input type="text" id="txtCurp" name="txtCurp" class="form-control" style="width: 100%; " placeholder="[a-z 1-9]" title="Folio de la Derechohabiencia del usuario" >
                              <div class="input-group-addon btn btn-sm btn-success" id="cmdBuscarCurp" name="cmdBuscarCurp" ><span class="fa fa-search" aria-hidden="true" title="Buscar registros"></span> Buscar</div>
                              
                            </div>                        
                          </div>
                          
                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Primer Apellido</span>                          
                              <input type="text" id="txtPrimerAp" name="txtPrimerAp" class="form-control" width="100%" height="100%" placeholder="[a-z 1-9]" title="Proporciona el primer apellido del usuario del servicio">
                            </div>
                          </div>

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Segundo Apellido</span>                          
                              <input type="text" id="txtSegundoAp" name="txtSegundoAp" class="form-control" width="100%" height="100%" placeholder="[a-z 1-9]" title="Proporciona el segundo apellido del usuario del servicio">
                            </div>
                          </div>

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Nombre(s)</span>                          
                              <input type="text" id="txtNombres" name="txtNombres" class="form-control" width="100%" height="100%" placeholder="[a-z 1-9]" title="Proporciona el nombre del usuario del servicio">
                            </div>
                          </div>
                        </div>

                        <div class="row alinear_centrado">
                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Fecha de Nac.</span>
                              <input type="text" id="txtFNac" name="txtFNac" class="form-control" width="60%" height="100%" placeholder="[dd/mm/aaaa]" title="Proporcione la fecha de nacimiento del usuario del servicio">
                              <div class="input-group-addon" id="divEdad" name="divEdad" style="background: #eee"></div>
                            </div>
                          </div>

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Sexo biológico</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_Sexo',''); !!}
                            </div>
                          </div>
                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Genero</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_Genero','id_genero=0&Activo=disabled'); !!}
                            </div>
                          </div>


                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Sexo CURP</span>     
                              
                              {!! $var->getView('Catalogos\VistasController@vCat_SexoCurp',''); !!} 
                          
                            </div>
                          </div>  


                          

                          
                        </div>

                        <div class="row alinear_centrado">
                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Ent. Federativa</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_Entidades',''); !!}
                            </div>
                          </div>

                          <div class="col-sm-3" >
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Nº Expediente</span>                          
                              <input type="text" id="txtNExp" name="txtNExp" class="form-control" style="width: 100%; " title="Número de expediente en físico del usuario en la UMED solicitante" >
                            </div>
                          </div>
                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Dificultad</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_Dificultad','id_dificultad=9'); !!}
                            </div>
                          </div>

                          <div class="col-sm-3">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Grado de dificultad</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_GradoDeDificultad','id_grado=9&Activo=disabled'); !!}
                            </div>
                          </div>
                        </div>

                        <div class="row alinear_centrado">
                          

                        

                          

                          <div class="col-sm-3 form-group form-group-sm">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Origen de dificultad</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_OrigenDeDificultad','id_origen=9&Activo=disabled'); !!}
                            </div>
                          </div>

                          
                          <div class="col-sm-3 form-group form-group-sm">
                            <div class="input-group input-group-sm">
                              <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Tipo de beneficiario</span>                          
                              {!! $var->getView('Catalogos\VistasController@vCat_TipoBeneficiario','id_beneficiario=02&Activo=disabled'); !!}
                            </div>
                          </div>

                          <div class="col-sm-3 form-group form-group-sm">
                            <div class="input-group input-group-sm">
                             <span class="input-group-addon" id="sizing-addon3" style="background: #eee">¿Se considera Indigena? </span>
                                <div id="edit_vCat_SeConsideraIndigena" name="edit_vCat_SeConsideraIndigena">
                                 
                                    {!! $var->getView('Catalogos\VistasController@vCat_SeConsideraIndigena', ''); !!} 
                                
                                 </div>  
                            </div>    
                          </div>
  


                          <div class="col-sm-3 form-group form-group-sm">
                            <div class="input-group input-group-sm">
                             <span class="input-group-addon" id="sizing-addon3" style="background: #eee"> Migrante </span>
                               
                                 
                                    {!! $var->getView('Catalogos\VistasController@vCat_TipoMigrante', ''); !!} 
                             
                                 
                            </div>    
                          </div>


                       <div class="col-sm-3 hidden form-group form-group-sm" id="divPaisProc" name="divPaisProc"   >
                         <div class="input-group input-group-sm">
                          <span class="input-group-addon" id="sizing-addon3" style="background: #eee">País de Procedencia
                          </span>
                          <div id="edit_vCat_PaisProcedencia" name="edit_vCat_PaisProcedencia">
                          
                               {!! $var->getView('Catalogos\VistasController@vCat_Nacionalidad', ''); !!} 
                          </div>
                       
                         </div>  
                        </div>


                        <div class="col-sm-3 form-group form-group-sm">
                          <div class="input-group input-group-sm">
                           <span class="input-group-addon" id="sizing-addon3" style="background: #eee">¿Se considera Afromexicano? </span>
                              <div id="edit_vCat_Afromexicano" name="edit_vCat_Afromexicano">
                                {!! $var->getView('Catalogos\VistasController@vCat_Afromexicano', ''); !!} 
                               
                               </div>  
                          </div>    
                        </div> 

                            <div class="col-sm-3 form-group form-group-sm"></div>
                            <div class="col-sm-3 form-group form-group-sm"></div>

                        


                        
                        </div>


                        <div class="row alinear_centrado">                        

                          

                          

                        </div>
                        

                      </div>
                    </div>
                </div>


                <div class="box-body" id="domicPac" name="domicPac">
                    <div class="row alinear_centrado">
                      <div class="page-headerL" id="">Datos domiciliarios del paciente</div>
                      <div class="row margenSuperior">
                      
                      <div class="row alinear_centrado">

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Ent. Federativa</span>                          
                            {!! $var->getView('Catalogos\VistasController@vCat_Entidades',''); !!}
                          </div>
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Municipio</span>                          
                            <div id="Add_Ref_domicPac_divMpio" name="Add_Ref_domicPac_divMpio" style="width: 100%; ">
                              [Sel. Ent. Fed.]                          
                            </div>
                          </div>
                        </div>

                        <div class="col-sm-2">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Localidad</span>                          
                            <div id="Add_Ref_domicPac_divLoc" name="Add_Ref_domicPac_divLoc">[Sel. Municipio]</div>
                          </div>
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Codigo Postal</span>                          
                            <div id="Add_Ref_domicPac_divCP" name="Add_Ref_domicPac_divCP">[Sel. Municipio]</div>
                          </div>
                        </div>

                      </div>

                      <div class="row alinear_centrado">
                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Asentamiento</span>                          
                            <div id="Add_Ref_domicPac_divAsent" name="Add_Ref_domicPac_divAsent">[Sel. Localidad]</div>
                          </div>
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Tipo de Vialidad</span>                          
                            {!! $var->getView('Catalogos\VistasController@vCat_TipoVialidad',''); !!}
                          </div>
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Calle</span>                          
                            <input type="text" id="txtCalle" name="txtCalle" class="form-control" width="100%" height="100%" placeholder="[a-z 1-9]" title="Proporciona la calle del domicilio del usuario del servicio">
                          </div>
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Nº Exterior</span>
                            <input type="text" id="txtNExt" name="txtNExt" class="form-control" style="width: 100%; h" title="Proporciona el número exterior del domicilio del usuario del servicio" >
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Letra</span>
                            <input style="width: 50px; " class="form-control" id="txtNExtL" name="txtNExtL">                        
                          </div>                        
                        </div>
                      </div>

                      <div class="row alinear_centrado">
                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Nº Interior</span>
                            <input type="text" id="txtNInt" name="txtNInt" class="form-control" style="width: 100%; " title="Proporciona el número interior del domicilio del usuario del servicio" >
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Letra</span>
                            <input style="width: 50px; " class="form-control" id="txtNIntL" name="txtNIntL">                        
                          </div>                        
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Teléfono</span>                          
                            <input type="text" id="txtTelefono" name="txtTelefono" class="form-control" width="100%" height="100%" placeholder="[1-9]" title="Proporciona el teléfono del domicilio del usuario del servicio">
                          </div>
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee">Celular</span>                          
                            <input type="text" id="txtCelular" name="txtCelular" class="form-control" width="100%" height="100%" placeholder="[1-9]" title="Proporciona el celular personal del usuario del servicio">
                          </div>
                        </div>

                        <div class="col-sm-3">
                          <div class="input-group input-group-sm">
                            <span class="input-group-addon" id="sizing-addon3" style="background: #eee">E-mail</span>                          
                            <input type="email" id="txtEmail" name="txtEmail" class="form-control" width="100%" height="100%" placeholder="cuenta@hosting.com" title="Proporciona el correo electrónico personal del usuario del servicio">
                          </div>
                        </div> 
                      </div>



                      </div>
                    </div>
                </div>

                <div class="box-body" id="notaMedica" name="notaMedica">
                    <div class="row alinear_centrado">
                      <div class="page-headerL" id="">Nota M&eacute;dica</div>
                      <div class="row margenSuperior">

                      <div class="col-sm-10">
                        <div class="input-group">
                          <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Problema</span>                                                  
                          <textarea class="form-control" rows="5"  id="txtProblema" name="txtProblema" width="100%" height="100%" placeholder="[...]"></textarea>
                        </div>
                      </div>

                      <div class="col-sm-10 margenSuperior">
                        <div class="input-group">
                          <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Subjetivo&nbsp;</span>                                                  
                          <textarea class="form-control" rows="5"  id="txtSubjetivo" name="txtSubjetivo" width="100%" height="100%" placeholder="[...]"></textarea>
                        </div>
                      </div>  

                      <div class="col-sm-10 margenSuperior">
                        <div class="input-group">
                          <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>Objetivo&nbsp;&nbsp;</span>                                                  
                          <textarea class="form-control" rows="5"  id="txtObjetivo" name="txtObjetivo" width="100%" height="100%" placeholder="[...]"></textarea>
                        </div>
                      </div>  

                      <div class="col-sm-10 margenSuperior">
                        <div class="input-group">
                          <span class="input-group-addon" id="sizing-addon3" style="background: #eee"><span class="text-red">*</span>An&aacute;lisis&nbsp;&nbsp;&nbsp;</span>                                                  
                          <textarea class="form-control" rows="5"  id="txtAnalisis" name="txtAnalisis" width="100%" height="100%" placeholder="[...]"></textarea>
                        </div>
                      </div>  

                      </div>
                    </div>
                    <div class="row alinear_centrado" id="divCmdRegistrar_ref" name="divCmdRegistrar_ref">
                      <button type="button"  id="cmdRegistrar_ref" name="cmdRegistrar_ref" class="btn btn-primary btn-lg" title="Registrar la solicitud de referencia con los valores proporcionados"><span class="fa fa-floppy-o" aria-hidden="true"></span> Registrar</button>
                      
                      
                      
                    </div>
                </div>             

              <div id="addContainer" name="addContainer"></div>

            </div> <!-- fin de objAgregarReferencias -->