Dynamic Content
This example shows how to write HTML to a layer.
To see what's going on, view the source to this page. Most of the magic happens in the writeHTML() function. This function detects the script support of the current browser to allow the dynamic insertion of markup into an element specified by ID.