Marcus Thames tripled in the go-ahead run during a four-run seventh inning and the Los Angeles Dodgers defeated the San Francisco Giants 7-5 Sunday night, taking three of four from the defending World Series champions.