TOC

I got the code for this method here.

From this help forum thread.