function getToken(){var e=document.getElementsByTagName("script"),t=e.length-1,n=e[t],r=n.src.replace(/^[^\?]+\??/,""),c=r.split("=");return"token"==c[0]&&c[1]}var _token=getToken();if("undefined"==typeof CRChat){var cr_body=document.getElementsByTagName("body")[0],cr_plugin=document.createElement("script");cr_plugin.id="_cr-plugin",cr_plugin.type="text/javascript",cr_plugin.src="//script2.chat-robot.com/plugin.chatrobot.js",cr_body.appendChild(cr_plugin)}var _crChat=null,createCR=setInterval(function(){"undefined"==typeof CRChat||_crChat||(clearInterval(createCR),_crChat=new CRChat({token:_token}))},1e3);