var countries = [ ['-','Select Country/region'] ,['AU','Australia'],['AT','Austria'],['BE','Belgium'],['CA','Canada'],['CN','China'],['CY','Cyprus'],['CZ','Czech Republic'],['DK','Denmark'],['EG','Egypt'],['EE','Estonia'],['FI','Finland'],['FR','France'],['DE','Germany'],['GR','Greece'],['HK','Hong Kong'],['HU','Hungary'],['IN','India'],['ID','Indonesia'],['IE','Ireland'],['IT','Italy'],['LV','Latvia'],['LT','Lithuania'],['LU','Luxembourg'],['MY','Malaysia'],['MT','Malta'],['MX','Mexico'],['NL','Netherlands'],['NZ','New Zealand'],['NO','Norway'],['PH','Philippines'],['PL','Poland'],['PT','Portugal'],['SG','Singapore'],['SK','Slovakia'],['SI','Slovenia'],['KR','SouthKorea'],['ES','Spain'],['SE','Sweden'],['CH','Switzerland'],['TW','Taiwan'],['TH','Thailand'],['GB','United Kingdom'],['US','United States'] ]; var selectedCountry = "-"; function fillCountries(formName,elementname) { var countriesBox = document.forms[formName].elements[elementname]; for (i = 0; i < countries.length; i++) { countriesBox.options[i] = new Option(countries[i][1], countries[i][0]); if (selectedCountry==countries[i][0]) countriesBox.selectedIndex = i; } }