That seems to work well. I'm curious, how did you find that you could use an
anonymous function for the replacement value in the JavaScript string replace()
method? I've often referred to the w3schools.com JavaScript documentation, and
their documentation for the string replace() method seems to imply that it
expects a string for the replacement value:
www.w3schools.com/jsref/jsref_replace.asp
Nightfox
---
� Synchronet � Digital Distortion BBS - digitaldistortionbbs.com