A Variation of the Mountain Pass Lemma and Applications