1) use a unique ID for each image tag added to the page.
2) add a separate swap image behavior for each rotator
3) create a unique image array for each one:
var imgs = new Array('images/1.jpg','images/2.jpg','images/3.jpg','images/4.jpg','images/5.jpg');
var imgs2 = new Array('images/6.jpg','images/7.jpg','images/8.jpg','images/9.jpg','images/10.jpg');
there are a myriad of jquery scripts available that will do this to, and may be easier to use. try a google search of "jquery image rotator"
Thank you! I was able to use jquery to get the job done. Thanks for the insight!