Hi Sukhendu,
It's always 2, because those embeds you are embedding in are done when the menu is generated, not when it's clicked.
there are no embeds when it clicks, because the click itself does something. If there was an embed, it would be asynchronous, and hence useless for "setting something before the menu click applies".
It sounds to me like you just need to pass a parameter to the browse. For example
'BrowseClients?aCliType=1'
and
'BrowseClients?aCliType=2'
Then in browse clients, top of GenerateBrowse routine put
p_web.StoreValue('aCliType')
then use p_web.GSV('aCliType') in your code, filters etc as normal.
cheers
Bruce