benashby
5/20/2016 - 4:34 PM

js.html


<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Chat Test</title>
</head>
<body>


<script type="application/javascript">
    (function() {

        window._ximaChat = window._ximaChat || {};


        _ximaChat['serverKey'] = 'e793b3bc-7b6e-4958-a161-7ebd09b47d63';


        (function() {
            var ximaChatCodeLoader = document.createElement('script');
            ximaChatCodeLoader.type = 'text/javascript';
            ximaChatCodeLoader.async = true;
            var isSsl = 'https:' == document.location.protocol;
            var prefix = isSsl ? 'https://mm-templates' : 'http://mm-templates';
            window._ximaChat['prefix'] = prefix;
            window._ximaChat['isSsl'] = isSsl;
            ximaChatCodeLoader.src = (prefix) + '.ximasoftware.com/xima-chat.js';
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(ximaChatCodeLoader, s);
        })();

    })();
</script>

</body>
</html>