Generalized Heegner Cycles, Shimura Curves, And Special Values Of P-Adic L-Functions.