All the html is in the variable $output so you'll just need to play around with all those bits to get it looking how you want. You'll probably need to change all the numbers in the line
if (($i eq '13')or ($i eq '19') or ($i eq '33') or ($i eq '40')){ $output.=qq~</table></td><td width="25%"><table align=top>~;}
The 13,19,33 and 40 are just the numbers that I used when I wrote the global - this says make a new column after the 13th category, etc.
You can change the size by changing the <font size=-1> (or removing it).
if (($i eq '13')or ($i eq '19') or ($i eq '33') or ($i eq '40')){ $output.=qq~</table></td><td width="25%"><table align=top>~;}
The 13,19,33 and 40 are just the numbers that I used when I wrote the global - this says make a new column after the 13th category, etc.
You can change the size by changing the <font size=-1> (or removing it).