Sounds very achiveable. Can you post an example with 'before' and 'after' so that its completely clear what you are looking for.