// all LIs that are last in their list get class "last"

$(document).ready(function() {$("li:last-child").addClass('last');});
