		var xmlDoc = null;		
		
        var letters=' ABCDEFGHIJKLMNÑOPQRSTUVWXYZabcdefghijklmnñopqrstuvwxyz\'-';
        var onlyLetters=' ABCDEFGHIJKLMNÑOPQRSTUVWXYZabcdefghijklmnñopqrstuvwxyz';
        var numbers='1234567890';
        var signs=',.\\#-/()&_';
        var mathsigns='+-=()*/';
        var custom='<>#$%&?ż';
        //uso = onkeypress="alpha(event,numbers+letters+signs)" 

        function alpha(e,allow) {
        var k;
        k=document.all?parseInt(e.keyCode): parseInt(e.which);
        return (allow.indexOf(String.fromCharCode(k))!=-1);
        }
		
        function validar(e) {
       tecla=(document.all) ? e.keyCode : e.which;
       if((tecla<48 || tecla>57) && (tecla>31) && (tecla!=127))
       {
       if(tecla!=8)
        {
    	 return false;
        }
    
      }   
     }

    function imprimirPagina() {
          if (window.print)
              window.print();
          else
              alert("Lo Sentimos su navegador no soporta Impresion desde la web" +
              " desde la web. Actualize su Browser o  Ir al Menu File>Imprimir");
       }
 
		jQuery(function($){
		   
		   $("#txtFechanacSolicitante").mask("99/99/9999");	
		   //$("#txtidentificacionSolicitante").mask("999-9999999-9");
		   $("#txtTelContactoSolicitante").mask("999-999-9999");
		   $("#txtCelular").mask("999-999-9999");
		   $("#txtFaxSolicitante").mask("999-999-9999");
		   
		   $("#txtTelefonoEmpresa").mask("999-999-9999");
		   $("#txtFaxEmpresa").mask("999-999-9999");
		   
		   $("#txtFechaInicioEmpresa").mask("99/99/9999");	
		  // $("#txtidentificacionEmpresa").mask("999-9999999-9");
		   
		   $("#txtfechanacNegocio1").mask("99/99/9999");
		   $("#txtfechanacnegocio2").mask("99/99/9999");	
		   $("#txtfechanacnegocio3").mask("99/99/9999");
		  
		   $("#txtcedulasolicitante").mask("999-9999999-9");
		   $("#txtcedulaempresa").mask("999-9999999-9");
		   $("#txtcedulaempresanegocio1").mask("999-9999999-9");
		   $("#txtcedulaempresanegocio2").mask("999-9999999-9");
		   $("#txtcedulaempresanegocio3").mask("999-9999999-9");	
		   
		   
		   
		   
		   //$("#tin").mask("99-9999999");
		   //$("#ssn").mask("999-99-9999");
		});

