The absorption spectrum of the Ag2 molecule