I'm trying to add the following banner rotation code to my Dolphin 7.0.9 email templates. The code is added into the email, but it doesn't display the banners. When I add the same code to a plain html webpage like http://nudei.com/banners/test.html, it works correctly. Is there something I am supposed to either change or add in order for it to work with Dolphin?
<span id="i0e193"><script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script><script type="text/javascript">var $m=jQuery.noConflict();$m(document).ready(function(){var d=15000;var f=true;var m=2;if(d<2000){d=2000}var b=0;var c="http://www.nudei.com/banners/mysa_output.php?callback=?&sid=i0e193&show_ad_group=2";a();function a(){$m.getJSON(c,function(h){$m.each(h,function(j,k){if(f){$m("#i0e193").html(k[0].code).stop(true, true).fadeTo(1000,1).delay(d-2000).fadeTo(1000,0.01)}else{$m("#i0e193").html(k[0].code)}});b++;if(b>=m){$m("#i0e193").stop(true, true).fadeTo(100,1)}else{setTimeout(a,d);}}).error(function(){$m("#i0e193").stop(true, true).fadeTo(100,1)})}});</script></span>