@itsnotabug: Thanks. This looks just right for my task.