Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. <script language="JavaScript" type="text/javascript"><!--
  2. var eplDoc = document; var eplLL = false;
  3. var eS1 = 'us.img.e-planning.net';var eplArgs = { iIF:1,sV: schemeLocal() + "://ads.us.e-planning.net/" ,vV:"4",sI:"1ec7b",sec:"ROS",eIs:["lateral_a","lateral_b","header_top","ads_contenido","Sidebar_300x600","Sidebar_300x250","footer","PulpoMedia","header_top_2","Sticky_ads"] };
  4. function eplCheckStart() {
  5. if (document.epl) {
  6. var e = document.epl;
  7. if (e.eplReady()) {
  8. return true;
  9. } else {
  10. e.eplInit(eplArgs);
  11. if (eplArgs.custom) {
  12. for (var s in eplArgs.custom) {
  13. document.epl.setCustomAdShow(s, eplArgs.custom[s]);
  14. }
  15. }
  16. return e.eplReady();
  17. }
  18. } else {
  19. if (eplLL) return false;
  20. if (!document.body) return false; var eS2; var dc = document.cookie;
  21. var cookieName = ('https' === schemeLocal() ? 'EPLSERVER_S' : 'EPLSERVER') + '=';
  22. var ci = dc.indexOf(cookieName);
  23. if (ci != -1) {
  24. ci += cookieName.length; var ce = dc.indexOf(';', ci);
  25. if (ce == -1) ce = dc.length;
  26. eS2 = dc.substring(ci, ce);
  27. }
  28. var eIF = document.createElement('IFRAME');
  29. eIF.src = 'about:blank'; eIF.id = 'epl4iframe'; eIF.name = 'epl4iframe';
  30. eIF.width=0; eIF.height=0; eIF.style.width='0px'; eIF.style.height='0px';
  31. eIF.style.display='none'; document.body.appendChild(eIF);
  32.  
  33. var eIFD = eIF.contentDocument ? eIF.contentDocument : eIF.document;
  34. eIFD.open();eIFD.write('<html><head><title>e-planning</title></head><bo'+'dy></bo'+'dy></html>');eIFD.close();
  35. var s = eIFD.createElement('SCRIPT');
  36. s.src = schemeLocal() + '://' + (eS2?eS2:eS1) +'/layers/epl-41.js';
  37. eIFD.body.appendChild(s);
  38. if (!eS2) {
  39. var ss = eIFD.createElement('SCRIPT');
  40. ss.src = schemeLocal() + '://ads.us.e-planning.net/egc/4/1eb23';
  41. eIFD.body.appendChild(ss);
  42. }
  43. eplLL = true;
  44. return false;
  45. }
  46. }
  47. eplCheckStart();
  48. function eplSetAdM(eID,custF) {
  49. if (eplCheckStart()) {
  50. if (custF) { document.epl.setCustomAdShow(eID,eplArgs.custom[eID]); }
  51. document.epl.showSpace(eID);
  52. } else {
  53. var efu = 'eplSetAdM("'+eID+'", '+ (custF?'true':'false') +');';
  54. setTimeout(efu, 250);
  55. }
  56. }
  57. function eplAD4M(eID,custF) {
  58. document.write('<div id="eplAdDiv'+eID+'"></div>');
  59. if (custF) {
  60. if (!eplArgs.custom) { eplArgs.custom = {}; }
  61. eplArgs.custom[eID] = custF;
  62. }
  63. eplSetAdM(eID, custF?true:false);
  64. }
  65. function schemeLocal() {
  66. if (document.location.protocol) {
  67. protocol = document.location.protocol;
  68. } else {
  69. protocol = window.top.location.protocol;
  70. }
  71. if (protocol) {
  72. if (protocol.indexOf('https') !== -1) {
  73. return 'https';
  74. } else {
  75. return 'http';
  76. }
  77. }
  78. }
  79.  
  80. //--></script>
  81. <script type="text/javascript">eplAD4M("ads_contenido");</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement