Rangers threw the Clydesdale Bank Premier League title race wide open as they moved to within two points of leaders Celtic with a game in hand thanks to a last-gasp 2-1 win over Kilmarnock.
With their rivals not in action this weekend - Celtic's Scottish Cup tie at Inverness was postponed - the Scottish champions were well aware of the importance of taking maximum points.
El-Hadji Diouf's opener was cancelled out by Jamie Hamill from the penalty spot but it was Tim Clancy who had the final say when he was unfortunate enough to net an own goal late on.
Rangers' breakthrough came after 38 minutes when Diouf netted his first goal at Ibrox. Whittaker supplied the pass and Diouf took a touch before rifling a right-foot shot past the grasp of the Kilmarnock goalkeeper and into the bottom corner from 10 yards.
Kilmarnock were back on level terms after 60 minutes when referee Alan Muir ruled that Bougherra had fouled Clancy in the box and Hamill stepped up to blast the penalty high into the back of the net.
Rangers were back in front with three minutes remaining when Weiss flighted a dangerous cross into the box and Clancy inadvertently bundled the ball into the back of his own net to hand the home side the points.