
function rxc_country(frm,sCode,sInput)
{   
    if (!frm)
    {
        return;
    }

    var cc = frm.elements[sInput];
    var ccGBR = 0;
             
    cc.options.length = 0;
	
	cc.options[cc.options.length] = new Option ("UNITED KINGDOM","GBR");		
	cc.options[cc.options.length] = new Option ("AFGHANISTAN","AFG");
	cc.options[cc.options.length] = new Option ("ALBANIA","ALB");
	cc.options[cc.options.length] = new Option ("ALGERIA","DZA");
	cc.options[cc.options.length] = new Option ("AMERICAN SAMOA","ASM");
	cc.options[cc.options.length] = new Option ("ANDORRA","AND");
	cc.options[cc.options.length] = new Option ("ANGOLA","AGO");
	cc.options[cc.options.length] = new Option ("ANGUILLA","AIA");
	cc.options[cc.options.length] = new Option ("ANTARCTICA","ATA");
	cc.options[cc.options.length] = new Option ("ANTIGUA AND BARBUDA","ATG");
	cc.options[cc.options.length] = new Option ("ARGENTINA","ARG");
	cc.options[cc.options.length] = new Option ("ARMENIA","ARM");
	cc.options[cc.options.length] = new Option ("ARUBA","ABW");
	cc.options[cc.options.length] = new Option ("AUSTRALIA","AUS");
	cc.options[cc.options.length] = new Option ("AUSTRIA","AUT");
	cc.options[cc.options.length] = new Option ("AZERBAIJAN","AZE");
	cc.options[cc.options.length] = new Option ("BAHAMAS","BHS");
	cc.options[cc.options.length] = new Option ("BAHRAIN","BHR");
	cc.options[cc.options.length] = new Option ("BANGLADESH","BGD");
	cc.options[cc.options.length] = new Option ("BARBADOS","BRB");
	cc.options[cc.options.length] = new Option ("BELARUS","BLR");
	cc.options[cc.options.length] = new Option ("BELGIUM","BEL");
	cc.options[cc.options.length] = new Option ("BELIZE","BLZ");
	cc.options[cc.options.length] = new Option ("BENIN","BEN");
	cc.options[cc.options.length] = new Option ("BERMUDA","BMU");
	cc.options[cc.options.length] = new Option ("BHUTAN","BTN");
	cc.options[cc.options.length] = new Option ("BOLIVIA","BOL");
	cc.options[cc.options.length] = new Option ("BOSNIA AND HERZEGOWINA","BIH");
	cc.options[cc.options.length] = new Option ("BOTSWANA","BWA");
	cc.options[cc.options.length] = new Option ("BOUVET ISLAND","BVT");
	cc.options[cc.options.length] = new Option ("BRAZIL","BRA");
	cc.options[cc.options.length] = new Option ("BRITISH INDIAN OCEAN TERRITORY","IOT");
	cc.options[cc.options.length] = new Option ("BRUNEI DARUSSALAM","BRN");
	cc.options[cc.options.length] = new Option ("BULGARIA","BGR");
	cc.options[cc.options.length] = new Option ("BURKINA FASO","BFA");
	cc.options[cc.options.length] = new Option ("BURUNDI","BDI");
	cc.options[cc.options.length] = new Option ("CAMBODIA","KHM");
	cc.options[cc.options.length] = new Option ("CAMEROON","CMR");
	cc.options[cc.options.length] = new Option ("CANADA","CAN");
	cc.options[cc.options.length] = new Option ("CAPE VERDE","CPV");
	cc.options[cc.options.length] = new Option ("CAYMAN ISLANDS","CYM");
	cc.options[cc.options.length] = new Option ("CENTRAL AFRICAN REPUBLIC","CAF");
	cc.options[cc.options.length] = new Option ("CHAD","TCD");
	cc.options[cc.options.length] = new Option ("CHILE","CHL");
	cc.options[cc.options.length] = new Option ("CHINA","CHN");
	cc.options[cc.options.length] = new Option ("CHRISTMAS ISLAND","CXR");
	cc.options[cc.options.length] = new Option ("COCOS (KEELING) ISLANDS","CCK");
	cc.options[cc.options.length] = new Option ("COLOMBIA","COL");
	cc.options[cc.options.length] = new Option ("COMOROS","COM");
	cc.options[cc.options.length] = new Option ("CONGO","COG");
	cc.options[cc.options.length] = new Option ("CONGO, THE DEMOCRATIC REPUBLIC OF THE","COD");
	cc.options[cc.options.length] = new Option ("COOK ISLANDS","COK");
	cc.options[cc.options.length] = new Option ("COSTA RICA","CRI");
	cc.options[cc.options.length] = new Option ("COTE D'IVOIRE","CIV");
	cc.options[cc.options.length] = new Option ("CROATIA (local name: Hrvatska)","HRV");
	cc.options[cc.options.length] = new Option ("CUBA","CUB");
	cc.options[cc.options.length] = new Option ("CYPRUS","CYP");
	cc.options[cc.options.length] = new Option ("CZECH REPUBLIC","CZE");
	cc.options[cc.options.length] = new Option ("DENMARK","DNK");
	cc.options[cc.options.length] = new Option ("DJIBOUTI","DJI");
	cc.options[cc.options.length] = new Option ("DOMINICA","DMA");
	cc.options[cc.options.length] = new Option ("DOMINICAN REPUBLIC","DOM");
	cc.options[cc.options.length] = new Option ("EAST TIMOR","TMP");
	cc.options[cc.options.length] = new Option ("ECUADOR","ECU");
	cc.options[cc.options.length] = new Option ("EGYPT","EGY");
	cc.options[cc.options.length] = new Option ("EL SALVADOR","SLV");
	cc.options[cc.options.length] = new Option ("EQUATORIAL GUINEA","GNQ");
	cc.options[cc.options.length] = new Option ("ERITREA","ERI");
	cc.options[cc.options.length] = new Option ("ESTONIA","EST");
	cc.options[cc.options.length] = new Option ("ETHIOPIA","ETH");
	cc.options[cc.options.length] = new Option ("FALKLAND ISLANDS (MALVINAS)","FLK");
	cc.options[cc.options.length] = new Option ("FAROE ISLANDS","FRO");
	cc.options[cc.options.length] = new Option ("FIJI","FJI");
	cc.options[cc.options.length] = new Option ("FINLAND","FIN");
	cc.options[cc.options.length] = new Option ("FRANCE","FRA");
	cc.options[cc.options.length] = new Option ("FRANCE, METROPOLITAN","FXX");
	cc.options[cc.options.length] = new Option ("FRENCH GUIANA","GUF");
	cc.options[cc.options.length] = new Option ("FRENCH POLYNESIA","PYF");
	cc.options[cc.options.length] = new Option ("FRENCH SOUTHERN TERRITORIES","ATF");
	cc.options[cc.options.length] = new Option ("GABON","GAB");
	cc.options[cc.options.length] = new Option ("GAMBIA","GMB");
	cc.options[cc.options.length] = new Option ("GEORGIA","GEO");
	cc.options[cc.options.length] = new Option ("GERMANY","DEU");
	cc.options[cc.options.length] = new Option ("GHANA","GHA");
	cc.options[cc.options.length] = new Option ("GIBRALTAR","GIB");
	cc.options[cc.options.length] = new Option ("GREECE","GRC");
	cc.options[cc.options.length] = new Option ("GREENLAND","GRL");
	cc.options[cc.options.length] = new Option ("GRENADA","GRD");
	cc.options[cc.options.length] = new Option ("GUADELOUPE","GLP");
	cc.options[cc.options.length] = new Option ("GUAM","GUM");
	cc.options[cc.options.length] = new Option ("GUATEMALA","GTM");
	cc.options[cc.options.length] = new Option ("GUINEA","GIN");
	cc.options[cc.options.length] = new Option ("GUINEA-BISSAU","GNB");
	cc.options[cc.options.length] = new Option ("GUYANA","GUY");
	cc.options[cc.options.length] = new Option ("HAITI","HTI");
	cc.options[cc.options.length] = new Option ("HEARD AND MC DONALD ISLANDS","HMD");
	cc.options[cc.options.length] = new Option ("HOLY SEE (VATICAN CITY STATE)","VAT");
	cc.options[cc.options.length] = new Option ("HONDURAS","HND");
	cc.options[cc.options.length] = new Option ("HONG KONG","HKG");
	cc.options[cc.options.length] = new Option ("HUNGARY","HUN");
	cc.options[cc.options.length] = new Option ("ICELAND","ISL");
	cc.options[cc.options.length] = new Option ("INDIA","IND");
	cc.options[cc.options.length] = new Option ("INDONESIA","IDN");
	cc.options[cc.options.length] = new Option ("IRAN (ISLAMIC REPUBLIC OF)","IRN");
	cc.options[cc.options.length] = new Option ("IRAQ","IRQ");
	cc.options[cc.options.length] = new Option ("IRELAND","IRL");
	cc.options[cc.options.length] = new Option ("ISRAEL","ISR");
	cc.options[cc.options.length] = new Option ("ITALY","ITA");
	cc.options[cc.options.length] = new Option ("JAMAICA","JAM");
	cc.options[cc.options.length] = new Option ("JAPAN","JPN");
	cc.options[cc.options.length] = new Option ("JORDAN","JOR");
	cc.options[cc.options.length] = new Option ("KAZAKHSTAN","KAZ");
	cc.options[cc.options.length] = new Option ("KENYA","KEN");
	cc.options[cc.options.length] = new Option ("KIRIBATI","KIR");
	cc.options[cc.options.length] = new Option ("KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF","PRK");
	cc.options[cc.options.length] = new Option ("KOREA, REPUBLIC OF","KOR");
	cc.options[cc.options.length] = new Option ("KUWAIT","KWT");
	cc.options[cc.options.length] = new Option ("KYRGYZSTAN","KGZ");
	cc.options[cc.options.length] = new Option ("LAO PEOPLE'S DEMOCRATIC REPUBLIC","LAO");
	cc.options[cc.options.length] = new Option ("LATVIA","LVA");
	cc.options[cc.options.length] = new Option ("LEBANON","LBN");
	cc.options[cc.options.length] = new Option ("LESOTHO","LSO");
	cc.options[cc.options.length] = new Option ("LIBERIA","LBR");
	cc.options[cc.options.length] = new Option ("LIBYAN ARAB JAMAHIRIYA","LBY");
	cc.options[cc.options.length] = new Option ("LIECHTENSTEIN","LIE");
	cc.options[cc.options.length] = new Option ("LITHUANIA","LTU");
	cc.options[cc.options.length] = new Option ("LUXEMBOURG","LUX");
	cc.options[cc.options.length] = new Option ("MACAU","MAC");
	cc.options[cc.options.length] = new Option ("MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF","MKD");
	cc.options[cc.options.length] = new Option ("MADAGASCAR","MDG");
	cc.options[cc.options.length] = new Option ("MALAWI","MWI");
	cc.options[cc.options.length] = new Option ("MALAYSIA","MYS");
	cc.options[cc.options.length] = new Option ("MALDIVES","MDV");
	cc.options[cc.options.length] = new Option ("MALI","MLI");
	cc.options[cc.options.length] = new Option ("MALTA","MLT");
	cc.options[cc.options.length] = new Option ("MARSHALL ISLANDS","MHL");
	cc.options[cc.options.length] = new Option ("MARTINIQUE","MTQ");
	cc.options[cc.options.length] = new Option ("MAURITANIA","MRT");
	cc.options[cc.options.length] = new Option ("MAURITIUS","MUS");
	cc.options[cc.options.length] = new Option ("MAYOTTE","MYT");
	cc.options[cc.options.length] = new Option ("MEXICO","MEX");
	cc.options[cc.options.length] = new Option ("MICRONESIA, FEDERATED STATES OF","FSM");
	cc.options[cc.options.length] = new Option ("MOLDOVA, REPUBLIC OF","MDA");
	cc.options[cc.options.length] = new Option ("MONACO","MCO");
	cc.options[cc.options.length] = new Option ("MONGOLIA","MNG");
	cc.options[cc.options.length] = new Option ("MONTSERRAT","MSR");
	cc.options[cc.options.length] = new Option ("MOROCCO","MAR");
	cc.options[cc.options.length] = new Option ("MOZAMBIQUE","MOZ");
	cc.options[cc.options.length] = new Option ("MYANMAR","MMR");
	cc.options[cc.options.length] = new Option ("NAMIBIA","NAM");
	cc.options[cc.options.length] = new Option ("NAURU","NRU");
	cc.options[cc.options.length] = new Option ("NEPAL","NPL");
	cc.options[cc.options.length] = new Option ("NETHERLANDS","NLD");
	cc.options[cc.options.length] = new Option ("NETHERLANDS ANTILLES","ANT");
	cc.options[cc.options.length] = new Option ("NEW CALEDONIA","NCL");
	cc.options[cc.options.length] = new Option ("NEW ZEALAND","NZL");
	cc.options[cc.options.length] = new Option ("NICARAGUA","NIC");
	cc.options[cc.options.length] = new Option ("NIGER","NER");
	cc.options[cc.options.length] = new Option ("NIGERIA","NGA");
	cc.options[cc.options.length] = new Option ("NIUE","NIU");
	cc.options[cc.options.length] = new Option ("NORFOLK ISLAND","NFK");
	cc.options[cc.options.length] = new Option ("NORTHERN MARIANA ISLANDS","MNP");
	cc.options[cc.options.length] = new Option ("NORWAY","NOR");
	cc.options[cc.options.length] = new Option ("OMAN","OMN");
	cc.options[cc.options.length] = new Option ("PAKISTAN","PAK");
	cc.options[cc.options.length] = new Option ("PALAU","PLW");
	cc.options[cc.options.length] = new Option ("PANAMA","PAN");
	cc.options[cc.options.length] = new Option ("PAPUA NEW GUINEA","PNG");
	cc.options[cc.options.length] = new Option ("PARAGUAY","PRY");
	cc.options[cc.options.length] = new Option ("PERU","PER");
	cc.options[cc.options.length] = new Option ("PHILIPPINES","PHL");
	cc.options[cc.options.length] = new Option ("PITCAIRN","PCN");
	cc.options[cc.options.length] = new Option ("POLAND","POL");
	cc.options[cc.options.length] = new Option ("PORTUGAL","PRT");
	cc.options[cc.options.length] = new Option ("PUERTO RICO","PRI");
	cc.options[cc.options.length] = new Option ("QATAR","QAT");
	cc.options[cc.options.length] = new Option ("REUNION","REU");
	cc.options[cc.options.length] = new Option ("ROMANIA","ROM");
	cc.options[cc.options.length] = new Option ("RUSSIAN FEDERATION","RUS");
	cc.options[cc.options.length] = new Option ("RWANDA","RWA");
	cc.options[cc.options.length] = new Option ("SAINT KITTS AND NEVIS","KNA");
	cc.options[cc.options.length] = new Option ("SAINT LUCIA","LCA");
	cc.options[cc.options.length] = new Option ("SAINT VINCENT AND THE GRENADINES","VCT");
	cc.options[cc.options.length] = new Option ("SAMOA","WSM");
	cc.options[cc.options.length] = new Option ("SAN MARINO","SMR");
	cc.options[cc.options.length] = new Option ("SAO TOME AND PRINCIPE","STP");
	cc.options[cc.options.length] = new Option ("SAUDI ARABIA","SAU");
	cc.options[cc.options.length] = new Option ("SENEGAL","SEN");
	cc.options[cc.options.length] = new Option ("SEYCHELLES","SYC");
	cc.options[cc.options.length] = new Option ("SIERRA LEONE","SLE");
	cc.options[cc.options.length] = new Option ("SINGAPORE","SGP");
	cc.options[cc.options.length] = new Option ("SLOVAKIA (SLOVAK REPUBLIC)","SVK");
	cc.options[cc.options.length] = new Option ("SLOVENIA","SVN");
	cc.options[cc.options.length] = new Option ("SOLOMON ISLANDS","SLB");
	cc.options[cc.options.length] = new Option ("SOMALIA","SOM");
	cc.options[cc.options.length] = new Option ("SOUTH AFRICA","ZAF");
	cc.options[cc.options.length] = new Option ("SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS","SGS");
	cc.options[cc.options.length] = new Option ("SPAIN","ESP");
	cc.options[cc.options.length] = new Option ("SRI LANKA","LKA");
	cc.options[cc.options.length] = new Option ("ST. HELENA","SHN");
	cc.options[cc.options.length] = new Option ("ST. PIERRE AND MIQUELON","SPM");
	cc.options[cc.options.length] = new Option ("SUDAN","SDN");
	cc.options[cc.options.length] = new Option ("SURINAME","SUR");
	cc.options[cc.options.length] = new Option ("SVALBARD AND JAN MAYEN ISLANDS","SJM");
	cc.options[cc.options.length] = new Option ("SWAZILAND","SWZ");
	cc.options[cc.options.length] = new Option ("SWEDEN","SWE");
	cc.options[cc.options.length] = new Option ("SWITZERLAND","CHE");
	cc.options[cc.options.length] = new Option ("SYRIAN ARAB REPUBLIC","SYR");
	cc.options[cc.options.length] = new Option ("TAIWAN, PROVINCE OF CHINA","TWN");
	cc.options[cc.options.length] = new Option ("TAJIKISTAN","TJK");
	cc.options[cc.options.length] = new Option ("TANZANIA, UNITED REPUBLIC OF","TZA");
	cc.options[cc.options.length] = new Option ("THAILAND","THA");
	cc.options[cc.options.length] = new Option ("TOGO","TGO");
	cc.options[cc.options.length] = new Option ("TOKELAU","TKL");
	cc.options[cc.options.length] = new Option ("TONGA","TON");
	cc.options[cc.options.length] = new Option ("TRINIDAD AND TOBAGO","TTO");
	cc.options[cc.options.length] = new Option ("TUNISIA","TUN");
	cc.options[cc.options.length] = new Option ("TURKEY","TUR");
	cc.options[cc.options.length] = new Option ("TURKMENISTAN","TKM");
	cc.options[cc.options.length] = new Option ("TURKS AND CAICOS ISLANDS","TCA");
	cc.options[cc.options.length] = new Option ("TUVALU","TUV");
	cc.options[cc.options.length] = new Option ("UGANDA","UGA");
	cc.options[cc.options.length] = new Option ("UKRAINE","UKR");
	cc.options[cc.options.length] = new Option ("UNITED ARAB EMIRATES","ARE");
	cc.options[cc.options.length] = new Option ("UNITED KINGDOM","GBR");
	cc.options[cc.options.length] = new Option ("UNITED STATES","USA");
	cc.options[cc.options.length] = new Option ("UNITED STATES MINOR OUTLYING ISLANDS","UMI");
	cc.options[cc.options.length] = new Option ("URUGUAY","URY");
	cc.options[cc.options.length] = new Option ("UZBEKISTAN","UZB");
	cc.options[cc.options.length] = new Option ("VANUATU","VUT");
	cc.options[cc.options.length] = new Option ("VENEZUELA","VEN");
	cc.options[cc.options.length] = new Option ("VIET NAM","VNM");
	cc.options[cc.options.length] = new Option ("VIRGIN ISLANDS (BRITISH)","VGB");
	cc.options[cc.options.length] = new Option ("VIRGIN ISLANDS (U.S.)","VIR");
	cc.options[cc.options.length] = new Option ("WALLIS AND FUTUNA ISLANDS","WLF");
	cc.options[cc.options.length] = new Option ("WESTERN SAHARA","ESH");
	cc.options[cc.options.length] = new Option ("YEMEN","YEM");
	cc.options[cc.options.length] = new Option ("YUGOSLAVIA","YUG");
	cc.options[cc.options.length] = new Option ("ZAMBIA","ZMB");
	cc.options[cc.options.length] = new Option ("ZIMBABWE","ZWE");
	
	cc.selectedIndex = ccGBR; // index of Nederland
    
    for (i=cc.options.length-1; i != -1; i--)
    { if (cc.options[i].value == sCode)
        { 
            cc.selectedIndex = i;
        }
    };
}
  
