var html = ''; var arData = new Array; function Data(arr){this.arr = arr;} function Add(arr){arData.push(new Data(arr));} var head = new Array("Бумага","Чернила","Кол-во лет") Add(new Array("Premium Glossy Photo Paper","Quick Dry","10")) Add(new Array("Premium Semigloss Photo Paper","Quick Dry
DURABrite
UltraChrome","10
40
45")) Add(new Array("Matte Paper - Heavyweight","Quick Dry","20")) Add(new Array("ColorLife Photo Paper","Quick Dry","27")) Add(new Array("Photo Paper","Quick Dry","6")) function showTable() { html += ''; html += addHead(); for (var c=0; c'; if (a < len-1) html += line(); } html += ''; html += addLine(); } html += '
'; } function addHead() { var h = ''; var len = head.length; for (var a=0; a