function ConvertCountry(s){


var CountryMap = new Array();

CountryMap['AFN']='AF';
CountryMap['ALB']='AL';
CountryMap['DZA']='DZ';
CountryMap['ASM']='AS';
CountryMap['AND']='AD';
CountryMap['AOL']='AO';
CountryMap['AIL']='AI';
CountryMap['AQC']='AQ';
CountryMap['ATG']='AG';
CountryMap['ARG']='AR';
CountryMap['AMN']='AM';
CountryMap['AWB']='AW';
CountryMap['AUS']='AU';
CountryMap['AUT']='AT';
CountryMap['AZB']='AZ';
CountryMap['BHS']='BS';
CountryMap['BHR']='BH';
CountryMap['BDH']='BD';
CountryMap['BRB']='BB';
CountryMap['BYR']='BY';
CountryMap['BEL']='BE';
CountryMap['BLZ']='BZ';
CountryMap['BJN']='BJ';
CountryMap['BMU']='BM';
CountryMap['BTN']='BT';
CountryMap['BOL']='BO';
CountryMap['BIH']='BA';
CountryMap['BWN']='BW';
CountryMap['BVI']='BV';
CountryMap['BRA']='BR';
CountryMap['BND']='BN';
CountryMap['BGR']='BG';
CountryMap['BFO']='BF';
CountryMap['BIR']='BI';
CountryMap['KHC']='KH';
CountryMap['CMR']='CM';
CountryMap['CAN']='CA';
CountryMap['CVD']='CV';
CountryMap['CYM']='KY';
CountryMap['CFA']='CF';
CountryMap['TCD']='TD';
CountryMap['CHL']='CL';
CountryMap['CHN']='CN';
CountryMap['CXI']='CX';
CountryMap['CCD']='CC';
CountryMap['COL']='CO';
CountryMap['KMR']='KM';
CountryMap['CGO']='CG';
CountryMap['CDO']='CD';
CountryMap['CKI']='CK';
CountryMap['CRI']='CR';
CountryMap['CIV']='CI';
CountryMap['HRV']='HR';
CountryMap['CUB']='CU';
CountryMap['CYP']='CY';
CountryMap['CZE']='CZ';
CountryMap['DNK']='DK';
CountryMap['DJB']='DJ';
CountryMap['DMN']='DM';
CountryMap['DOM']='DO';
CountryMap['ECU']='EC';
CountryMap['EGY']='EG';
CountryMap['SLV']='SV';
CountryMap['GQE']='GQ';
CountryMap['ERT']='ER';
CountryMap['EST']='EE';
CountryMap['ETP']='ET';
CountryMap['FKI']='FK';
CountryMap['FRO']='FO';
CountryMap['FJI']='FJ';
CountryMap['FIN']='FI';
CountryMap['FRA']='FR';
CountryMap['GUF']='GF';
CountryMap['PFF']='PF';
CountryMap['TFS']='TF';
CountryMap['GAB']='GA';
CountryMap['GMB']='GM';
CountryMap['GEO']='GE';
CountryMap['DEU']='DE';
CountryMap['GHA']='GH';
CountryMap['GIB']='GI';
CountryMap['GRC']='GR';
CountryMap['GRL']='GL';
CountryMap['GRD']='GD';
CountryMap['GLP']='GP';
CountryMap['GUM']='GU';
CountryMap['GTM']='GT';
CountryMap['GNA']='GN';
CountryMap['GWB']='GW';
CountryMap['GUY']='GY';
CountryMap['HTI']='HT';
CountryMap['HMI']='HM';
CountryMap['HND']='HN';
CountryMap['HKG']='HK';
CountryMap['HUN']='HU';
CountryMap['ISL']='IS';
CountryMap['IND']='IN';
CountryMap['IDN']='ID';
CountryMap['IRN']='IR';
CountryMap['IQR']='IQ';
CountryMap['IRL']='IE';
CountryMap['ISR']='IL';
CountryMap['ITA']='IT';
CountryMap['JAM']='JM';
CountryMap['JPN']='JP';
CountryMap['JOR']='JO';
CountryMap['KAZ']='KZ';
CountryMap['KEN']='KE';
CountryMap['KIB']='KI';
CountryMap['PRK']='KP';
CountryMap['KOR']='KR';
CountryMap['KWT']='KW';
CountryMap['KGZ']='KG';
CountryMap['LAP']='LA';
CountryMap['LVA']='LV';
CountryMap['LBN']='LB';
CountryMap['LST']='LS';
CountryMap['LRB']='LR';
CountryMap['LYA']='LY';
CountryMap['LIE']='LI';
CountryMap['LTU']='LT';
CountryMap['LUX']='LU';
CountryMap['MOC']='MO';
CountryMap['MKD']='MK';
CountryMap['MGS']='MG';
CountryMap['MWI']='MW';
CountryMap['MYS']='MY';
CountryMap['MVD']='MV';
CountryMap['MLI']='ML';
CountryMap['MLT']='MT';
CountryMap['MHS']='MH';
CountryMap['MTQ']='MQ';
CountryMap['MRI']='MR';
CountryMap['MUA']='MU';
CountryMap['YTE']='YT';
CountryMap['MEX']='MX';
CountryMap['FMS']='FM';
CountryMap['MMI']='MD';
CountryMap['MCO']='MC';
CountryMap['MNG']='MN';
CountryMap['MST']='MS';
CountryMap['MAR']='MA';
CountryMap['MZB']='MZ';
CountryMap['MMY']='MM';
CountryMap['NAB']='NA';
CountryMap['NRU']='NR';
CountryMap['NPL']='NP';
CountryMap['NLD']='NL';
CountryMap['ANT']='AN';
CountryMap['NCD']='NC';
CountryMap['NZL']='NZ';
CountryMap['NIC']='NI';
CountryMap['NEG']='NE';
CountryMap['NGA']='NG';
CountryMap['NUE']='NU';
CountryMap['NFI']='NF';
CountryMap['MPN']='MP';
CountryMap['NOR']='NO';
CountryMap['OMN']='OM';
CountryMap['PAK']='PK';
CountryMap['PWU']='PW';
CountryMap['PSO']='PS';
CountryMap['PAN']='PA';
CountryMap['PGG']='PG';
CountryMap['PRY']='PY';
CountryMap['PER']='PE';
CountryMap['PHL']='PH';
CountryMap['PNT']='PN';
CountryMap['POL']='PL';
CountryMap['PRT']='PT';
CountryMap['PRR']='PR';
CountryMap['QAT']='QA';
CountryMap['REU']='RE';
CountryMap['ROM']='RO';
CountryMap['RUS']='RU';
CountryMap['RWD']='RW';
CountryMap['SHN']='SH';
CountryMap['KNA']='KN';
CountryMap['LCS']='LC';
CountryMap['SPM']='PM';
CountryMap['VCG']='VC';
CountryMap['WSS']='WS';
CountryMap['SMR']='SM';
CountryMap['STP']='ST';
CountryMap['SAU']='SA';
CountryMap['SNG']='SN';
CountryMap['YUG']='CS';
CountryMap['SCH']='SC';
CountryMap['SLO']='SL';
CountryMap['SGP']='SG';
CountryMap['SVK']='SK';
CountryMap['SVN']='SI';
CountryMap['SBS']='SB';
CountryMap['SOM']='SO';
CountryMap['ZAF']='ZA';
CountryMap['GSS']='GS';
CountryMap['ESP']='ES';
CountryMap['LKS']='LK';
CountryMap['SDN']='SD';
CountryMap['SUR']='SR';
CountryMap['SJM']='SJ';
CountryMap['SZL']='SZ';
CountryMap['SWE']='SE';
CountryMap['CHE']='CH';
CountryMap['SYR']='SY';
CountryMap['TWN']='TW';
CountryMap['TJK']='TJ';
CountryMap['TZA']='TZ';
CountryMap['THA']='TH';
CountryMap['TPE']='TL';
CountryMap['TGO']='TG';
CountryMap['TKL']='TK';
CountryMap['TON']='TO';
CountryMap['TTO']='TT';
CountryMap['TNS']='TN';
CountryMap['TUR']='TR';
CountryMap['TMN']='TM';
CountryMap['TCA']='TC';
CountryMap['TVL']='TV';
CountryMap['UGN']='UG';
CountryMap['UKR']='UA';
CountryMap['UUU']='AE';
CountryMap['GBR']='GB';
CountryMap['UMO']='UM';
CountryMap['USA']='US';
CountryMap['URY']='UY';
CountryMap['UZB']='UZ';
CountryMap['VUT']='VU';
CountryMap['VAC']='VA';
CountryMap['VEN']='VE';
CountryMap['VNM']='VN';
CountryMap['VGB']='VG';
CountryMap['VIS']='VI';
CountryMap['WFT']='WF';
CountryMap['EHW']='EH';
CountryMap['YEM']='YE';
CountryMap['ZMB']='ZM';
CountryMap['ZWE']='ZW';

if(CountryMap[s]==null){
return null; 
}
else{
return CountryMap[s] ; 
}

}



