Jhoulys Chacin was one strike away from his first win in six weeks. Two late homers left him with another no-decision.

Pinch-hitter John Mayberry Jr. hit a game-tying two-run homer off closer Huston Street in the ninth inning and Shane Victorino homered to lead off the 10th as the Philadelphia Phillies overtook the Colorado Rockies 4-3 on Monday night.

"They're 30 games over .500 for a reason, and we just saw it," Rockies manager Jim Tracy said. "We were a pitch away from winning and we end up getting beat in the game by two pitches. Mayberry had a very, very good at-bat against Huston. He hung a slider and he hit it out."

It was the second straight tough loss a team that came into the season with World Series aspirations. They blew an eighth-inning lead in San Diego on Sunday, a day after they traded ace Ubaldo Jimenez to the Cleveland Indians.

With Jimenez gone Chacin pitched like he wanted the job of No. 1 starter. He gave up one run and six hits in 7 1-3 innings, struck out two and walked two before leaving with a 3-1 lead.

Chacin was in line for his first win since June 15 when the Phillies rallied against Street. Carlos Ruiz hit a two-out double and Mayberry pinch-hit for reliever Michael Stutes.

Street threw nothing but sliders, and on the eighth one Mayberry hit a 3-2 pitch into the bleachers in left to tie the game.

"It was a situation where he saw a lot of pitches and saw a lot of the same pitches," catcher Chris Iannetta said. "I'm as much to blame as anyone. Going through my head was every scenario that we could have possibly thrown him right there and it just kept coming down to if we were going to get beat with his best pitch. The slider is his best pitch. We just got beat. Hindsight, I would have loved to have done 10,000 different things but you can't get it back. It happened."

Chacin wasn't upset about coming away with his fourth no-decision in his last eight starts.

"It's frustrating more for the team," he said. "I wanted to give us a chance to win the game."

Rex Brothers (1-2) came on to pitch the 10th and Victorino greeted him with a drive that cleared the wall in left for the Phillies' 29th come-from-behind victory this season.

"Rex Brothers threw a couple of very good pitches to Victorino, some very close pitches, and he caught up with a 3-2 fastball," Tracy said. "That's the difference in the game."

Colorado broke on top on Seth Smith's ninth homer of the season. With Ty Wigginton at second after a single and a stolen base, Smith drove Cole Hamels' 2-1 offering into the stand of evergreen trees beyond the fence in center field.

Iannetta added a solo shot leading off the seventh, greeting Stutes with a drive that reached the bleachers in left-center for his 11th home run.

Philadelphia got on the board in the seventh on Raul Ibanez's run-scoring double after missing earlier opportunities.

Victorino tried to score from first on Chase Utley's two-out double off the right field wall in the third but he was cut down on a close play at the plate when Iannetta's sweeping tag snagged his upper jersey before the sliding Victorino could touch the bag.

The Rockies had chances of their own. They loaded the bases with one out in the fifth but couldn't capitalize despite having their Nos. 3-4 hitters at the plate.

"We had bases loaded with a chance to open the game up a little bit and we went strikeout-strikeout," Tracy said.

Notes: Smith's homer was his 42nd extra-base hit of the season, second on the club to Troy Tulowitizki's 49. ... Rockies OF Carlos Gonzalez took a round of batting practice before the game for the first time since going on the 15-day DL July 22 with a right wrist strain.