Ok so I have about six of these calendars on page, so thats around 180 td items (1 for each date):

each td has an id that is equal to that day's timestamp.
the dates I want are the red ones (class of .booked).
So i need the fastest way to 'serialize' the ids for td.booked items, any ideas?