You can use this function when the subject at an email is not displayed correctly. The idea is to base64_encode the subject header. Something like
Daily Archives: November 23, 2009
Ajax – dynamic content with link history
Use this script to update content dynamicaly. Original source from http://www.unfocus.com/projects/historykeeper/