fix for vmlAvailable method to make it work when doc is served as xhtml