Nasif,
Ok I see what you are trying to do my misunderstanding. The problem your are going to have is I don't think you can use scripting (i.e. JavaScript) inside the CDATA in the config file so you have no way creating a conditional statement on the value of the name field.
I would say this cannot be achieved using the popup config files, unless anyone out there can has got scripting to work in the popup config?
Sorry
Anthony