Using javascript and CSS, make it so when a user clicks a cell in the below table, the background of the row which the cell belongs to turns yellow and the background of the selected column turns orange, while the selected cell itself turns red.

You may use the javascript framework of your choice, if you choose.

Rendering engine Browser Platform(s) Engine version CSS grade
Gecko Firefox 1.0 Win 98+ / OSX.2+ 1.7 A
Gecko Firefox 1.5 Win 98+ / OSX.2+ 1.8 A
Gecko Firefox 2.0 Win 98+ / OSX.2+ 1.8 A
Gecko Firefox 3.0 Win 2k+ / OSX.3+ 1.9 A
Gecko Camino 1.0 OSX.2+ 1.8 A