Hey MochaLotte, thanks for the script, but I can't get it to work. I pasted your code into a CFM page with the appropriate variables and this is the message I get back:
Invalid CFML construct found on line 15 at column 85.
ColdFusion was looking at the following text:
All
The CFML compiler...