window.addEventListener("load",function(){window.navigator.onLine&&initChat()}),initChat=()=>{!function(){let e=document.createElement("script");e.type="text/javascript",e.async=!0;let o=document.referrer?encodeURIComponent(document.referrer.substr(document.referrer.indexOf("://")+1)):"",i=document.location?encodeURIComponent(window.location.href.substring(window.location.protocol.length)):"";e.src="https://www.krismar-educa.com.mx/soporteLive/index.php/esp/chat/getstatus/(position)/middle_right/(top)/50/(units)/percents/(leaveamessage)/true/(department)/3/(theme)/3?r="+o+"&l="+i;let n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n),e.addEventListener("load",function(){document.getElementById("online-icon")&&(document.getElementById("online-icon").innerHTML='<p class="d_txt d_h1" id="p_chat_mssg">\xa1H O L A!</>')})}()};