how to substitute missing font illustrator cs5

Does anyone know how I could automate font substitution of missing fonts?