function esVacio(s)
{   return ((s == null) || (s.length == 0))
}

function estaEn(chequeo,digitos)
{
  for (i = 0;  i < chequeo.length;  i++)
  {
    ch = chequeo.charAt(i);
    ch2 = chequeo.charCodeAt(i);
    for (j = 0;  j < digitos.length;  j++)
    {
        if (ch == digitos.charAt(j))
        {
            correcto = true;
            break;
        }
        else
        {
            correcto = false;
        }
    }

    if (!correcto)
    {
        if (ch2 == 13)
            alert ('No Se Acepta el <Enter>');
        else
            alert ('El Siguiente Caracter no es Valido:'+ch);
        return (false);
    }
  }
  return (true);
}

