manual:
Add lines like this one to add the descriptions to use to the script:
galls['sluts'] = new Array('Hot sluts', 'Sexy sluts', 'Blonde Sluts', 'Ugly Sluts', 'Hardcore Sluts','Mega sluts','Sucking sluts','Cock hungry sluts','Big-titted sluts');
Make sure to use the proper format (like you see here).
Put lines like this in your html where you want listings to appear. Make sure to put javascript tags around them

The first variable is the url where the links will lead, the second is the category from which the descriptions are gotten, the third is the number of listings.
gall('http://www.site.com/sluts/gallery.html', 'sluts', 25);