A compound of Formula (I) ##STR00001## an enantiomer, diastereomer or a
pharmaceutically-acceptable salt thereof, wherein A is as described
herein. Also disclosed is a compound of Formula (II) ##STR00002## an
enantiomer, diastereomer, or a pharmaceutically-acceptable salt thereof,
wherein each of G, X and Y are independently CH or N, wherein at each
occurrence at least one of G, X or Y is N and the other two of G, X or Y
are CH; and B, R.sup.1, R.sup.2, R.sup.3, R.sup.4, R.sup.5, R.sup.8,
R.sup.9 and Z are as described herein. Also disclosed are pharmaceutical
compositions containing compounds of Formula (I) and Formula (II), and
methods of treating conditions associated with the activity of p38
kinase.