Yes, that would be quite easy. Instead of a link + image in the array, you'd have a link + image + another image. Then at the bottom of the script, you'd call two divs (sidebar and footer) instead of one.
I've made a JSFiddle that should be self-explanatory: http://jsfiddle.net/bjga8y7m
In this example, the destination URL remains the same for both linked banners (300x250 and 160x600), but you can just as easily have a different URL - you would just need to add a fourth entry for each array element (so each would have two different links and two different images).