DETROIT (AP) The San Jose Sharks are trying to play their way into a playoff berth. Meanwhile, Detroit seems on the verge of falling out of one.
Patrick Marleau scored twice and Antti Niemi made 30 saves to help the Sharks top the Red Wings 6-4 on Thursday night.
Marc-Edouard Vlasic, Matt Nieto, Chris Tierney and Logan Couture also had goals for San Jose, which ended a two-game skid.
''I told the players this morning we can't expect to win 7-6 or 6-5,'' Sharks coach Todd McLellan said. ''That shows how wrong I can be.''
Detroit got goals from Tomas Jurco, Tomas Tatar, Stephen Weiss and Justin Abdelkader as it dropped its second straight at home. Jimmy Howard made seven saves, but allowed three goals in the first before being pulled for backup Petr Mrazek.
The Red Wings have allowed five or more goals in each of their last two games.
''We'll give Pete Mrazek an opportunity here. He'll get the start next game,'' coach Mike Babcock said after his team maintained a five-point lead on Ottawa for third place in the Atlantic Division
''We've given up a lot of goals at home and that's not how we want to play. That's not Red Wing-like.''
Mrazek made 17 saves in relief of Howard.
The Sharks got the game's first goal 19 seconds in after Melker Karlsson stole the puck deep in the Detroit zone and got it to Vlasic, who beat Howard with a one-timer from just inside the blue line.
Nieto made it a two-goal lead midway through the period when his shot nicked the right goal post before going in - but the advantage lasted just 40 seconds. Jurco knocked the puck home on his third swipe in front of Niemi to cut the deficit at the 10:04 mark and Tatar tied it a few minutes later when he redirected Danny DeKeyser's shot past the Sharks goalie.
Tierney gave the Sharks the lead for good late in the period with a wrap-around past Howard, who surrendered three goals on the first nine shots he faced on his 31st birthday.
After a scoreless second, the teams took turns scoring in the third. Couture scored 31 seconds into the period after his wrist shot banked in off a post and Weiss added a rebound goal three minutes later. Marleau's wrist shot made it a 5-3 lead at 4:56 of the period, but Detroit's Abdelkader cut the advantage to a goal a few minutes later with a rebound marker of his own.
The Red Wings had a power play midway through the third, but could not manage a shot on Niemi.
Marleau closed the scoring with an empty-net goal. The Red Wings heard a smattering of boos from the fans who stuck around for the final horn. They didn't lose ground to Ottawa because the Senators fell 5-1 on Thursday to the visiting New York Rangers.
The Sharks still have a lot of work - and need some help - in their quest for a wild-card spot in the Western Conference.
''Right now, we're looking at every game and saying, `Let's get two points, let's get two points,'' Tierney said. ''I think we seized a lot of our opportunities, got chances off the rush and got a couple of lucky bounces.''
Neither Detroit goalie spoke with reporters after the game. Red Wings forward Henrik Zetterberg deflected criticism of the netminders.
''We have to play with more patience,'' he said. ''We're giving the other team too many chances.
''This is not on Howie and Petr; this is on all the guys.''
San Jose's Joe Pavelski found a clever way to lose his stick late in the first while battling for the puck in a corner. He extended his arm and the blade wedged between Luke Glendening's visor and helmet. No penalty was called and the Detroit forward skated into a TV timeout with the stick stuck in his helmet.
NOTES: Detroit forward Pavel Datsyuk missed his fifth straight game with an undisclosed lower-body injury, while fellow forward Erik Cole was scratched with an upper-body injury. ... San Jose signed University of Wisconsin goalie Joel Rumpel to a standard one-year entry level contract and assigned him to Worcester of the AHL. ... Red Wings defenseman Niklas Kronwal returned to the lineup after missing Tuesday's loss to Arizona with a lower-body injury.