To set the record straight, the problem was caused by hacked code on our site, not Google's links. Thank you to everyone who helped, including Google. We found base 64 php scripting all over the place. Everytime there was a '< ? php' string, there was an inserted base 64 script that did indeed check for the referrer and if it was Google or other search engines it redirected to malicious sites. What a mess. And I also found that about as quick as I could remove and edit the files, it was recoded again. So we removed all the files and started all over clean. Still not completely done but just wanted to set the record straight as it was not Google's fault and they were helpful.