Hi.

There is a bug in the addStyleSheet method, CSS class.

The line

Code:
link.setPropertyString("id", "id");
should be changed to
Code:
link.setPropertyString("id", id);
Regards,
Michel.