Here's a great tool from TheStreet.com for keeping track of ex-dividend dates and payments.
While typically there's not much of a purpose in buying stocks right before their ex-div date since the stock will just drop by that amount, its still worthwhile knowing what is available.
Ex-Dividend Date Calendar