add external function to get ActiveTab Info.