I have taken coding provided by Tyler Clarke who I can't now contact to ask this question. Any one else able to advise please.

Our church web site includes 62 gif files showing the flags of each nation represented in our congregation. I used to show these alphabetically but poor old Wales, and Zimbabwe etc had to wait a long time to see their flags. Tyler's code allowed for random show but it is truly random in that one flag may keep appearing whilst others never seem to.
Is there a way in which it can play 1 -62 randomly and then start again with another 1-62 randomly. At least then people would know the longest they have to wait is for 61 other flags.
Hope this makes sense. Grateful for any help.flags.txt