If the first tab is the currently selected item then the list item has and ID of #firstcurrent otherwise it always has a class of .first

If any center tab is the currently selected item then the list item has an id of #current

If the last tab is the currently selected item then the list item has and ID of #lastcurrent otherwise it always has a class of .last