Posted By

anobre on 09/12/11


Tagged


Versions (?)

[ACTIVA] Layer eyeblaster - temp hack


 / Published in: JavaScript
 

  1. if(typeof zahirExclusive == "undefined"){
  2.  
  3. //start ad config settings (copy paste from tag)
  4. var gnEbMinZIndex = 10000;
  5. var gfEbInIframe = false;
  6. var gEbAd = new Object();
  7. gEbAd.nFlightID = 2972979;
  8. gEbAd.interactions = new Object();
  9. gEbAd.interactions["_eyeblaster"] = "ebN=%c;";
  10. gEbAd.playRS = new Object();
  11. gEbAd.playRS.strNUrl = "%i%h/dot.gif";
  12.  
  13. //end ad config settings (copy paste from tag)
  14.  
  15. var zahirExclusive="1"; //layer exclusive vs MREC extensivel
  16.  
  17.  
  18. function ad$sitio(mysrc) {
  19. var ord=Math.floor(Math.random()*101);
  20. var zclk= "$zahir/pl/click.pl%3fskey=$skey";
  21. if(mysrc.indexOf("zahirord")>-1){mysrc= mysrc.replace(/zahirord/gi, ord);}
  22. if(mysrc.indexOf("zahirclick")>-1){mysrc= mysrc.replace(/zahirclick/gi, zclk);}
  23.  
  24. document.write = (function () {
  25. for (var i = 0; i < arguments.length; i++) {
  26. jQuery('body').append(arguments[i]);
  27. }
  28. });
  29. jQuery.getScript(mysrc);
  30. };
  31.  
  32. jQuery(document).ready(function() {
  33. //invocation- insert js file (tag) as 1st argument
  34. ad$sitio("http://ds.serving-sys.com/BurstingScript/ebServing_2972979.js");
  35. });
  36. }

Report this snippet  

You need to login to post a comment.