Thanks Douglas, worked like a charm.