I found a program to do just that.
--------------- Added [DATE]1237584109[/DATE] at [TIME]1237584109[/TIME] ---------------
I guess "mod" isnt the right word but here is a link to a free program that will do just that. You create a "channel" and place the code on your site where you want to offer adertisments and the size they can be.
http://www.revsense.com/
Hope it helps you as much as me