Rotating Linked Imgs within a template

Was wondering if anyone could point me in the right direction. I am trying to create a rotating 4 image flash file (which that I can do) with each of the images to link to different locations (which I can do) but my question now that that is complete is…

How can I swap out the images & the links based upon what site it is showing on in terms of a template. Currently we utilize one main template across 50+ sites & each of them would like 4 different images/links rotating - is this possible and if so how in the world would I do it?

Any help would be so very greatly appreciated - thanks in advance!
~Christine