El Nuevo Día "); var sponsor = ""; var madsOptions = { pid: 1467559167, element_id: "interstitial_ad", callback: function (response) { if (response.status === 'ad') { console.log("Ad : interstitial_ad, ID : 1467559167 for interstitial"); } else { console.log("No Ad : interstitial_ad, ID : 1467559167 for interstitial"); console.log("Returning to : " + $(".in-container").attr("data-url")); var madsd2 = new Date(); madsd2.setMinutes(madsd2.getMinutes() + 240); // ( 24*60 / #6# = 360M ) document.cookie = "end_interstitial=Interstitial-General; expires="+madsd2.toUTCString() + "; domain=.elnuevodia.com; path=/"; location.href = $('.in-container').attr('data-url'); } } }; if (sponsor !== "") { sponsor = sponsor.toLowerCase().replace("adpromo=", ""); madsOptions.custom_tags = { "AdPromo": sponsor }; } var agent = window.navigator.userAgent; if (agent.indexOf("FBIOS") > -1 || agent.indexOf("FB4A") > -1 || agent.indexOf("Twitter for iPhone") > -1) { madsOptions.ask_geolocation = false; } if(screenContext==="movil") { MADSAdrequest.adrequest(madsOptions); } else { try { OAS_RICH(getSet("setInterstitial", screenContext)); } catch (ex) { } }