What effect does the value of gravitational attraction have on the motion of a spring? Why does it not affect the period of the spring?