Thanks! And yeah, there is a lot of room for optimization. I went for programming speed over efficiency, but after the voting I'll go though the code and clean things up. Hope I didn't cook your processor. :(