Thanks. That is exactly what i needed.
Thanks so much for your support.
Thanks Martin,
You are right, thanks. One last question, Is it possible to set the open direction for all the submenus of the same menu and not per top-level item id. ?