Hamiltonian systems, homoclinic orbits, variational methods.