<script type="text/javascript">
document.write = function(str) {
document.adcounter = document.adcounter ? (document.adcounter + 1) : 0
$('#ad-container-' + document.adcounter).html(str)
};
</script>
<div id="ad-container-0"></div>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-8440766493813069";
/* 300x250 Post Left July 1 2012 */
google_ad_slot = "9205608781";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
For each advertisement widget on the page, increase the id by 1:
<div id="ad-container-0"></div>
...
<div id="ad-container-1"></div>
... etc
Let me know if this does the trick and maybe I'll publish it as a gist for anybody else who runs into the same issue