<?php
session_start();

include("sigesp_saf_c_activo.php");
$objsaf = new sigesp_saf_c_activo();
$objsaf->io_conexiones->decodificar_post();
$datos = $objsaf->io_conexiones->asignar_post();
$objsaf->ajax=1;
switch($datos['criterio']){
		
		case 'FormOrigen':
			$param['criterio']='por_codigo';
			$param['codforadq']=$datos['codforadq'];
			$rsadq = $objsaf->ConsultaFormaAdq($param);
			if($rsadq===false){exit();}
			$datos['claforadq'] = $rsadq->fields['claforadq'];
			$objsaf->DatosOrigen['ori_claforadq'] = $datos['claforadq'];
			break;
		
		case 'DatosOrigen':
						
			$rs = $objsaf->ObtenerDatosOrigen($datos);
			if($rs===false){exit();}
			
			
			if(!$rs->RecordCount()){
				$param['criterio']='por_codigo';
				$param['codforadq']=$datos['codforadq'];
				$rsadq = $objsaf->ConsultaFormaAdq($param);
				if($rsadq===false){exit();}
				$datos['claforadq'] = $rsadq->fields['claforadq'];
				$objsaf->DatosOrigen['ori_claforadq'] = $datos['claforadq'];
				$mensaje = 'No se encontrón un origen con ese número ';
				$objsaf->io_conexiones->mensajes_ajax($mensaje);
			}
			else{$objsaf->FormatDatosPresentOrigenAdq(); $datos['claforadq'] = $objsaf->DatosOrigen['ori_claforadq'];}
			
			break;
}


?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/general.css" rel="stylesheet" type="text/css">
<link href="../shared/css/tablas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/catalogos.css" rel="stylesheet" type="text/css">
<?php 
	switch($datos['claforadq']){
	       case 'A':
		   		?>
						
                        <style type="text/css">
						<!--
						.Estilo1 {color: #000066}
						-->
                        </style>
                        <table width="669" border="0" align="center" cellpadding="0" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">A.- Concurso Abierto o Concurso Cerrado</td>
                       </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" style="text-align:center" id="ori_claforadq" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Concurso:</div></td>
                          <td align="left" div><input name="ori_denconc" type="text" id="ori_denconc" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_denconc']; ?>" size="75" maxlength="255"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">N&uacute;mero del Concurso:</div></td>
                          <td align="left" div><input name="ori_nroconc" type="text" id="ori_nroconc" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nroconc']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Fecha del concurso:</div></td>
                          <td align="left" div><input name="ori_fecconc" type="text" class="fecha_centro" id="ori_fecconc"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecconc']; ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                          <input name="reset3" type="reset" onClick="return showCalendar('ori_fecconc', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">C&oacute;digo del Proveedor</td>
                          <td align="left" div><input name="ori_codprov" type="text" id="ori_codprov" value="<?php echo $objsaf->DatosOrigen['ori_codprov']; ?>" size="18" style="text-align:center " readonly>
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarCatalogo('Proveedor_Origen')">
                            <input name="ori_nomprov" type="text" class="sin-borde" id="ori_nomprov" size="35" value="<?php echo $objsaf->DatosOrigen['ori_nomprov']; ?>" readonly></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">N&uacute;mero del Contrato</td>
                          <td align="left" div><input name="ori_nrocontconc" type="text" id="ori_nrocontconc" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrocontconc']; ?>" size="40" maxlength="30"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha del Contrato</td>
                          <td align="left" div><input name="ori_feccontconc" type="text" class="fecha_centro" id="ori_feccontconc"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_feccontconc'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                              <input name="reset4" type="reset" onClick="return showCalendar('ori_feccontconc', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Numero de la Nota de Entrega</td>
                          <td align="left" div><input name="ori_nronotentconc" type="text" id="ori_nronotentconc" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nronotentconc']; ?>" size="40" maxlength="30"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de la Nota de Entrega</td>
                          <td align="left" div><input name="ori_fecnotentconc" type="text" class="fecha_centro" id="ori_fecnotentconc"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecnotentconc'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                          <input name="reset5" type="reset" onClick="return showCalendar('ori_fecnotentconc', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">N&uacute;mero de la Factura</td>
                          <td align="left" div><input name="ori_nrofact" type="text" id="ori_nrofact" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrofact']; ?>" size="40" maxlength="30"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de la Factura</td>
                          <td align="left" div><input name="ori_fecfact" type="text" class="fecha_centro" id="ori_fecfact"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecfact'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                              <input name="reset6" type="reset" onClick="return showCalendar('ori_fecfact', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                        
						<?php
		   
		   		break;
		   
		   case 'B':
		   		?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">B.- Compra Directa (Consulta de Precios)</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22" align="right">C&oacute;digo del Proveedor:</td>
                          <td align="left" div><input name="ori_codprov" type="text" id="ori_codprov" value="<?php echo $objsaf->DatosOrigen['ori_codprov']; ?>" size="18" style="text-align:center " readonly>
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarCatalogo('Proveedor_Origen')">
                            <input name="ori_nomprov" type="text" class="sin-borde" id="ori_nomprov" size="35" value="<?php echo $objsaf->DatosOrigen['ori_nomprov']; ?>" readonly></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">N&uacute;mero de la Orden de Compra:</td>
                          <td align="left" div><input name="ori_numordcomp" type="text" id="ori_numordcomp" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_numordcomp']; ?>" size="40" maxlength="30"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de la Orden de Compra:</td>
                          <td align="left" div><input name="ori_fecordcomp" type="text" class="fecha_centro" id="ori_fecordcomp"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_feccontconc'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                              <input name="reset4" type="reset" onClick="return showCalendar('ori_fecordcomp', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Numero de la Nota de Entrega:</td>
                          <td align="left" div><input name="ori_nronotentconc" type="text" id="ori_nronotentconc" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nronotentconc']; ?>" size="40" maxlength="30"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de la Nota de Entrega:</td>
                          <td align="left" div><input name="ori_fecnotentconc" type="text" class="fecha_centro" id="ori_fecnotentconc"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecnotentconc'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                              <input name="reset5" type="reset" onClick="return showCalendar('ori_fecconc', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">N&uacute;mero de la Factura:</td>
                          <td align="left" div><input name="ori_nrofact" type="text" id="ori_nrofact" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrofact']; ?>" size="40" maxlength="30"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de la Factura:</td>
                          <td align="left" div><input name="ori_fecfact" type="text" class="fecha_centro" id="ori_fecfact"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecfact'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                              <input name="reset6" type="reset" onClick="return showCalendar('ori_fecfact', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                        
						<?php
		   
		   		break;
		   	
		   case 'C':
						?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">C.- Confiscación</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nomb. Propietario Anterior:</div></td>
                          <td align="left" div><input name="ori_nompropant" type="text" id="ori_nompropant" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nompropant']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Beneficiario:</div></td>
                          <td align="left" div><input name="ori_nomben" type="text" id="ori_nomben" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomben']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre de la Autoridad:</div></td>
                          <td align="left" div><input name="ori_nomautor" type="text" id="ori_nomautor" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomautor']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nro de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_nrosentactcont" type="text" id="ori_nrosentactcont" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrosentactcont']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_fecsentactcont" type="text" class="fecha_centro" id="ori_fecsentactcont"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecsentactcont'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset1" type="reset" onClick="return showCalendar('ori_fecsentactcont', '%d/%m/%Y');" value=" ... " /></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nombre del Registro o Notar&iacute;a:</td>
                          <td align="left" div><input name="ori_nomreg" type="text" id="ori_nomreg" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomreg']; ?>" size="60" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Tomo:</td>
                          <td align="left" div><input name="ori_tomo" type="text" id="ori_tomo" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_tomo']; ?>" size="30" maxlength="20"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Folio:</td>
                          <td align="left" div><input name="ori_folio" type="text" id="ori_folio" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_folio']; ?>" size="10" maxlength="6"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Registro:</td>
                          <td align="left" div><input name="ori_fecreg" type="text" class="fecha_centro" id="ori_fecreg"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecreg'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset2" type="reset" onClick="return showCalendar('ori_fecreg', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                          
						<?php
       				break; 
		   
		   case 'D':
						?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">D.- Dación en Pago</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Cedente:</div></td>
                          <td align="left" div><input name="ori_nomceddac" type="text" id="ori_nomceddac" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomceddac']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Beneficiario:</div></td>
                          <td align="left" div><input name="ori_nomben" type="text" id="ori_nomben" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomben']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">N&uacute;mero de Finiquito:</td>
                          <td align="left" div><input name="ori_nrosentactcont" type="text" id="ori_nrosentactcont" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrosentactcont']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Finiquito:</td>
                          <td align="left" div><input name="ori_fecsentactcont" type="text" class="fecha_centro" id="ori_fecsentactcont"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecsentactcont'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset1" type="reset" onClick="return showCalendar('ori_fecsentactcont', '%d/%m/%Y');" value=" ... " /></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nombre del Registro o Notar&iacute;a:</td>
                          <td align="left" div><input name="ori_nomreg" type="text" id="ori_nomreg" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomreg']; ?>" size="60" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Tomo:</td>
                          <td align="left" div><input name="ori_tomo" type="text" id="ori_tomo" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_tomo']; ?>" size="30" maxlength="20"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Folio:</td>
                          <td align="left" div><input name="ori_folio" type="text" id="ori_folio" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_folio']; ?>" size="10" maxlength="6"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Registro:</td>
                          <td align="left" div><input name="ori_fecreg" type="text" class="fecha_centro" id="ori_fecreg"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecreg'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset2" type="reset" onClick="return showCalendar('ori_fecreg', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                          
						<?php
       				break; 
		   
		   
		   case 'E':
						?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">E.- Donación</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Donante:</div></td>
                          <td align="left" div><input name="ori_nomdon" type="text" id="ori_nomdon" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomdon']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Beneficiario (Donatario):</div></td>
                          <td align="left" div><input name="ori_nomben" type="text" id="ori_nomben" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomben']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">N&uacute;mero del Contrato o Acta:</td>
                          <td align="left" div><input name="ori_nrosentactcont" type="text" id="ori_nrosentactcont" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrosentactcont']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Fecha del Contrato o Acta:</td>
                          <td align="left" div><input name="ori_fecsentactcont" type="text" class="fecha_centro" id="ori_fecsentactcont"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecsentactcont'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset1" type="reset" onClick="return showCalendar('ori_fecsentactcont', '%d/%m/%Y');" value=" ... " /></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nombre del Registro o Notar&iacute;a:</td>
                          <td align="left" div><input name="ori_nomreg" type="text" id="ori_nomreg" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomreg']; ?>" size="60" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Tomo:</td>
                          <td align="left" div><input name="ori_tomo" type="text" id="ori_tomo" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_tomo']; ?>" size="30" maxlength="20"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Folio:</td>
                          <td align="left" div><input name="ori_folio" type="text" id="ori_folio" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_folio']; ?>" size="10" maxlength="6"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Registro:</td>
                          <td align="left" div><input name="ori_fecreg" type="text" class="fecha_centro" id="ori_fecreg"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecreg'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset2" type="reset" onClick="return showCalendar('ori_fecreg', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                          
						<?php
       				break; 
		   
		    case 'F':
						?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">F.- Expropiación</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nomb. Propietario Anterior:</div></td>
                          <td align="left" div><input name="ori_nompropant" type="text" id="ori_nompropant" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nompropant']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Beneficiario:</div></td>
                          <td align="left" div><input name="ori_nomben" type="text" id="ori_nomben" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomben']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre de la Autoridad:</div></td>
                          <td align="left" div><input name="ori_nomautor" type="text" id="ori_nomautor" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomautor']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nro de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_nrosentactcont" type="text" id="ori_nrosentactcont" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrosentactcont']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_fecsentactcont" type="text" class="fecha_centro" id="ori_fecsentactcont"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecsentactcont'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset1" type="reset" onClick="return showCalendar('ori_fecsentactcont', '%d/%m/%Y');" value=" ... " /></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nombre del Registro o Notar&iacute;a:</td>
                          <td align="left" div><input name="ori_nomreg" type="text" id="ori_nomreg" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomreg']; ?>" size="60" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Tomo:</td>
                          <td align="left" div><input name="ori_tomo" type="text" id="ori_tomo" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_tomo']; ?>" size="30" maxlength="20"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Folio:</td>
                          <td align="left" div><input name="ori_folio" type="text" id="ori_folio" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_folio']; ?>" size="10" maxlength="6"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Registro:</td>
                          <td align="left" div><input name="ori_fecreg" type="text" class="fecha_centro" id="ori_fecreg"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecreg'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset2" type="reset" onClick="return showCalendar('ori_fecreg', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                          
						<?php
       				break; 
		   
		   
		   case 'G':
						?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">G.- Licitaci&oacute;n</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Copermutante:</div></td>
                          <td align="left" div><input name="ori_nomcopper" type="text" id="ori_nomcopper" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomcopper']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Benificiario (Aceptante):</div></td>
                          <td align="left" div><input name="ori_nomben" type="text" id="ori_nomben" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomben']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" valign="top"><div align="right">Nombre de la Licitaci&oacute;n:</div></td>
                          <td align="left" div><textarea name="ori_nomlicit"  cols="71" rows="3" id="ori_nomlicit" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');"><?php echo $objsaf->DatosOrigen['ori_nomlicit']; ?></textarea></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Nro de Licitaci&oacute;n:</td>
                          <td align="left" div><input name="ori_nrolict" type="text" id="ori_nrolict" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrolict']; ?>" size="40" maxlength="30"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Licitaci&oacute;n:</td>
                          <td align="left" div><input name="ori_feclicit" type="text" class="fecha_centro" id="ori_feclicit"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_feclicit'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset7" type="reset" onClick="return showCalendar('ori_feclicit', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        
                        <tr>
                          <td height="22" align="right">Nro de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_nrosentactcont" type="text" id="ori_nrosentactcont" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrosentactcont']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_fecsentactcont" type="text" class="fecha_centro" id="ori_fecsentactcont"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecsentactcont'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset1" type="reset" onClick="return showCalendar('ori_fecsentactcont', '%d/%m/%Y');" value=" ... " /></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nombre del Registro o Notar&iacute;a:</td>
                          <td align="left" div><input name="ori_nomreg" type="text" id="ori_nomreg" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomreg']; ?>" size="60" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Tomo:</td>
                          <td align="left" div><input name="ori_tomo" type="text" id="ori_tomo" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_tomo']; ?>" size="30" maxlength="20"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Folio:</td>
                          <td align="left" div><input name="ori_folio" type="text" id="ori_folio" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_folio']; ?>" size="10" maxlength="6"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Registro:</td>
                          <td align="left" div><input name="ori_fecreg" type="text" class="fecha_centro" id="ori_fecreg"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecreg'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset2" type="reset" onClick="return showCalendar('ori_fecreg', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                          
						<?php
       				break; 
		   
		    case 'H':
						?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">H.- Transferencia</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre de quien transfiere:</div></td>
                          <td align="left" div><input name="ori_nompertrans" type="text" id="ori_nompertrans" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nompertrans']; ?>" size="75" maxlength="200"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Benificiario (quien recibe):</div></td>
                          <td align="left" div><input name="ori_nombenrecibtrans" type="text" id="ori_nombenrecibtrans" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nombenrecibtrans']; ?>" size="75" maxlength="200"></td>
                          </tr>                        
                        <tr>
                          <td height="22" align="right">Número de la Autorización:</td>
                          <td align="left" div><input name="ori_nrosentactcont" type="text" id="ori_nrosentactcont" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrosentactcont']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Fecha de la Autorización:</td>
                          <td align="left" div><input name="ori_fecsentactcont" type="text" class="fecha_centro" id="ori_fecsentactcont"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecsentactcont'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset1" type="reset" onClick="return showCalendar('ori_fecsentactcont', '%d/%m/%Y');" value=" ... " /></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nombre del Registro o Notar&iacute;a:</td>
                          <td align="left" div><input name="ori_nomreg" type="text" id="ori_nomreg" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomreg']; ?>" size="60" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Tomo:</td>
                          <td align="left" div><input name="ori_tomo" type="text" id="ori_tomo" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_tomo']; ?>" size="30" maxlength="20"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Folio:</td>
                          <td align="left" div><input name="ori_folio" type="text" id="ori_folio" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_folio']; ?>" size="10" maxlength="6"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Registro:</td>
                          <td align="left" div><input name="ori_fecreg" type="text" class="fecha_centro" id="ori_fecreg"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecreg'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset2" type="reset" onClick="return showCalendar('ori_fecreg', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                          
						<?php
       				break; 
		     
		   case 'I':
						?>
						
                        <table width="669" border="0" align="center" cellpadding="1" cellspacing="0" class="formato-blanco">
                        <tr>
                          <td height="24" colspan="2" align="center" class="formato-azul Estilo1">I.- Adjudicaci&oacute;n</td>
                          </tr>
                        <tr>
                          <td width="213" height="24"><div align="right">N&deg; de Origen:</div></td>
                          <td width="450" align="left" div>
                            <input name="ori_claforadq" type="text" id="ori_claforadq"  style="text-align:center" onKeyPress="return keyRestrict(event,'ABCDEFGHIJKLMNOPQRSTUVWXYZ');" value="<?php echo $objsaf->DatosOrigen['ori_claforadq']; ?>" readonly size="2" maxlength="1"> 
                            - 
                            <input type="text" name="ori_codori" id="ori_codori"  style="text-align:center"maxlength="10" value="<?php echo $objsaf->DatosOrigen['ori_codori']; ?>" onKeyPress="return keyRestrict(event,'1234567890');">
                            <img src="../shared/imagebank/tools15/buscar.gif" alt="Buscar" style="cursor:pointer" width="15" height="15" border="0" onClick="ObjForm.BuscarOrigen()"> </td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nomb. Propietario Anterior:</div></td>
                          <td align="left" div><input name="ori_nompropant" type="text" id="ori_nompropant" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nompropant']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre del Beneficiario:</div></td>
                          <td align="left" div><input name="ori_nomben" type="text" id="ori_nomben" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomben']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22"><div align="right">Nombre de la Autoridad:</div></td>
                          <td align="left" div><input name="ori_nomautor" type="text" id="ori_nomautor" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomautor']; ?>" size="75" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nro de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_nrosentactcont" type="text" id="ori_nrosentactcont" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nrosentactcont']; ?>" size="40" maxlength="30"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Sentencia o Acto Administrativo:</td>
                          <td align="left" div><input name="ori_fecsentactcont" type="text" class="fecha_centro" id="ori_fecsentactcont"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecsentactcont'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset1" type="reset" onClick="return showCalendar('ori_fecsentactcont', '%d/%m/%Y');" value=" ... " /></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Nombre del Registro o Notar&iacute;a:</td>
                          <td align="left" div><input name="ori_nomreg" type="text" id="ori_nomreg" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_nomreg']; ?>" size="60" maxlength="100"></td>
                          </tr>
                        <tr>
                          <td height="22" align="right">Tomo:</td>
                          <td align="left" div><input name="ori_tomo" type="text" id="ori_tomo" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_tomo']; ?>" size="30" maxlength="20"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Folio:</td>
                          <td align="left" div><input name="ori_folio" type="text" id="ori_folio" onKeyPress="return keyRestrict(event,'1234567890'+'abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ&Ntilde;@#/-&deg;');" value="<?php echo $objsaf->DatosOrigen['ori_folio']; ?>" size="10" maxlength="6"></td>
                        </tr>
                        <tr>
                          <td height="22" align="right">Fecha de Registro:</td>
                          <td align="left" div><input name="ori_fecreg" type="text" class="fecha_centro" id="ori_fecreg"  style="text-align:center " value="<?php echo $objsaf->DatosOrigen['ori_fecreg'] ?>"  size="15" maxlength="10" onKeyPress="ue_separadores(this,'/',patron,true);" >
                            <input name="reset2" type="reset" onClick="return showCalendar('ori_fecreg', '%d/%m/%Y');" value=" ... " /></td>
                        </tr>
                        </table>                                         
						<?php
       				break; 
	  
	  
	  ?>  
<?php 
 }
?>
