//VALIDACION SOLO NUMEROS
			function numeros(e1) { 
    tecla = (document.all) ? e1.keyCode : e1.which; 
    if (tecla==8) return true; //Tecla de retroceso (para poder borrar) 
    patron =/[0-9]/; // Solo acepta numeros
    te1 = String.fromCharCode(tecla); 
    return patron.test(te1);  
} 
//VALIDACION SOLO LETRAS
function letras(e2) { 
    tecla = (document.all) ? e2.keyCode : e2.which; 
    if (tecla==8) return true; //Tecla de retroceso (para poder borrar) 
    patron =/[a-z A-Z]/; // Solo acepta letras 
    te2 = String.fromCharCode(tecla); 
    return patron.test(te2);  
}  