Hi Himai,
This
thread looks like a nice example of solving your own problem, but you didn't only solve it, you also linked the correct answer by using the search facility of this site. I am sure it will help more people in the future and that is what Coderanch is about: don't be afraid to post a question, and share your answer when you solve the question!
Great example of how to use this site, you deserve a
Cow!
Regards,
Frits