FYI, i made a mistake in my post, if I move the date iterator INSIDE the else clause, I get the endless loop. Sorry about that. Tom ===== http://www.pixelmech.com/ :: Web Development Services http://www.DMXzone.com/ :: JavaScript Author / Every Friday! http://www.thywordistruth.net/ :: Eternal Life [Those who say that I am finished, and am through, will have to run over my dead body to beat me...]