binded onclick events for submenu items.