Use common code to link between tabs