showing different pages on the site based on search engine that referred you

Hi,
A client wants to show different home pages and other pages based on whether a visitor came to the site from bing or google. What plugin(s) can do this?