Title: Analysis of resonances in the spin-orbit problem in celestial mechanics