@HaHoBe: sorry, didn't refresh before posting the formatted code. TMS