Thank you very much for the quick responce.(By the way is there a way in this forum I can assign point or something like that).
I guess you're right about the quadratic algorithm if it can be called algorithm anyway.
Where can I read more about your comment?Could you give me an example of code...
Thanks again.