window.onload = function() {
var te = document.getElementById("code");
var sc = document.getElementById("script");
te.value = (sc.textContent || sc.innerText || sc.innerHTML).replace(/^\s*/, "");
var te_html = document.getElementById("code-html");
te_html.value = "<html>\n " + document.documentElement.innerHTML + "\n</html>";
window.editor = CodeMirror.fromTextArea(te, {↔});
editor.foldCode(CodeMirror.Pos(8, 0));
window.editor_html = CodeMirror.fromTextArea(te_html, {
extraKeys: {"Ctrl-Q": function(cm){ cm.foldCode(cm.getCursor()); }},
gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"]
editor_html.foldCode(CodeMirror.Pos(13, 0));
editor_html.foldCode(CodeMirror.Pos(1, 0));