Some variational theorems of mixed type and elliptic problems with jumping nonlinearities