var statecount=1;
MetroList = new Array(108);
MetroList[1] = new Array(4);
MetroList[1][0] = "Ital";
MetroList[1][1] = "AGRI";
MetroList[1][2] = "Agrigento";
MetroList[1][3] = "0";
MetroList[2] = new Array(4);
MetroList[2][0] = "Ital";
MetroList[2][1] = "ALE";
MetroList[2][2] = "Alessandria";
MetroList[2][3] = "0";
MetroList[3] = new Array(4);
MetroList[3][0] = "Ital";
MetroList[3][1] = "ANCO";
MetroList[3][2] = "Ancona";
MetroList[3][3] = "0";
MetroList[4] = new Array(4);
MetroList[4][0] = "Ital";
MetroList[4][1] = "AOST";
MetroList[4][2] = "Aosta";
MetroList[4][3] = "0";
MetroList[5] = new Array(4);
MetroList[5][0] = "Ital";
MetroList[5][1] = "AREZ";
MetroList[5][2] = "Arezzo";
MetroList[5][3] = "0";
MetroList[6] = new Array(4);
MetroList[6][0] = "Ital";
MetroList[6][1] = "APIC";
MetroList[6][2] = "Ascoli Piceno";
MetroList[6][3] = "0";
MetroList[7] = new Array(4);
MetroList[7][0] = "Ital";
MetroList[7][1] = "ASTI";
MetroList[7][2] = "Asti";
MetroList[7][3] = "0";
MetroList[8] = new Array(4);
MetroList[8][0] = "Ital";
MetroList[8][1] = "AVEL";
MetroList[8][2] = "Avellino";
MetroList[8][3] = "0";
MetroList[9] = new Array(4);
MetroList[9][0] = "Ital";
MetroList[9][1] = "BARI";
MetroList[9][2] = "Bari";
MetroList[9][3] = "0";
MetroList[10] = new Array(4);
MetroList[10][0] = "Ital";
MetroList[10][1] = "BLNO";
MetroList[10][2] = "Belluno";
MetroList[10][3] = "0";
MetroList[11] = new Array(4);
MetroList[11][0] = "Ital";
MetroList[11][1] = "BENE";
MetroList[11][2] = "Benevento";
MetroList[11][3] = "0";
MetroList[12] = new Array(4);
MetroList[12][0] = "Ital";
MetroList[12][1] = "BERG";
MetroList[12][2] = "Bergamo";
MetroList[12][3] = "0";
MetroList[13] = new Array(4);
MetroList[13][0] = "Ital";
MetroList[13][1] = "BIE";
MetroList[13][2] = "Biella";
MetroList[13][3] = "0";
MetroList[14] = new Array(4);
MetroList[14][0] = "Ital";
MetroList[14][1] = "Bolo";
MetroList[14][2] = "Bologna";
MetroList[14][3] = "0";
MetroList[15] = new Array(4);
MetroList[15][0] = "Ital";
MetroList[15][1] = "BOLZ";
MetroList[15][2] = "Bolzano";
MetroList[15][3] = "0";
MetroList[16] = new Array(4);
MetroList[16][0] = "Ital";
MetroList[16][1] = "BRSC";
MetroList[16][2] = "Brescia";
MetroList[16][3] = "0";
MetroList[17] = new Array(4);
MetroList[17][0] = "Ital";
MetroList[17][1] = "BRIN";
MetroList[17][2] = "Brindisi";
MetroList[17][3] = "0";
MetroList[18] = new Array(4);
MetroList[18][0] = "Ital";
MetroList[18][1] = "CAGL";
MetroList[18][2] = "Cagliari";
MetroList[18][3] = "0";
MetroList[19] = new Array(4);
MetroList[19][0] = "Ital";
MetroList[19][1] = "CALT";
MetroList[19][2] = "Caltanissetta";
MetroList[19][3] = "0";
MetroList[20] = new Array(4);
MetroList[20][0] = "Ital";
MetroList[20][1] = "CAMP";
MetroList[20][2] = "Campobasso";
MetroList[20][3] = "0";
MetroList[21] = new Array(4);
MetroList[21][0] = "Ital";
MetroList[21][1] = "CASE";
MetroList[21][2] = "Caserta";
MetroList[21][3] = "0";
MetroList[22] = new Array(4);
MetroList[22][0] = "Ital";
MetroList[22][1] = "CATA";
MetroList[22][2] = "Catania";
MetroList[22][3] = "0";
MetroList[23] = new Array(4);
MetroList[23][0] = "Ital";
MetroList[23][1] = "CTNZ";
MetroList[23][2] = "Catanzaro";
MetroList[23][3] = "0";
MetroList[24] = new Array(4);
MetroList[24][0] = "Ital";
MetroList[24][1] = "CESE";
MetroList[24][2] = "Cesena";
MetroList[24][3] = "0";
MetroList[25] = new Array(4);
MetroList[25][0] = "Ital";
MetroList[25][1] = "CHIE";
MetroList[25][2] = "Chieti";
MetroList[25][3] = "0";
MetroList[26] = new Array(4);
MetroList[26][0] = "Ital";
MetroList[26][1] = "COMO";
MetroList[26][2] = "Como";
MetroList[26][3] = "0";
MetroList[27] = new Array(4);
MetroList[27][0] = "Ital";
MetroList[27][1] = "COSE";
MetroList[27][2] = "Cosenza";
MetroList[27][3] = "0";
MetroList[28] = new Array(4);
MetroList[28][0] = "Ital";
MetroList[28][1] = "CREM";
MetroList[28][2] = "Cremona";
MetroList[28][3] = "0";
MetroList[29] = new Array(4);
MetroList[29][0] = "Ital";
MetroList[29][1] = "CROT";
MetroList[29][2] = "Crotone";
MetroList[29][3] = "0";
MetroList[30] = new Array(4);
MetroList[30][0] = "Ital";
MetroList[30][1] = "CUNE";
MetroList[30][2] = "Cuneo";
MetroList[30][3] = "0";
MetroList[31] = new Array(4);
MetroList[31][0] = "Ital";
MetroList[31][1] = "EMPO";
MetroList[31][2] = "Empoli";
MetroList[31][3] = "0";
MetroList[32] = new Array(4);
MetroList[32][0] = "Ital";
MetroList[32][1] = "ENNA";
MetroList[32][2] = "Enna";
MetroList[32][3] = "0";
MetroList[33] = new Array(4);
MetroList[33][0] = "Ital";
MetroList[33][1] = "FERR";
MetroList[33][2] = "Ferrara";
MetroList[33][3] = "0";
MetroList[34] = new Array(4);
MetroList[34][0] = "Ital";
MetroList[34][1] = "Fire";
MetroList[34][2] = "Firenze";
MetroList[34][3] = "0";
MetroList[35] = new Array(4);
MetroList[35][0] = "Ital";
MetroList[35][1] = "FOGG";
MetroList[35][2] = "Foggia";
MetroList[35][3] = "0";
MetroList[36] = new Array(4);
MetroList[36][0] = "Ital";
MetroList[36][1] = "FORL";
MetroList[36][2] = "Forlì";
MetroList[36][3] = "0";
MetroList[37] = new Array(4);
MetroList[37][0] = "Ital";
MetroList[37][1] = "FROS";
MetroList[37][2] = "Frosinone";
MetroList[37][3] = "0";
MetroList[38] = new Array(4);
MetroList[38][0] = "Ital";
MetroList[38][1] = "Geno";
MetroList[38][2] = "Genova";
MetroList[38][3] = "0";
MetroList[39] = new Array(4);
MetroList[39][0] = "Ital";
MetroList[39][1] = "GORI";
MetroList[39][2] = "Gorizia";
MetroList[39][3] = "0";
MetroList[40] = new Array(4);
MetroList[40][0] = "Ital";
MetroList[40][1] = "GROS";
MetroList[40][2] = "Grosseto";
MetroList[40][3] = "0";
MetroList[41] = new Array(4);
MetroList[41][0] = "Ital";
MetroList[41][1] = "IMOL";
MetroList[41][2] = "Imola";
MetroList[41][3] = "6";
MetroList[42] = new Array(4);
MetroList[42][0] = "Ital";
MetroList[42][1] = "IMPE";
MetroList[42][2] = "Imperia";
MetroList[42][3] = "0";
MetroList[43] = new Array(4);
MetroList[43][0] = "Ital";
MetroList[43][1] = "ISRN";
MetroList[43][2] = "Isernia";
MetroList[43][3] = "0";
MetroList[44] = new Array(4);
MetroList[44][0] = "Ital";
MetroList[44][1] = "LSPZ";
MetroList[44][2] = "La Spezia";
MetroList[44][3] = "0";
MetroList[45] = new Array(4);
MetroList[45][0] = "Ital";
MetroList[45][1] = "AQUI";
MetroList[45][2] = "L'Aquila";
MetroList[45][3] = "0";
MetroList[46] = new Array(4);
MetroList[46][0] = "Ital";
MetroList[46][1] = "LATI";
MetroList[46][2] = "Latina";
MetroList[46][3] = "0";
MetroList[47] = new Array(4);
MetroList[47][0] = "Ital";
MetroList[47][1] = "LECC";
MetroList[47][2] = "Lecce";
MetroList[47][3] = "0";
MetroList[48] = new Array(4);
MetroList[48][0] = "Ital";
MetroList[48][1] = "LCCO";
MetroList[48][2] = "Lecco";
MetroList[48][3] = "0";
MetroList[49] = new Array(4);
MetroList[49][0] = "Ital";
MetroList[49][1] = "LIVO";
MetroList[49][2] = "Livorno";
MetroList[49][3] = "0";
MetroList[50] = new Array(4);
MetroList[50][0] = "Ital";
MetroList[50][1] = "Lodi";
MetroList[50][2] = "Lodi";
MetroList[50][3] = "0";
MetroList[51] = new Array(4);
MetroList[51][0] = "Ital";
MetroList[51][1] = "Lucc";
MetroList[51][2] = "Lucca";
MetroList[51][3] = "0";
MetroList[52] = new Array(4);
MetroList[52][0] = "Ital";
MetroList[52][1] = "MACE";
MetroList[52][2] = "Macerata";
MetroList[52][3] = "0";
MetroList[53] = new Array(4);
MetroList[53][0] = "Ital";
MetroList[53][1] = "MANT";
MetroList[53][2] = "Mantova";
MetroList[53][3] = "0";
MetroList[54] = new Array(4);
MetroList[54][0] = "Ital";
MetroList[54][1] = "MACA";
MetroList[54][2] = "Massa Carrara";
MetroList[54][3] = "0";
MetroList[55] = new Array(4);
MetroList[55][0] = "Ital";
MetroList[55][1] = "MATE";
MetroList[55][2] = "Matera";
MetroList[55][3] = "0";
MetroList[56] = new Array(4);
MetroList[56][0] = "Ital";
MetroList[56][1] = "MESS";
MetroList[56][2] = "Messina";
MetroList[56][3] = "0";
MetroList[57] = new Array(4);
MetroList[57][0] = "Ital";
MetroList[57][1] = "Mila";
MetroList[57][2] = "Milano";
MetroList[57][3] = "0";
MetroList[58] = new Array(4);
MetroList[58][0] = "Ital";
MetroList[58][1] = "MODE";
MetroList[58][2] = "Modena";
MetroList[58][3] = "0";
MetroList[59] = new Array(4);
MetroList[59][0] = "Ital";
MetroList[59][1] = "MONZ";
MetroList[59][2] = "Monza e Brianza";
MetroList[59][3] = "6";
MetroList[60] = new Array(4);
MetroList[60][0] = "Ital";
MetroList[60][1] = "Napo";
MetroList[60][2] = "Napoli";
MetroList[60][3] = "0";
MetroList[61] = new Array(4);
MetroList[61][0] = "Ital";
MetroList[61][1] = "NOVA";
MetroList[61][2] = "Novara";
MetroList[61][3] = "0";
MetroList[62] = new Array(4);
MetroList[62][0] = "Ital";
MetroList[62][1] = "NUOR";
MetroList[62][2] = "Nuoro";
MetroList[62][3] = "0";
MetroList[63] = new Array(4);
MetroList[63][0] = "Ital";
MetroList[63][1] = "ORIS";
MetroList[63][2] = "Oristano";
MetroList[63][3] = "0";
MetroList[64] = new Array(4);
MetroList[64][0] = "Ital";
MetroList[64][1] = "pado";
MetroList[64][2] = "Padova";
MetroList[64][3] = "0";
MetroList[65] = new Array(4);
MetroList[65][0] = "Ital";
MetroList[65][1] = "Pale";
MetroList[65][2] = "Palermo";
MetroList[65][3] = "0";
MetroList[66] = new Array(4);
MetroList[66][0] = "Ital";
MetroList[66][1] = "Parm";
MetroList[66][2] = "Parma";
MetroList[66][3] = "0";
MetroList[67] = new Array(4);
MetroList[67][0] = "Ital";
MetroList[67][1] = "PAVI";
MetroList[67][2] = "Pavia";
MetroList[67][3] = "0";
MetroList[68] = new Array(4);
MetroList[68][0] = "Ital";
MetroList[68][1] = "PERU";
MetroList[68][2] = "Perugia";
MetroList[68][3] = "0";
MetroList[69] = new Array(4);
MetroList[69][0] = "Ital";
MetroList[69][1] = "PESA";
MetroList[69][2] = "Pesaro";
MetroList[69][3] = "0";
MetroList[70] = new Array(4);
MetroList[70][0] = "Ital";
MetroList[70][1] = "PESC";
MetroList[70][2] = "Pescara";
MetroList[70][3] = "0";
MetroList[71] = new Array(4);
MetroList[71][0] = "Ital";
MetroList[71][1] = "PIAC";
MetroList[71][2] = "Piacenza";
MetroList[71][3] = "0";
MetroList[72] = new Array(4);
MetroList[72][0] = "Ital";
MetroList[72][1] = "Pisa";
MetroList[72][2] = "Pisa";
MetroList[72][3] = "0";
MetroList[73] = new Array(4);
MetroList[73][0] = "Ital";
MetroList[73][1] = "PIST";
MetroList[73][2] = "Pistoia";
MetroList[73][3] = "0";
MetroList[74] = new Array(4);
MetroList[74][0] = "Ital";
MetroList[74][1] = "PORD";
MetroList[74][2] = "Pordenone";
MetroList[74][3] = "0";
MetroList[75] = new Array(4);
MetroList[75][0] = "Ital";
MetroList[75][1] = "POTE";
MetroList[75][2] = "Potenza";
MetroList[75][3] = "0";
MetroList[76] = new Array(4);
MetroList[76][0] = "Ital";
MetroList[76][1] = "PRAT";
MetroList[76][2] = "Prato";
MetroList[76][3] = "0";
MetroList[77] = new Array(4);
MetroList[77][0] = "Ital";
MetroList[77][1] = "Ragu";
MetroList[77][2] = "Ragusa";
MetroList[77][3] = "0";
MetroList[78] = new Array(4);
MetroList[78][0] = "Ital";
MetroList[78][1] = "RAVN";
MetroList[78][2] = "Ravenna";
MetroList[78][3] = "0";
MetroList[79] = new Array(4);
MetroList[79][0] = "Ital";
MetroList[79][1] = "RGCA";
MetroList[79][2] = "Reggio Calabria";
MetroList[79][3] = "0";
MetroList[80] = new Array(4);
MetroList[80][0] = "Ital";
MetroList[80][1] = "RGEM";
MetroList[80][2] = "Reggio Emilia";
MetroList[80][3] = "0";
MetroList[81] = new Array(4);
MetroList[81][0] = "Ital";
MetroList[81][1] = "Riet";
MetroList[81][2] = "Rieti";
MetroList[81][3] = "0";
MetroList[82] = new Array(4);
MetroList[82][0] = "Ital";
MetroList[82][1] = "RIMI";
MetroList[82][2] = "Rimini";
MetroList[82][3] = "0";
MetroList[83] = new Array(4);
MetroList[83][0] = "Ital";
MetroList[83][1] = "Roma";
MetroList[83][2] = "Roma";
MetroList[83][3] = "0";
MetroList[84] = new Array(4);
MetroList[84][0] = "Ital";
MetroList[84][1] = "ROVI";
MetroList[84][2] = "Rovigo";
MetroList[84][3] = "0";
MetroList[85] = new Array(4);
MetroList[85][0] = "Ital";
MetroList[85][1] = "sale";
MetroList[85][2] = "Salerno";
MetroList[85][3] = "0";
MetroList[86] = new Array(4);
MetroList[86][0] = "Ital";
MetroList[86][1] = "Sass";
MetroList[86][2] = "Sassari";
MetroList[86][3] = "0";
MetroList[87] = new Array(4);
MetroList[87][0] = "Ital";
MetroList[87][1] = "Savo";
MetroList[87][2] = "Savona";
MetroList[87][3] = "0";
MetroList[88] = new Array(4);
MetroList[88][0] = "Ital";
MetroList[88][1] = "sien";
MetroList[88][2] = "Siena";
MetroList[88][3] = "0";
MetroList[89] = new Array(4);
MetroList[89][0] = "Ital";
MetroList[89][1] = "Sira";
MetroList[89][2] = "Siracusa";
MetroList[89][3] = "0";
MetroList[90] = new Array(4);
MetroList[90][0] = "Ital";
MetroList[90][1] = "Sond";
MetroList[90][2] = "Sondrio";
MetroList[90][3] = "0";
MetroList[91] = new Array(4);
MetroList[91][0] = "Ital";
MetroList[91][1] = "Tara";
MetroList[91][2] = "Taranto";
MetroList[91][3] = "0";
MetroList[92] = new Array(4);
MetroList[92][0] = "Ital";
MetroList[92][1] = "Tera";
MetroList[92][2] = "Teramo";
MetroList[92][3] = "0";
MetroList[93] = new Array(4);
MetroList[93][0] = "Ital";
MetroList[93][1] = "Tern";
MetroList[93][2] = "Terni";
MetroList[93][3] = "0";
MetroList[94] = new Array(4);
MetroList[94][0] = "Ital";
MetroList[94][1] = "Tori";
MetroList[94][2] = "Torino";
MetroList[94][3] = "0";
MetroList[95] = new Array(4);
MetroList[95][0] = "Ital";
MetroList[95][1] = "Trap";
MetroList[95][2] = "Trapani";
MetroList[95][3] = "0";
MetroList[96] = new Array(4);
MetroList[96][0] = "Ital";
MetroList[96][1] = "Tren";
MetroList[96][2] = "Trento";
MetroList[96][3] = "0";
MetroList[97] = new Array(4);
MetroList[97][0] = "Ital";
MetroList[97][1] = "Trev";
MetroList[97][2] = "Treviso";
MetroList[97][3] = "0";
MetroList[98] = new Array(4);
MetroList[98][0] = "Ital";
MetroList[98][1] = "Trie";
MetroList[98][2] = "Trieste";
MetroList[98][3] = "0";
MetroList[99] = new Array(4);
MetroList[99][0] = "Ital";
MetroList[99][1] = "Udin";
MetroList[99][2] = "Udine";
MetroList[99][3] = "0";
MetroList[100] = new Array(4);
MetroList[100][0] = "Ital";
MetroList[100][1] = "URBI";
MetroList[100][2] = "Urbino";
MetroList[100][3] = "0";
MetroList[101] = new Array(4);
MetroList[101][0] = "Ital";
MetroList[101][1] = "Vare";
MetroList[101][2] = "Varese";
MetroList[101][3] = "0";
MetroList[102] = new Array(4);
MetroList[102][0] = "Ital";
MetroList[102][1] = "Vene";
MetroList[102][2] = "Venezia";
MetroList[102][3] = "0";
MetroList[103] = new Array(4);
MetroList[103][0] = "Ital";
MetroList[103][1] = "Verb";
MetroList[103][2] = "Verbania";
MetroList[103][3] = "0";
MetroList[104] = new Array(4);
MetroList[104][0] = "Ital";
MetroList[104][1] = "Verc";
MetroList[104][2] = "Vercelli";
MetroList[104][3] = "0";
MetroList[105] = new Array(4);
MetroList[105][0] = "Ital";
MetroList[105][1] = "Vero";
MetroList[105][2] = "Verona";
MetroList[105][3] = "0";
MetroList[106] = new Array(4);
MetroList[106][0] = "Ital";
MetroList[106][1] = "VIVA";
MetroList[106][2] = "Vibo Valentia";
MetroList[106][3] = "0";
MetroList[107] = new Array(4);
MetroList[107][0] = "Ital";
MetroList[107][1] = "Vice";
MetroList[107][2] = "Vicenza";
MetroList[107][3] = "0";
MetroList[108] = new Array(4);
MetroList[108][0] = "Ital";
MetroList[108][1] = "Vite";
MetroList[108][2] = "Viterbo";
MetroList[108][3] = "0";
function PopMetros(m,opt){
with(window.document.frmindexleft){
var indexstate=eval("window.document.frmindexleft.cbostate"+opt)
var indexmetro=eval("window.document.frmindexleft.cbometro"+opt)
var c_len = indexmetro.options.length;
var insertoption;
var statevalue='';
if (c_len > 1){
for(x=1;x<=c_len;x++){
indexmetro.options[1] = null;
}
}
var statecode='';
if(m !=null && m!='' && statecount.value>1){
for(i=1;i<=108;i++){
if(MetroList[i][1]==m){
statecode=MetroList[i][0];
break;
}
}
for(i=0;i<=indexstate.length-1;i++){
if(indexstate.options[i].value==statecode){
indexstate.selectedIndex=i;
break;
}
}
}
if(statecount.value>1){
statevalue=indexstate.options[indexstate.selectedIndex].value;
}
else{
statevalue=MetroList[1][0];
}
for(i=1;i<=108;i++){
if(MetroList[i][0] == statevalue){
if (navigator.appName.indexOf('Explorer') != -1){
var newoption = window.document.createElement("OPTION");
newoption.value = MetroList[i][1];
newoption.text = MetroList[i][2];
indexmetro.add(newoption);
if (m !=null && m!='' && newoption.value.toUpperCase() == m.toUpperCase()){
si = indexmetro.length - 1;
indexmetro.options[si].selected = true;
}
}
else{
var nopt = new Option(MetroList[i][2], MetroList[i][1]);
indexmetro[indexmetro.length] = nopt;
if (m !=null && m!='' && MetroList[i][1].toUpperCase() == m.toUpperCase()){
nopt.selected = true;
}
}
}
}
}
}

