wasn't there the system variabe %ClientName% ?
Have you tried to work with this ?
_________________________