> if (hits > 13) { That looks like your culprit. $hits should do it. Kelson Vibber SpeedGate Communications, Technical Staff kelson at speed.net Phone: (949) 341-0800 http://www.speed.net/ FAX: (949) 341-0900