Advertisement
erodemobiles

banner html 5

May 2nd, 2011
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.60 KB | None | 0 0
  1. <div class="ad-banner">
  2.     <div id="banner_label"></div>
  3.     <script>
  4.         $(document).ready(function(){
  5.             var this_banner = $('#banner_label');
  6.             var m3_u = (location.protocol=='https:'?'https://ads.subastasde.com/www/delivery/ajs.php':'http://ads.subastasde.com/www/delivery/ajs.php');
  7.             var m3_r = Math.floor(Math.random()*99999999999);
  8.             if (!document.MAX_used) document.MAX_used = ',';
  9.             this_banner.append("<scr"+"ipt type='text/javascript' src='"+m3_u);
  10.            this_banner.append("?zoneid=2");
  11.            this_banner.append('&amp;cb=' + m3_r);
  12.            if (document.MAX_used != ',') this_banner.append("&amp;exclude=" + document.MAX_used);
  13.            this_banner.append(document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
  14.            this_banner.append("&amp;loc=" + escape(window.location));
  15.            if (document.referrer) this_banner.append("&amp;referer=" + escape(document.referrer));
  16.            if (document.context)  this_banner.append("&context=" + escape(document.context));
  17.            if (document.mmm_fo)   this_banner.append("&amp;mmm_fo=1");            
  18.            this_banner.append("'><\/scr"+"ipt>");
  19.         });
  20.     </script>
  21.     <noscript>        <a href='http://ads.subastasde.com/www/delivery/ck.php?n=a2dfb180&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'>            <img src='http://ads.subastasde.com/www/delivery/avw.php?zoneid=2&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a2dfb180' border='0' alt='' />
  22.         </a>
  23.     </noscript>
  24. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement