moved the .selected class to be up with the selectors it acts upon.  trying to use more strict css.
in the style sheet, be a little more explicit about which selectors are within table (in some situations, specified table selector instead of case, because case is so general
trying to make the css selector references more logical (i.e. readable).