Headlight problems

:
Mazda, Protege5
I have been having a problem with my headlights recently. They keep burning out. In the past four months I have gone through 8 or 9 bulbs. The last time I replaced both and they barely lasted a tank of gas. I think that it may be the alternator but can any one confirm that it is the alternator or some other problem?
 
Back