(CNN) -- West Indies fought their way back into the final Test against Australia at the WACA in Perth as 16 wickets fell on a topsy-turvy third day.
Doug Bollinger grabbed five wickets for 70 as West Indies collapsed to 312 all out, giving the home side a first innings lead of 208.
But Australia were 137 for eight wickets at the close of play, an overall lead of 345 after Dwayne Bravo and Sulieman Benn took advantage of a cracking surface.
Home captain Ricky Ponting was not set to bat in their second innings after damaging an elbow tendon, but with his side collapsing he came to the wicket at number nine.
But he did not last long, falling to his new nemesis Kemar Roach for just two as he fended to short leg.
While Australia, who are one-up in the best-of- three series, remain favorites to force victory, the West Indies fight back proved admirable as Bravo took three wickets and slow left-armer Benn two.
The West Indies had started the day on 214 for two in reply to Australia's 520 for seven declared and made slow progress to be 280 for four at lunch.
But after the first interval Bollinger and spinner Nathan Hauritz (three for 66) did the damage as six wickets fell for just 32 runs, falling short of the follow-on target.
Australia did not make West Indies bat again, preferring to increase their lead but it backfired as wickets fell regularly on a pitch offering help to pace and spin.
In other cricket action on Friday, in-form Tillakaratne Dilshan smashed his second successive century to give Sri Lanka a three-wicket victory over India in the second one-day international in Nagpur.
The opener, who made a brilliant 160 in a losing cause in the first match of the series, hit 123 as Sri Lanka went past India's 301-7 with five balls.
India skipper Mahendra Singh Dhoni scored 107 in their 50-over knock.