The Sharks needed to be at their best at both ends of the ice Tuesday night to beat the Detroit Red Wings. Two goals from the suddenly red-hot Devin Setoguchi and one each from Joe Thornton and Ryane Clowe provided just enough offense in a 4-3 victory, the Sharks' fourth in a row. San Jose is 13-2-1 over the past five weeks. But it was a save by goalie Antti Niemi against Detroit forward Johan Franzen with 21.7 seconds left that guaranteed the two points without having to worry about overtime or a shootout. Franzen had the puck on his stick in the slot and was taking aim at what appeared to be a wide-open side of the net. "From the scramble, I saw him trying to go wide and beat me on the far side, but I was able to push there," said Niemi, who extended his right leg to get his pad on the puck. The victory was San Jose's second of the season at Joe Louis Arena, going a long way toward driving out the ghosts that have haunted the Sharks, who are 7-26-4 here over the years. But once again, it didn't start out as one that would end up in the win column. The Red Wings dominated the opening 10 minutes just as they did when San Jose won 5-2 on Dec. 6. "I don't know what it is coming into this building," Sharks coach Todd McLellan said. "They're a very good team, but sometimes I think we may over-respect them, and we play standing around watching them. That's just a death trap against a team like that. Fortunately they took a few penalties, and that allowed us to get back into the game."