Flexible template might be the way to go. Maybe you can find a way to do something similar but cheaper?