A Mountain Pass Theorem For A Suitable Class Of Functions