<script>
  $("#download").hide();
  $( "#run" ).submit(function(e) {
    var form = $(this);
    var fd =  new FormData(form[0]);
    $.ajax({
      url: 'https://wangj27.u.hpc.mssm.edu/uploadingfile/uploadfile.php',
      type: 'POST',
      data: fd,
      processData: false,
      contentType: false
    }).success(function(data){
        console.log("success!");
        $("#download").show()
    });
    e.preventDefault();
  });
  $("#openfile").click(function() {
    window.open('https://wangj27.u.hpc.mssm.edu/uploadingfile/upload/result.txt');
  });
  $("#downloadfile").click(function() {
    window.location = 'https://wangj27.u.hpc.mssm.edu/uploadingfile/download.php?dir=upload&file=result.txt';
  });
</script>

<script>
  $("#download").hide();
  $( "#run" ).submit(function(e) {
    var form = $(this);
    var fd =  new FormData(form[0]);
    $.ajax({
      url: 'http://vcf.stuartscottlab.org/uploadingfile/uploadfile.php',
      type: 'POST',
      data: fd,
      processData: false,
      contentType: false
    }).success(function(data){
        console.log("success!");
        $("#download").show()
    });
    e.preventDefault();
  });
  $("#openfile").click(function() {
    window.open('http://vcf.stuartscottlab.org/uploadingfile/upload/result.txt');
  });
  $("#downloadfile").click(function() {
    window.location = 'http://vcf.stuartscottlab.org/uploadingfile/download.php?dir=upload&file=result.txt';
  });
</script>

Revert "Revert "back to lab site""
Revert "Revert "back to lab site""

This reverts commit 8bab8d933c9b6f91605dbb2d6cd1f08220b5cace.
