a huge list of pages and pages of
$('#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=100 #album_div");
$('#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=101 #album_div");
$('#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=102 #album_div");
$('#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=103 #album_div");
and then deal with each and every page.
there should be a better way