The gravitational pull on the space shuttle will be greatest from the earth when it is close to the earth and from the moon when it is close to the moon, but I think that half way between the two the earth will still have the greater gravitational pull since it has a much larger mass of the two bodies.