Thank you for the links, they were very helpful. However, I have two questions regarding them. One question is, where should I put this code? Should it be a document level code, or should it go somewhere else? My other question is, when I did put this code on the document level, I received an error message stating "Missing ; before statement". What does that mean?