a jQuery port of our popular TabInterface script