function ROW(countryCode,countryName)
{
  this.countryName = countryName ;
  this.countryCode= countryCode;
}

var rows = new Array();
i=0;
rows[i]=new ROW("0","Select a Country");
i++;
rows[i]=new ROW("BH","Bahrain");
i++;
rows[i]=new ROW("JO","Jordan");
i++;
rows[i]=new ROW("KW","Kuwait");
i++;
rows[i]=new ROW("LB","Lebanon");
i++;
rows[i]=new ROW("OM","Oman");
i++;
rows[i]=new ROW("QA","Qatar");
i++;
rows[i]=new ROW("SA","Saudi Arabia");
i++;
rows[i]=new ROW("SY","Syria");
i++;
rows[i]=new ROW("AE","United Arab Emirates");
i++;
rows[i]=new ROW("EG","Egypt");
i++;
rows[i]=new ROW("IQ","Iraq");
i++;
rows[i]=new ROW("OT","Other");
i++;

var country;
var ctryCdFlag=0;

function initializeAndPopulate(country1,countryCd)
{
	country = country1;
	country.length=0 ;
	country.selectedIndex = 0;
	for (i = 0; i < rows.length; i++)
	{
		country.options[i]=new Option(rows[i].countryName);
		country.options[i].value=rows[i].countryCode;
		if(rows[i].countryCode==countryCd)
		{
			country.options[i].selected=true;
			ctryCdFlag=1;
		}
	}
	if(ctryCdFlag==0)
	{
		country.options[0].selected=true;
	}
} // end populate Countries
