  var tbody = document.getElementById("tbody");
                var row = document.createElement("tr");
                var file_cell = document.createElement("td");
                var link = document.createElement("a");

                link.className = isdir ? "icon dir" : "icon file";

                if (isdir) {
                    name = name + "/";
                    url = url + "/";
                    size = 0;
                    size_string = "";
                } else {
                    lin