A compound of Formula (I) or an enantiomer, diastereomer or a
pharmaceutically-acceptable salt thereof, wherein A is independently
selected from: further wherein R.sup.1, R.sup.2, R.sup.3, R.sup.4,
R.sup.5, R.sup.6, R.sup.7, and W are as described herein. Also disclosed
is a compound of Formula (II) or 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 is independently
selected from: further wherein 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.