A little helper for working with cookies in modern browsers