Added WriteCollapsable to write a collapsable div to the response stream.