LOS ANGELES -- When San Francisco's Omar Vizquel hits a home run, he's always surprised. It happened for just the 68th time in his 2,222nd career game Thursday night.
Vizquel's three-run homer in the seventh drove in the go-ahead runs, and the San Francisco Giants took advantage of the early ejection of Los Angeles starter Brad Penny to beat the Dodgers 4-3 for the 10,000th victory in franchise history.
Meanwhile, Giants slugger Barry Bonds told MLB.com that he doesn't know if he's going to play this season.
Bonds, who hasn't played this year because of knee problems, wasn't with the team. He returned to his Beverly Hills home in late June to continue rehabilitation.
Bonds, who has 703 lifetime homers to rank third on baseball's all-time list, spoke with MLB.com by telephone.
"He's progressing, but there's not a lot to report," assistant general manager Ned Colletti said before the game. "He's showing signs of progress, but there's no timetable for baseball work to start and there's no timetable for a return. He's just slowly getting better."
Vizquel hit an 0-2 pitch from D.J. Houlton (4-3) off the screen attached to the right-field pole for his second homer of the season, giving the Giants a 4-1 lead.
"I felt pretty sluggish today, really slow," Vizquel said. "It was kind of like playing in slow motion. That at-bat, I said, `Wake up, do something.' I got a pitch to hit, and there it goes.
"Every time I hit a home run is by mistake."
Penny was ejected in the third inning by plate umpire Rob Drake after tossing his helmet in protest of a call at first base.
"He was throwing pretty hard, the fastball was jumping out of his hand," Vizquel said. "It obviously made an impact on their team."
Jason Schmidt (7-5) pitched six solid innings to snap a two-game losing streak. Tyler Walker, the fourth Giants pitcher, worked the ninth for his 14th save in 16 chances.
San Francisco's three seventh-inning runs were unearned thanks to the second error of the game by Jeff Kent, normally a second baseman but playing first to take pressure off his sore left hamstring.
Jason Ellison reached base with one out when Kent couldn't handle a throw from Houlton, and pinch-hitter Adam Shabala followed with a single. Houlton retired Michael Tucker before Vizquel came through.
The loss was the fifth straight and 12th in 17 games for the Dodgers, who fell a season-worst nine games below .500 (40-49).
The Dodgers scored twice off Scott Munter in their half on a run-scoring infield out by Mike Edwards and a two-out, RBI double by Jason Phillips. LaTroy Hawkins, who allowed the hit by Phillips, walked Antonio Perez intentionally to load the bases before striking out Jayson Werth to end the inning.
The Dodgers scored in the fourth when Perez hit a two-out single, stole second, took third on a wild pitch and scored on a single by Jason Grabowski.
The Giants tied it in the sixth on two-out singles by J.T. Snow, Moises Alou and Ray Durham.
Penny tried to sacrifice with a runner at first and nobody out in the third. Schmidt tried for the force at second, but the throw was wide and Jason Repko was called safe. Penny beat shortstop Vizquel's low relay to first, but was called out by umpire Alfonso Marquez for turning toward second.
Penny protested before returning to the dugout, and tossed his helmet as he approached the third-base line, prompting Drake to immediately eject him. Penny then had to be held back by third base coach Jim Lett and bench coach Glenn Hoffman before leaving the field.
Penny allowed one hit in three scoreless innings.
"I guess you can't have a conversation with an umpire anymore. Him, you can't talk to," Penny said regarding Drake. "Other umpires, you can.
"He said he didn't throw me out because of the helmet, but that's the only thing it could have been. He said it wasn't because of what I said, but I didn't say anything derogatory towards anybody. I shouldn't get tossed in that situation."
Schmidt was lifted for a pinch hitter after allowing four hits and one run. He walked four, struck out seven and threw 112 pitches.
The Giants, who began play as the New York Gothams in 1889, have a 10,000-8,511 record. They became the first major league team to reach 10,000 wins. ... Perez had three hits and two stolen bases. ... The Dodgers recalled RHP Steve Schmoll from Triple-A Las Vegas before the game. Schmoll retired the Giants in order in the eighth. ... Shabala was recalled from Triple-A Fresno before the game. ... Dodgers manager Jim Tracy said that All-Star SS Cesar Izturis, sidelined since June 30 because of a strained right hamstring, will be activated Friday. ... Dodgers OF Milton Bradley, sidelined since May 30 because of a torn ligament in his right ring finger, begins a rehab assignment Friday night in Las Vegas.