I'm trying to make a greasemonkey script that displays all of the images and attachments within a forum post at the beginning of the post so I don't have to scroll past all of the comments and pages and pages to find the content. Essentially it would just copy sections of html and paste them at the top of the first page.

For example:
On this forum post: http://www.elva.com/forum/viewtopic.php?f=3&t=291
pretend like it is 5 pages deep and has a mix of images and attachments. I want to display them all at the top of the first page. The first attachment is in div.attachcontent. I would want to copy all of the code within that, and paste it at the beginning of the thread using greasemonkey and javascript. How would I do that?