e }), filename);
    requests.add("POST", "/edit", formData, httpPostProcessRequest);
  }
  function httpGetProcessRequest(status, responseText){
      ge("preview").style.display = "none";
      ge("editor").style.display = "block";
      if(status == 200)
        editor.setValue(responseText);
      else
        editor.setValue("");
      editor.clearSelection();
  }
  function httpGet(theUrl){
      requests.add("GET", "/edit", { edit: theUrl }, httpGetProcessRequest);
  }

  if(lang !== "plain") editor.