integer_value, size) {
          var str = integer_value + "";
          while (str.length < size) {
              str = "0" + str;
          }
          return str;
      }

      function showResponse(json, should_hide) {
          var currentdate = new Date();
          var datetime = "[" + currentdate.getFullYear() + "-"
                + pad((currentdate.getMonth()+1), 2)  + "-"
                + pad(currentdate.getDate(), 2) + "T"
                + pad(currentdate.getHours(), 2) + ":"
                