Juventus twice hit back from behind to beat Genoa 3-2 in Turin on Sunday and keep alive their faint hopes of qualifying for next season's Champions League.
Genoa took the lead through a Leonardo Bonucci own goal and a strike from Antonio Floro Flores but Juve hit back through a Marco Rossi own goal and then Alessandro Matri.
And Luca Toni proved the Juve hero seven minutes from time with only his second goal for the club since joining from Genoa in January.
The result leaves Juve five points behind Udinese in the crucial fourth spot, although a win for Lazio later in the day would take them fourth and six points ahead of the Old Lady of Turin.
Juve had a terrible start as Genoa took the lead on seven minutes with a huge stroke of luck.
Luca Antonelli tried to cross the ball into the box but it came off Bonucci and wrong-footed Marco Storari.
Juve took their time in getting some steam into their fight-back and it was Bonucci six minutes from the break at the right end who forced goalkeeper Eduardo into a spectacular save with a header from five yards, although he should have scored from there.
Simone Pepe, who seemed Juve's biggest threat all game, then beat a sleeping Giandomenico Mesto to the ball but his far post header went wide.
The hosts were back in the ascendancy straight after the restart as a fierce shot from Pepe from the left forced Eduardo to tip over his bar.
Juve were level on 50 minutes through another own goal as Pepe met Alberto Aquilani's cross with a firm header that was flying well off target until it hit Rossi and sneaked inside the post.
Juve were bubbling and Eduardo made a great save to deny Milos Krasic after the Serbian played a one-two with Matri.
Storari then had to get down smartly to parry a Floro Flores effort.
But Genoa went ahead again on 57 minutes as Antonelli charged down the left and crossed for the unmarked Floro Flores to fire home crisply, with Juve's defence clearly lacking the presence of Giorgio Chiellini.
But the lead did not last long as Pepe drove at the Genoa defence down the left and crossed into the box where substitute Toni couldn't control the ball which fell to Matri, who dug it out of his feet and fired a missile past Eduardo.
Pepe looked set to find the winner 16 minutes from time as he played a one-two with Toni but Eduardo got a touch and the ball looped up before bouncing agonisingly past the post.
But Toni got the winner as he shrugged off a weak challenge from Dario Dainelli and flicked the ball past Eduardo.
Toni should have closed out the game deep into injury time but somehow shot wide with virtually an open goal to aim at.