You'll probably also have to pass <!--[GroupCount/]--> from the

<!--[Group(ArtistSort)]-->
<!--[GroupCount/]-->;
<!--[/Group]-->

section to yout javascript function in order to get the total number of groups/artists in your collection. You'll need that to determine the length of each column.

I may have a go at this, but right now I'm too busy. Will let you know. If I do get around to it, I will add it as an option to my modified CMI template ([url]http://ocd.juventas.net[/url])

Good luck!