@eater
Haha, yeah, one of the first projects I inherited at work used a table to display three tabs with rounded corners, and when you clicked one of the tabs, it fired off a single $(...).addClass().next().removeClass().next().next().next().addClass()...
statement that had probably 30 .next() calls chained to each other, it was wild.