<%namespace file="utils.html" import="js_preamble"/>
<html>
  <head>
  </head>
  <body>
    <script type="text/javascript">
      document.domain = "${thing.domain}";
      ${js_preamble()}
      reddit.vl = parent.reddit.vl;
      parent.reddit = reddit;

      /* embed shouldn't be able to JS-redirect the page. */
      parent.redirect = parent.refresh;
      this.frameElement.className = "rembeddit-frame";
    </script>
  </body>
</html>
