The "legal" way to do it is to use AdSense for Ajax: http://adsense.blogspot.com/2010/05/two-new-ways-to-optimize-adsense-on.html