ok, may you have right i should write all the code..offcourse i declare all the values and use strict..Sometimes i think that these things are standar in this palce..
They are, but many here don't adhere to that "standard", so it's always worth mentioning.
And in this case you're asking for advise on execution speed and only paste a snippet that doesn't have the problem you solve. Not very useful, and an utter waste of time from our side, because we have to guess things.