My coding is a bit rusty but it seems Tradedoubler’s javascript is only there to generate a random image url, for purposes of cache prevention and ensuring the image is always the latest.
<script type="text/javascript">
var uri = 'https://impgb.tradedoubler.com/imp?type(img)g(xxx)a(xxx)' + new String (Math.random()).substring (2, 11);
document.write('<a href="https://clkuk.tradedoubler.com/click?p=xxx&a=xxx&g=xxx" target="_BLANK"><img src="'+uri+'" border=0></a>');
</script>
As I’m only experimenting with ad placement at the moment, I will just disable cache prevention (use static image url) which tradedoubler does allow.
rml – great plugin btw!