i may have mentioned this before, but for obscure reasons that often don't manifest themselves you should ~never use object iteration with arrays and should always use sequential iteration over the index. here's one writeup of why: http://stackoverflow.com/questions/3010840/loop-through-array-in-javascript/3010848#3010848