+ dump_obj: function(s, ind) {
+ var sind = "";
+
+ sind = "<span style=\"background-color:#f0f0f0;\">";
+ for (i = 0 ; i < ind ; i++) {
+ sind += " ";
+ }
+ sind += "</span>";
+ for (i in s) {
+ if (typeof(s[i]) == 'string' || typeof(s[i]) == "function") {
+ var ret = "";
+ var arr = this.escapeHTML(s[i]).split("\n");
+ for (el in arr) {
+ ret += sind + arr[el] + "\n";
+ }
+ // this.div.innerHTML += "xx["+this.escapeHTML(i) + "] : [" + ret + "]<hr style=\"height: 1px; width: 100px;\"><br>\n";
+ this.div.innerHTML += this.escapeHTML(i)+"<br>\n";
+ this.div.innerHTML += ret + "<hr style=\"height: 1px; width: 100px;\"><br>\n";
+ }
+ else {
+ this.dump_obj(s[i], ind+4);
+ }
+ }
+ // this.div.innerHTML += "post-loop<br>";
+ },
+