<script type="text/javascript">\r
# Escape as CDATA to pass validators.\r
/*<![CDATA[*/\r
-window.onload = function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}\r
+document.addEventListener("DOMContentLoaded", function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}, false);
/*]]>*/\r
</script>\r
<script type="text/javascript" src="{scriptsdir=.}/asciidoc-xhtml11.js"></script>\r
<script type="text/javascript">\r
# Escape as CDATA to pass validators.\r
/*<![CDATA[*/\r
-window.onload = function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}\r
+document.addEventListener("DOMContentLoaded", function()\{asciidoc.footnotes();{toc? asciidoc.toc({toclevels});}\}, false);
include1::{scriptsdir=./javascripts}/asciidoc-xhtml11.js[]\r
/*]]>*/\r
</script>\r