NEW YORK — U.S. stock indexes are little changed in midday trading as a three-day rally peters out.

The Dow Jones industrial average was down 13 points, or 0.1 percent, at 15,010 shortly before noon Eastern Daylight Time Friday.

The Standard & Poor's 500 was down less than a point at 1,613. The Nasdaq edged up five points, or 0.2 percent, at 3,395.

Indexes were moving between small gains and losses on the last trading day of June.

BlackBerry maker Research In Motion plunged 25 percent to $10.86. The company posted a loss and warned of future losses despite releasing make-or-break smartphones this year.

The S&P 500 index is heading for its first monthly loss since October. It's still on track for its best first half of a year performance since 1998.