James Loney's home run leading off the 11th inning carried the Dodgers to an 8-7 win over the Diamondbacks Friday night and into a tie for first place.