Embedding Javascript within a form

There is a nice new feature on live chat, which involves a pop-up chat box triggered by javascript.

I thought that embedding the required code in an html area in a form might allow it to work, but it doesn’t seem to.

Can this type of thing be embedded in smart client?

<script type="text/javascript">
  var __lc = {};
  __lc.license = 1036659;

  (function() {
    var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
    lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);
  })();
</script>

it works beautifully in smart client.

David

it should work if you have html with that script between tags