Here is the source code I am attaching for Menu. I have downloaded it from somewhere but dont know the URL. Going through the code comments will help you get how to add the menu item.
Attached Files
File Type: zip FlatPopUpMenu_src.zip (9.2 KB, 18 views)