MacG--this is awesome! NICE! A little CSS and that will be a beaut. While you're at it, you could ask for crank arm length to calculate Sheldon Brown's gain value as well:
http://sheldonbrown.com/gain.html
One more thing, you could gray out the gear combinations that one shouldn't use.
Thanks!