Sounds like the alternator, your engine died because there was not enough juice to power electric gas pump and after that the battery recovered some charge by itself wich means yout battery is good, after that you jump started it puting some charge into it until it died again, test your alternator 4 free @ most local auto parts stores.
SPONSORED LINKS
Tuesday, January 6th, 2009 AT 8:47 AM