I replaced the original code with an improvement from Ian. For the record, the original code is here. Eli 17:13, 17 April 2008 (PDT)