var speedIn = 0;
var speedOut = 0;
var totalIn = 0;
var totalOut = 0;
for (i=0; i < values.length-1; i++) {
	speedIn += values[i][3];
	speedOut += values[i][4]
	totalIn += values[i][5];
	totalOut += values[i][6];
	document.write(" 
" + values[i][0] + "
");
	for (j=3; j < 8; j++)
		document.write(" " + getSize(values[i][j]) + ((j == 3) || (j ==4) ? 'B/s' : 'B') + "");
	document.write(" " + dateToString(values[i][8]) + " " + dateToString(values[i][9]) + "
");
}
document.write(" TOTAL " + getSize(speedIn) + "B/s" + " " + getSize(speedOut) + "B/s" + " " + getSize(totalIn) + " " + getSize(totalOut) + " " + getSize(totalIn + totalOut) + "  
");

This page was generated on (date)

