'@Alejandro - Probably better to use the HTTP Server Variable...'

From the comments on 'Balancing AdSense with User Experience'

Stuart Brown wrote:

@Alejandro - Probably better to use the HTTP Server Variables in PHP ($_SERVER[]) or ASP and toggle the ad display code based on that. Using JavaScript to alter the AdSense code is against the TOS, so one needs to be careful.

View full discussion or Read the original article (Balancing AdSense with User Experience)