function Table(b,a){this.opts=a;this.setData(b)}Table.prototype.makeCell=function(b){var a=document.createElement("td");a.textContent=b;return a}; Table.prototype.draw=function(b){for(var a=document.createElement("table"),c=document.createElement("tr"),d=[],e=0;e"+this.header[e]+"";for(e=0;e";for(f=0;f";b.appendChild(a)};Table.prototype.setDataObjHeadToArray=function(b){var a=void 0;this.header=[];this.data=[];for(var c in b){if(!_isArray(b[c]))throw{};if(void 0===a)for(var a=b[c].length,d=0;d