Another gallery question
You can set an array and order them by random.

{% set gallery = craft.entries.section(['galleryA','galleryB','galleryC']) %}

Then you have to display them by random using .order('RAND()')

So your for loop looks like:

{% for entry in craft.entries.section(gallery).order('RAND()') %}