The Chaotic Orbits of Asteroids and Earth