How to randomise pairs of images

Have a look at the suggestion I gave here: Randomizing image location...kind of - #5 by wakecarter