All depends on how you have written the rotator, but you can put the urls in an array, and call them woth the banners. Several ways to do this, I use
$MyArr = array('url'=>'http://www.mysponsor.html',
'banner'=>'banner.gif');
then just
echo '<A HREF="'. $MyArr['url'][0]. '"><IMG SRC="' .$MyArr['bannerl'][0]. '"></A>';
Obviously this is over simplified, but it should illustrate it well enough for you to adapt it to your rotation script.