These is the same sort of thing I used to replace smiley syntax with the actual picture in my example.