Why don't you just give them transparent backgrounds and save yourself the trouble?
Good idea. How do you make the backgrounds transparent though? I just use the same colour background as the page but I guess if they are transparent I would only need one png for multiple sites/pages.