CASE $TIME > "00:000:01"

That does not look right. maybe "00:00:01"
_________________________
Home page: http://www.kixhelp.com/hb/