NEW YORK (July 12, 2013)--A last-minute turnaround left the stock market with small gains Friday, enough that major U.S. indexes closed at all-time highs.
The Dow Jones industrial average eked out a gain of three points, just 0.02 percent, to close at 15,464 Friday, a record high.
The Dow was in the red for most of the afternoon because of a sharp drop in Boeing after a fire broke out in a 787 Dreamliner that was parked in London.
The Standard & Poor's 500 rose five points, or 0.3 percent, to end at 1,680, a record high, as well.
The Nasdaq rose 21, or 0.6 percent, to end at 3,600.
UPS sank 6 percent after cutting its earnings forecast as customers chose cheaper shipping options.
Banks rose after Wells Fargo and JPMorgan beat earnings forecasts.