Created function: ShowIndex.