Durga, this is nearly impossible to understand, my last holidays in India are a while ago and "autocomplete" is not biting But if I got the main idea properly: you would like to render different logon pages depending on the refferer URL. Maybe there is a better approach, but would it be a good idea to take a look to the refferer in the HTTP header with an appropriate conditional in your logon page?
cheers