Tweaked example so it works nicely in firefox too
gendocs