Nice Script CJ, looks good when outputted.

Just some info, When I ran the script it processed 225 lines but when it opened, the line numbers down the side of the browser only went up to 099. eg,

097:
098:
099:
099:
099:
099:
etc...

Terry.