A few Webtrends utility functions