$(function(){
	$(".group-wrapper ol").each(function(){
		  var $bigList = $(this),
		      group    = $bigList.find('li:lt(12)').remove();
			count = 0;
		  while(group.length){
		  	count++;
		  	$(this).parent().removeClass("coll"+(count - 1));
		  	$(this).parent().addClass("coll"+count);
		    $('<ol/>').append(group).appendTo($(this).parent());
		    group = $bigList.find('li:lt(12)').remove();
		    
		  }
		  $(this).remove();
	});
});
