var __retValidaCookie = ""; var __retValidaCookieGr = ""; var __UrlRedirect = ""; function __GetCookie ( name ) { function escapecookie(s) { return s.replace(/([.*+?\^${}()|\[\]\/\\])/g, '\\$1'); }; var match = document.cookie.match(RegExp('(?:^|;\\s*)' + escapecookie(name) + '=([^;]*)')); return match ? ( unescape(match[1]) == "" ? null : unescape(match[1]) ) : null; } function __SetCookie (name, value, domain) { document.cookie = name + "=" + escape (value) + "; path=/; domain=" + domain; } function timesleep() { if( __retValidaCookie != "" ) { // Ya regreso var gla = document.createElement('script'); gla.type = 'text/javascript'; gla.async = true; gla.src = "https://www.gruporeforma.com/libre/acceso/perfilsuscriptor/prelogon.aspx?po=&__t=2&do=www.mural.com.mx&urlredirect=https://www.mural.com.mx"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gla, s); setTimeout(timesleepgr,100); } else { setTimeout(timesleep,100); } } function timesleepgr() { if( __retValidaCookieGr != "" ) { // Ya regreso if( __retValidaCookieGr == "error" ) { var origen = parent.document.location.href; if (window.parent.document.location != null && window.parent.document.location!=document.location && origen.indexOf("preacceso") <= 0) __SetCookie("embebed",origen,".mural.com.mx"); var redirect = document.location.href; try { var rval = __GetRVal(); if( rval != "" ) { if( redirect.indexOf("?") > 0 ) redirect = redirect.substring(0,redirect.indexOf("?")) + rval; else redirect = redirect + "?" + rval; } } catch(e) {} parent.document.location.replace("https://www.gruporeforma.com/libre/acceso/perfilsuscriptor/prelogon.aspx?hcgr=1&po=&__valguid=0ec2501c09afd55a7efbe03150b1c404&__valtmgrc=IACISAP&__d=.gruporeforma.com&__valida=1&do=www.mural.com.mx&urlredirect="+redirect); } else { __SetCookie("embebed","",".mural.com.mx"); __SiguienteDominio(); } } else { setTimeout(timesleepgr,100); } } function __SiguienteDominio() { var gla = document.createElement('script'); gla.type = 'text/javascript'; gla.async = true; gla.src = "https://www.gruporeforma.com/libre/acceso/perfilsuscriptor/prelogon.aspx?po=&__valguid=0ec2501c09afd55a7efbe03150b1c404&__valtmgrc=IACISAP&__d=.gruporeforma.com&do=www.mural.com.mx&urlredirect=https://www.mural.com.mx"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gla, s); } __SetCookie("pp","pp",".mural.com.mx"); function __validarcookies() { if( __GetCookie("pp") != "pp" ) { top.document.location.replace( "/libre/acceso/menu.htm?estatus=5" ); } else { (function() { var gla = document.createElement('script'); gla.type = 'text/javascript'; gla.async = true; gla.src = "https://www.gruporeforma.com/libre/acceso/perfilsuscriptor/prelogon.aspx?__t=1&po=&do=www.mural.com.mx&urlredirect=https://www.mural.com.mx"; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gla, s); })(); setTimeout(timesleep,100); } } var veces = 0; function __AddLoadEvent() { __validarcookies(); } __AddLoadEvent();