My problem was I was only looking at where I thought the problem would be. It turns out I was actually using several nested lops together (and simplifying for this list) and I wasn't taking into account tests that threw away array elements and also accidently triggered <TR> tags ... David Heayn * http://www.cloudgraphics.com * 213/925.3283