Thanks lorna,
This snippet was really usefull. :)