Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script language="JavaScript" type="text/javascript"><!--
- var eplDoc = document; var eplLL = false;
- 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"] };
- function eplCheckStart() {
- if (document.epl) {
- var e = document.epl;
- if (e.eplReady()) {
- return true;
- } else {
- e.eplInit(eplArgs);
- if (eplArgs.custom) {
- for (var s in eplArgs.custom) {
- document.epl.setCustomAdShow(s, eplArgs.custom[s]);
- }
- }
- return e.eplReady();
- }
- } else {
- if (eplLL) return false;
- if (!document.body) return false; var eS2; var dc = document.cookie;
- var cookieName = ('https' === schemeLocal() ? 'EPLSERVER_S' : 'EPLSERVER') + '=';
- var ci = dc.indexOf(cookieName);
- if (ci != -1) {
- ci += cookieName.length; var ce = dc.indexOf(';', ci);
- if (ce == -1) ce = dc.length;
- eS2 = dc.substring(ci, ce);
- }
- var eIF = document.createElement('IFRAME');
- eIF.src = 'about:blank'; eIF.id = 'epl4iframe'; eIF.name = 'epl4iframe';
- eIF.width=0; eIF.height=0; eIF.style.width='0px'; eIF.style.height='0px';
- eIF.style.display='none'; document.body.appendChild(eIF);
- var eIFD = eIF.contentDocument ? eIF.contentDocument : eIF.document;
- eIFD.open();eIFD.write('<html><head><title>e-planning</title></head><bo'+'dy></bo'+'dy></html>');eIFD.close();
- var s = eIFD.createElement('SCRIPT');
- s.src = schemeLocal() + '://' + (eS2?eS2:eS1) +'/layers/epl-41.js';
- eIFD.body.appendChild(s);
- if (!eS2) {
- var ss = eIFD.createElement('SCRIPT');
- ss.src = schemeLocal() + '://ads.us.e-planning.net/egc/4/1eb23';
- eIFD.body.appendChild(ss);
- }
- eplLL = true;
- return false;
- }
- }
- eplCheckStart();
- function eplSetAdM(eID,custF) {
- if (eplCheckStart()) {
- if (custF) { document.epl.setCustomAdShow(eID,eplArgs.custom[eID]); }
- document.epl.showSpace(eID);
- } else {
- var efu = 'eplSetAdM("'+eID+'", '+ (custF?'true':'false') +');';
- setTimeout(efu, 250);
- }
- }
- function eplAD4M(eID,custF) {
- document.write('<div id="eplAdDiv'+eID+'"></div>');
- if (custF) {
- if (!eplArgs.custom) { eplArgs.custom = {}; }
- eplArgs.custom[eID] = custF;
- }
- eplSetAdM(eID, custF?true:false);
- }
- function schemeLocal() {
- if (document.location.protocol) {
- protocol = document.location.protocol;
- } else {
- protocol = window.top.location.protocol;
- }
- if (protocol) {
- if (protocol.indexOf('https') !== -1) {
- return 'https';
- } else {
- return 'http';
- }
- }
- }
- //--></script>
- <script type="text/javascript">eplAD4M("ads_contenido");</script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement