Hi, I have a PopMenu with countries and their flags. What I'm trying to do is to get the selected country/flag image to persist after the user has clicked on it. The choices link to static pages with that country's corresponding content. At this time, the US is the default name and flag image, but I don't know how to make it into a variable with the other options that will persist after being selected. (I'm still learning JavaScript and its not my strength.) If someone could assist me, I would be very appreciative.

Thank you in advance.

Here is a snippet of the code:

PopMenu1_1=new Array(
"<img src="+BaseHref+"\"images/usa_flag.gif\">", // ElementText
"#", // ElementLink
"", // ElementBgImage
11, // ElementNoOfSubElements
25, // ElementHeight
165, // ElementWidth
"", // ElementBgColor
"", // ElementBgHighColor
"", // ElementFontColor
"", // ElementFontHighColor
"", // ElementBorderColor
"", // ElementFontFamily
-1, // ElementFontSize in pixel
-1, // ElementBold
-1, // ElementItalic
"left", // ElementTextAlign
""); // ElementStatusText

PopMenu1_1_1=new Array("rollover?"+BaseHref+"images/canada_flag.gif?"+BaseHref+"images/canada_flag1.gif",href="default.html","",0,25,167,"","","","","","",-1,-1,-1,"","");
PopMenu1_1_2=new Array("rollover?"+BaseHref+"images/mexico_flag.gif?"+BaseHref+"images/mexico_flag1.gif",href="la.html","",0,25,167,"","","","","","",-1,-1,-1,"","");
PopMenu1_1_3=new Array("rollover?"+BaseHref+"images/uk_flag.gif?"+BaseHref+"images/uk_flag1.gif",href="eu.html","",0,25,167,"","","","","","",-1,-1,-1,"","");
PopMenu1_1_4=new Array("rollover?"+BaseHref+"images/nederland_flag.gif?"+BaseHref+"images/nederland_flag1.gif",href="eu.html","",0,25,167,"","","","","","",-1,-1,-1,"","");
PopMenu1_1_5=new Array("rollover?"+BaseHref+"images/germany_flag.gif?"+BaseHref+"images/germany_flag1.gif",href="eu.html","",0,25,167,"","","","","","",-1,-1,-1,"","");
PopMenu1_1_6=new Array("rollover?"+BaseHref+"images/brazil_flag.gif?"+BaseHref+"images/brazil_flag1.gif",href="la.html","",0,25,167,"","","","","","",-1,-1,-1,"","");
PopMenu1_1_7=new