Rewrote click-script

Again, this is pulled from the redesign. Click script now applies a CSS class rather than changing the CSS properties of the unit divs. Much simpler.