<!--

var formfilename;
var formdir;

var tariffe = new Array(11);

for (i = 0; i < tariffe.length; i++)
  tariffe[i] = new Array(58);

for (i = 0; i < tariffe.length; i++) {
 for (j = 0; j < tariffe[i].length; j++) {
  tariffe[i][j] = new Array(7);
 }
}

var to_loc_name = new Array();
var to_label = new Array();
 function init()
{
  formfilename='res_';
  formdir = 'https://secure.airports-shuttle.com/reservations/';
  document.formr.book_btn.disabled = true;

	if (screen.width <= 1030)
	  selw = 186;
	else
	  selw = 223;

  document.formr.form_arrival_location.style.width=selw+'px';
  document.formr.form_arrival_destination.style.width=selw+'px';

  document.formr.form_arrival_location.options.length = 0;
  document.formr.form_arrival_destination.options.length = 0;
  document.formr.form_arrival_location.options[0] = new Option('select','select');
  document.formr.form_arrival_destination.options[0] = new Option('select','select');

  document.formr.form_total_passengers.options.length = 0;
  document.formr.form_total_passengers.options[0] = new Option('select','select');
  document.formr.form_total_passengers.options[1] = new Option('1','1');
  document.formr.form_total_passengers.options[2] = new Option('2','2');
  document.formr.form_total_passengers.options[3] = new Option('3','3');
  document.formr.form_total_passengers.options[4] = new Option('4','4');
  document.formr.form_total_passengers.options[5] = new Option('5','5');
  document.formr.form_total_passengers.options[6] = new Option('6','6');
  document.formr.form_total_passengers.options[7] = new Option('7','7');
  document.formr.form_total_passengers.options[8] = new Option('8','8');
  document.formr.form_total_passengers.options[9] = new Option('9','9');
  document.formr.form_total_passengers.options[10] = new Option('10','10');
  document.formr.form_total_passengers.options[11] = new Option('11','11');
  document.formr.form_total_passengers.options[12] = new Option('12','12');
  document.formr.form_total_passengers.options[13] = new Option('13','13');
  document.formr.form_total_passengers.options[14] = new Option('14','14');
to_loc_name[to_loc_name.length] = 'Abano Terme';
to_label[to_label.length] = '-';

tariffe[1][0][0] = 'Venice Marco Polo Airport';
tariffe[1][1][0] = 'Venice city hotels';
tariffe[1][1][1] = '40';
tariffe[1][1][2] = 'apt';
tariffe[1][1][3] = 'VE';
tariffe[1][1][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][1][5] = '0,132,132,132,140,140,150,160,160,256,256,256,255,260,260';
tariffe[1][1][6] = '0,254,254,254,270,270,290,310,310,502,502,502,500,510,510';
tariffe[1][2][0] = 'Venice city hotels (via P. Roma)';
tariffe[1][2][1] = '50';
tariffe[1][2][2] = 'apt';
tariffe[1][2][3] = 'VE';
tariffe[1][2][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[1][2][5] = '0,100,100,100,110,110,120,186,186,220,220,220,226,0,0';
tariffe[1][2][6] = '0,196,196,196,210,210,235,357,357,430,430,430,440,0,0';
tariffe[1][3][0] = 'Venice Cruise Terminal';
tariffe[1][3][1] = '25';
tariffe[1][3][2] = 'apt';
tariffe[1][3][3] = 'VE';
tariffe[1][3][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[1][3][5] = '0,38,38,38,50,50,65,65,65,93,93,93,100,100,110';
tariffe[1][3][6] = '0,66,66,66,90,90,120,120,120,176,176,176,190,190,210';
tariffe[1][4][0] = 'Venice Lido';
tariffe[1][4][1] = '40';
tariffe[1][4][2] = 'apt';
tariffe[1][4][3] = 'VE';
tariffe[1][4][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][4][5] = '0,140,140,140,150,150,160,185,190,0,0,0,0,0,0';
tariffe[1][4][6] = '0,275,275,275,290,290,310,365,375,0,0,0,0,0,0';
tariffe[1][5][0] = 'Venice S. Clemente island';
tariffe[1][5][1] = '45';
tariffe[1][5][2] = 'apt';
tariffe[1][5][3] = 'VE';
tariffe[1][5][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][5][5] = '0,146,146,146,154,154,168,168,168,269,269,269,269,273,273';
tariffe[1][5][6] = '0,282,282,282,298,298,326,326,326,528,528,528,528,536,536';
tariffe[1][6][0] = 'Venice P.le Roma';
tariffe[1][6][1] = '25';
tariffe[1][6][2] = 'apt';
tariffe[1][6][3] = 'VE';
tariffe[1][6][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[1][6][5] = '0,40,40,40,50,50,60,60,60,90,90,90,95,95,95';
tariffe[1][6][6] = '0,70,70,70,90,90,110,110,110,170,170,170,180,180,180';
tariffe[1][7][0] = 'Venice Mestre railway';
tariffe[1][7][1] = '30';
tariffe[1][7][2] = 'apt';
tariffe[1][7][3] = 'VE';
tariffe[1][7][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[1][7][5] = '0,40,40,40,45,45,55,55,55,85,85,85,90,90,95';
tariffe[1][7][6] = '0,70,70,70,80,80,100,100,100,160,160,160,170,170,180';
tariffe[1][8][0] = 'Treviso Airport';
tariffe[1][8][1] = '60';
tariffe[1][8][2] = 'apt';
tariffe[1][8][3] = 'VE';
tariffe[1][8][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][8][5] = '0,70,70,70,75,75,85,85,85,150,150,150,155,155,155';
tariffe[1][8][6] = '0,130,130,130,140,140,160,160,160,290,290,290,300,300,300';
tariffe[1][9][0] = 'Trieste Cruise Terminal';
tariffe[1][9][1] = '100';
tariffe[1][9][2] = 'apt';
tariffe[1][9][3] = 'VE';
tariffe[1][9][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][9][5] = '0,233,233,233,250,250,270,270,270,0,0,0,0,0,0';
tariffe[1][9][6] = '0,456,456,456,490,490,530,530,530,0,0,0,0,0,0';
tariffe[1][10][0] = 'Abano Terme';
tariffe[1][10][1] = '45';
tariffe[1][10][2] = 'apt';
tariffe[1][10][3] = 'VE';
tariffe[1][10][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][10][5] = '0,90,90,90,105,105,115,115,115,0,0,0,0,0,0';
tariffe[1][10][6] = '0,170,170,170,200,200,220,220,220,0,0,0,0,0,0';
tariffe[1][11][0] = 'Alleghe';
tariffe[1][11][1] = '130';
tariffe[1][11][2] = 'apt';
tariffe[1][11][3] = 'VE';
tariffe[1][11][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][11][5] = '0,220,220,220,240,240,260,260,260,0,0,0,0,0,0';
tariffe[1][11][6] = '0,430,430,430,470,470,510,510,510,0,0,0,0,0,0';
tariffe[1][12][0] = 'Arabba';
tariffe[1][12][1] = '240';
tariffe[1][12][2] = 'apt';
tariffe[1][12][3] = 'VE';
tariffe[1][12][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][12][5] = '0,265,265,265,280,280,305,305,305,0,0,0,0,0,0';
tariffe[1][12][6] = '0,520,520,520,550,550,600,600,600,0,0,0,0,0,0';
tariffe[1][13][0] = 'Asolo';
tariffe[1][13][1] = '75';
tariffe[1][13][2] = 'apt';
tariffe[1][13][3] = 'VE';
tariffe[1][13][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][13][5] = '0,105,105,105,116,116,135,135,135,0,0,0,0,0,0';
tariffe[1][13][6] = '0,200,200,200,222,222,260,260,260,0,0,0,0,0,0';
tariffe[1][14][0] = 'Bassano del Grappa';
tariffe[1][14][1] = '90';
tariffe[1][14][2] = 'apt';
tariffe[1][14][3] = 'VE';
tariffe[1][14][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][14][5] = '0,135,135,135,150,150,165,165,165,0,0,0,0,0,0';
tariffe[1][14][6] = '0,260,260,260,290,290,320,320,320,0,0,0,0,0,0';
tariffe[1][15][0] = 'Bibione';
tariffe[1][15][1] = '90';
tariffe[1][15][2] = 'apt';
tariffe[1][15][3] = 'VE';
tariffe[1][15][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][15][5] = '0,130,130,130,145,145,160,160,160,0,0,0,0,0,0';
tariffe[1][15][6] = '0,250,250,250,280,280,310,310,310,0,0,0,0,0,0';
tariffe[1][16][0] = 'Burano - Torcello';
tariffe[1][16][1] = '30';
tariffe[1][16][2] = 'apt';
tariffe[1][16][3] = 'VE';
tariffe[1][16][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][16][5] = '0,210,210,210,220,220,230,260,265,0,0,0,0,0,0';
tariffe[1][16][6] = '0,420,420,420,435,435,460,520,525,0,0,0,0,0,0';
tariffe[1][17][0] = 'Ca Savio';
tariffe[1][17][1] = '80';
tariffe[1][17][2] = 'apt';
tariffe[1][17][3] = 'VE';
tariffe[1][17][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][17][5] = '0,85,85,85,95,95,100,100,100,185,185,185,185,185,185';
tariffe[1][17][6] = '0,160,160,160,180,180,190,190,190,360,360,360,360,360,360';
tariffe[1][18][0] = 'Camping Marina di Venezia';
tariffe[1][18][1] = '70';
tariffe[1][18][2] = 'apt';
tariffe[1][18][3] = 'VE';
tariffe[1][18][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][18][5] = '0,90,90,90,100,100,105,105,105,185,185,185,185,185,185';
tariffe[1][18][6] = '0,170,170,170,190,190,200,200,200,360,360,360,360,360,360';
tariffe[1][19][0] = 'Camping Union Lido';
tariffe[1][19][1] = '65';
tariffe[1][19][2] = 'apt';
tariffe[1][19][3] = 'VE';
tariffe[1][19][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][19][5] = '0,85,85,85,95,95,100,100,100,180,180,180,180,180,180';
tariffe[1][19][6] = '0,160,160,160,180,180,190,190,190,350,350,350,350,350,350';
tariffe[1][20][0] = 'Canazei';
tariffe[1][20][1] = '175';
tariffe[1][20][2] = 'apt';
tariffe[1][20][3] = 'VE';
tariffe[1][20][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][20][5] = '0,255,255,255,280,280,305,305,305,0,0,0,0,0,0';
tariffe[1][20][6] = '0,500,500,500,550,550,600,600,600,0,0,0,0,0,0';
tariffe[1][21][0] = 'Caorle';
tariffe[1][21][1] = '90';
tariffe[1][21][2] = 'apt';
tariffe[1][21][3] = 'VE';
tariffe[1][21][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[1][21][5] = '0,105,105,105,110,110,120,120,120,220,220,220,225,225,225';
tariffe[1][21][6] = '0,200,200,200,210,210,230,230,230,430,430,430,440,440,440';
tariffe[1][22][0] = 'Cavallino';
tariffe[1][22][1] = '60';
tariffe[1][22][2] = 'apt';
tariffe[1][22][3] = 'VE';
tariffe[1][22][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][22][5] = '0,85,85,85,95,95,100,100,100,180,180,180,180,180,180';
tariffe[1][22][6] = '0,160,160,160,180,180,190,190,190,350,350,350,350,350,350';
tariffe[1][23][0] = 'Cernobbio';
tariffe[1][23][1] = '240';
tariffe[1][23][2] = 'apt';
tariffe[1][23][3] = 'VE';
tariffe[1][23][4] = '0,10,10,10,23,23,43,43,43,32,32,32,32,32,32';
tariffe[1][23][5] = '0,487,487,487,564,564,566,566,566,0,0,0,0,0,0';
tariffe[1][23][6] = '0,964,964,964,1118,1118,1122,1122,1122,0,0,0,0,0,0';
tariffe[1][24][0] = 'Chioggia';
tariffe[1][24][1] = '55';
tariffe[1][24][2] = 'apt';
tariffe[1][24][3] = 'VE';
tariffe[1][24][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][24][5] = '0,95,95,95,105,105,115,115,115,0,0,0,0,0,0';
tariffe[1][24][6] = '0,180,180,180,200,200,220,220,220,0,0,0,0,0,0';
tariffe[1][25][0] = 'Colfosco';
tariffe[1][25][1] = '240';
tariffe[1][25][2] = 'apt';
tariffe[1][25][3] = 'VE';
tariffe[1][25][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][25][5] = '0,365,365,365,420,420,436,436,436,0,0,0,0,0,0';
tariffe[1][25][6] = '0,730,730,730,840,840,872,872,872,0,0,0,0,0,0';
tariffe[1][26][0] = 'Cortina d Ampezzo';
tariffe[1][26][1] = '180';
tariffe[1][26][2] = 'apt';
tariffe[1][26][3] = 'VE';
tariffe[1][26][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][26][5] = '0,220,220,220,260,260,280,280,280,0,0,0,0,0,0';
tariffe[1][26][6] = '0,435,435,435,510,510,550,550,550,0,0,0,0,0,0';
tariffe[1][27][0] = 'Corvara';
tariffe[1][27][1] = '240';
tariffe[1][27][2] = 'apt';
tariffe[1][27][3] = 'VE';
tariffe[1][27][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][27][5] = '0,280,280,280,310,310,335,335,335,0,0,0,0,0,0';
tariffe[1][27][6] = '0,555,555,555,615,615,655,655,655,0,0,0,0,0,0';
tariffe[1][28][0] = 'Duna Verde';
tariffe[1][28][1] = '50';
tariffe[1][28][2] = 'apt';
tariffe[1][28][3] = 'VE';
tariffe[1][28][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][28][5] = '0,145,145,145,165,165,175,175,175,0,0,0,0,0,0';
tariffe[1][28][6] = '0,285,285,285,330,330,347,347,347,0,0,0,0,0,0';
tariffe[1][29][0] = 'Eraclea';
tariffe[1][29][1] = '55';
tariffe[1][29][2] = 'apt';
tariffe[1][29][3] = 'VE';
tariffe[1][29][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][29][5] = '0,65,65,65,70,70,80,80,80,0,0,0,0,0,0';
tariffe[1][29][6] = '0,120,120,120,130,130,150,150,150,0,0,0,0,0,0';
tariffe[1][30][0] = 'Grado';
tariffe[1][30][1] = '90';
tariffe[1][30][2] = 'apt';
tariffe[1][30][3] = 'VE';
tariffe[1][30][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][30][5] = '0,180,180,180,206,206,220,220,220,0,0,0,0,0,0';
tariffe[1][30][6] = '0,350,350,350,402,402,430,430,430,0,0,0,0,0,0';
tariffe[1][31][0] = 'Jesolo';
tariffe[1][31][1] = '50';
tariffe[1][31][2] = 'apt';
tariffe[1][31][3] = 'VE';
tariffe[1][31][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][31][5] = '0,70,70,70,80,80,90,90,90,0,0,0,0,0,0';
tariffe[1][31][6] = '0,130,130,130,150,150,170,170,170,0,0,0,0,0,0';
tariffe[1][32][0] = 'Lido di Jesolo';
tariffe[1][32][1] = '50';
tariffe[1][32][2] = 'apt';
tariffe[1][32][3] = 'VE';
tariffe[1][32][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][32][5] = '0,70,70,70,80,80,90,90,90,0,0,0,0,0,0';
tariffe[1][32][6] = '0,130,130,130,150,150,170,170,170,0,0,0,0,0,0';
tariffe[1][33][0] = 'Lignano Sabbiadoro';
tariffe[1][33][1] = '75';
tariffe[1][33][2] = 'apt';
tariffe[1][33][3] = 'VE';
tariffe[1][33][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][33][5] = '0,135,135,135,145,145,155,155,155,0,0,0,0,0,0';
tariffe[1][33][6] = '0,260,260,260,280,280,300,300,300,0,0,0,0,0,0';
tariffe[1][34][0] = 'Mestre city hotels';
tariffe[1][34][1] = '30';
tariffe[1][34][2] = 'apt';
tariffe[1][34][3] = 'VE';
tariffe[1][34][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[1][34][5] = '0,40,40,40,45,45,55,55,55,85,85,85,90,90,95';
tariffe[1][34][6] = '0,70,70,70,80,80,100,100,100,160,160,160,170,170,180';
tariffe[1][35][0] = 'Milan city hotels';
tariffe[1][35][1] = '190';
tariffe[1][35][2] = 'apt';
tariffe[1][35][3] = 'VE';
tariffe[1][35][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][35][5] = '0,400,400,400,454,454,500,500,500,590,590,590,590,590,590';
tariffe[1][35][6] = '0,790,790,790,898,898,990,990,990,1170,1170,1170,1170,1170,1170';
tariffe[1][36][0] = 'Milan Linate airport';
tariffe[1][36][1] = '180';
tariffe[1][36][2] = 'apt';
tariffe[1][36][3] = 'VE';
tariffe[1][36][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][36][5] = '0,400,400,400,454,454,500,500,500,590,590,590,590,590,590';
tariffe[1][36][6] = '0,790,790,790,898,898,990,990,990,1170,1170,1170,1170,1170,1170';
tariffe[1][37][0] = 'Milan Malpensa airport';
tariffe[1][37][1] = '300';
tariffe[1][37][2] = 'apt';
tariffe[1][37][3] = 'VE';
tariffe[1][37][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][37][5] = '0,430,430,430,480,480,530,530,530,620,620,620,620,620,620';
tariffe[1][37][6] = '0,850,850,850,950,950,1050,1050,1050,1230,1230,1230,1230,1230,1230';
tariffe[1][38][0] = 'Murano';
tariffe[1][38][1] = '30';
tariffe[1][38][2] = 'apt';
tariffe[1][38][3] = 'VE';
tariffe[1][38][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][38][5] = '0,137,137,137,142,142,152,173,176,0,0,0,0,0,0';
tariffe[1][38][6] = '0,270,270,270,284,284,304,346,352,0,0,0,0,0,0';
tariffe[1][39][0] = 'Ortisei';
tariffe[1][39][1] = '195';
tariffe[1][39][2] = 'apt';
tariffe[1][39][3] = 'VE';
tariffe[1][39][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][39][5] = '0,290,290,290,325,325,350,350,350,0,0,0,0,0,0';
tariffe[1][39][6] = '0,570,570,570,640,640,690,690,690,0,0,0,0,0,0';
tariffe[1][40][0] = 'Padova city hotels';
tariffe[1][40][1] = '35';
tariffe[1][40][2] = 'apt';
tariffe[1][40][3] = 'VE';
tariffe[1][40][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][40][5] = '0,75,75,75,85,85,100,100,100,0,0,0,0,0,0';
tariffe[1][40][6] = '0,140,140,140,160,160,190,190,190,-10,-10,-10,-10,-10,-10';
tariffe[1][41][0] = 'Peschiera del Garda';
tariffe[1][41][1] = '110';
tariffe[1][41][2] = 'apt';
tariffe[1][41][3] = 'VE';
tariffe[1][41][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][41][5] = '0,235,235,235,270,270,280,280,280,0,0,0,0,0,0';
tariffe[1][41][6] = '0,460,460,460,530,530,550,550,550,0,0,0,0,0,0';
tariffe[1][42][0] = 'Pordenone city hotels';
tariffe[1][42][1] = '60';
tariffe[1][42][2] = 'apt';
tariffe[1][42][3] = 'VE';
tariffe[1][42][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][42][5] = '0,147,147,147,167,167,175,175,175,0,0,0,0,0,0';
tariffe[1][42][6] = '0,294,294,294,334,334,350,350,350,0,0,0,0,0,0';
tariffe[1][43][0] = 'Porto S. Margherita';
tariffe[1][43][1] = '50';
tariffe[1][43][2] = 'apt';
tariffe[1][43][3] = 'VE';
tariffe[1][43][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][43][5] = '0,110,110,110,115,115,130,130,130,0,0,0,0,0,0';
tariffe[1][43][6] = '0,210,210,210,220,220,250,250,250,0,0,0,0,0,0';
tariffe[1][44][0] = 'Punta Sabbioni';
tariffe[1][44][1] = '75';
tariffe[1][44][2] = 'apt';
tariffe[1][44][3] = 'VE';
tariffe[1][44][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][44][5] = '0,90,90,90,100,100,105,105,105,195,195,195,195,195,195';
tariffe[1][44][6] = '0,170,170,170,190,190,200,200,200,365,365,365,365,365,365';
tariffe[1][45][0] = 'Riva del Garda';
tariffe[1][45][1] = '120';
tariffe[1][45][2] = 'apt';
tariffe[1][45][3] = 'VE';
tariffe[1][45][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][45][5] = '0,295,295,295,305,305,330,330,330,0,0,0,0,0,0';
tariffe[1][45][6] = '0,585,585,585,610,610,655,655,655,0,0,0,0,0,0';
tariffe[1][46][0] = 'Treviso';
tariffe[1][46][1] = '60';
tariffe[1][46][2] = 'apt';
tariffe[1][46][3] = 'VE';
tariffe[1][46][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][46][5] = '0,70,70,70,75,75,85,85,85,290,290,290,290,290,290';
tariffe[1][46][6] = '0,130,130,130,140,140,160,160,160,580,580,580,580,580,580';
tariffe[1][47][0] = 'Trieste Airport';
tariffe[1][47][1] = '90';
tariffe[1][47][2] = 'apt';
tariffe[1][47][3] = 'VE';
tariffe[1][47][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][47][5] = '0,176,176,176,195,195,210,210,210,380,380,380,395,395,395';
tariffe[1][47][6] = '0,342,342,342,380,380,410,410,410,750,750,750,780,780,780';
tariffe[1][48][0] = 'Udine city hotels';
tariffe[1][48][1] = '75';
tariffe[1][48][2] = 'apt';
tariffe[1][48][3] = 'VE';
tariffe[1][48][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[1][48][5] = '0,195,195,195,221,221,230,230,230,0,0,0,0,0,0';
tariffe[1][48][6] = '0,385,385,385,442,442,460,460,460,0,0,0,0,0,0';
tariffe[1][49][0] = 'Venice - S.Servolo';
tariffe[1][49][1] = '40';
tariffe[1][49][2] = 'apt';
tariffe[1][49][3] = 'VE';
tariffe[1][49][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][49][5] = '0,155,155,155,160,160,170,200,205,0,0,0,0,0,0';
tariffe[1][49][6] = '0,305,305,305,315,315,335,395,405,0,0,0,0,0,0';
tariffe[1][50][0] = 'Venice city hotels (private docking)';
tariffe[1][50][1] = '40';
tariffe[1][50][2] = 'apt';
tariffe[1][50][3] = 'VE';
tariffe[1][50][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][50][5] = '0,152,152,152,160,160,167,215,215,295,295,295,295,300,310';
tariffe[1][50][6] = '0,300,300,300,316,316,330,420,420,580,580,580,580,590,610';
tariffe[1][51][0] = 'Venice city hotels (v.P.Roma+PD)';
tariffe[1][51][1] = '50';
tariffe[1][51][2] = 'apt';
tariffe[1][51][3] = 'VE';
tariffe[1][51][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[1][51][5] = '0,120,120,120,130,130,140,226,226,260,260,260,265,0,0';
tariffe[1][51][6] = '0,236,236,236,250,250,275,438,438,510,510,510,520,0,0';
tariffe[1][52][0] = 'Venice Lido - hotel Excelsior';
tariffe[1][52][1] = '45';
tariffe[1][52][2] = 'apt';
tariffe[1][52][3] = 'VE';
tariffe[1][52][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][52][5] = '0,155,155,155,160,160,170,200,205,0,0,0,0,0,0';
tariffe[1][52][6] = '0,305,305,305,315,315,335,395,405,0,0,0,0,0,0';
tariffe[1][53][0] = 'Venice Lido - S.M. Elisabetta dock';
tariffe[1][53][1] = '40';
tariffe[1][53][2] = 'apt';
tariffe[1][53][3] = 'VE';
tariffe[1][53][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[1][53][5] = '0,140,140,140,150,150,160,185,190,0,0,0,0,0,0';
tariffe[1][53][6] = '0,275,275,275,290,290,310,365,375,0,0,0,0,0,0';
tariffe[1][54][0] = 'Venice S. Lucia railway (land service)';
tariffe[1][54][1] = '25';
tariffe[1][54][2] = 'apt';
tariffe[1][54][3] = 'VE';
tariffe[1][54][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[1][54][5] = '0,40,40,40,50,50,60,60,60,90,90,90,95,95,95';
tariffe[1][54][6] = '0,85,85,85,105,105,125,125,125,195,195,195,205,205,210';
tariffe[1][55][0] = 'Verona City Hotels';
tariffe[1][55][1] = '120';
tariffe[1][55][2] = 'apt';
tariffe[1][55][3] = 'VE';
tariffe[1][55][4] = '0,10,10,10,23,23,23,43,43,69,69,69,69,69,69';
tariffe[1][55][5] = '0,187,187,187,201,201,201,215,215,380,380,380,395,395,395';
tariffe[1][55][6] = '0,360,360,360,390,390,390,420,420,750,750,750,780,780,780';
tariffe[1][56][0] = 'Vicenza';
tariffe[1][56][1] = '60';
tariffe[1][56][2] = 'apt';
tariffe[1][56][3] = 'VE';
tariffe[1][56][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[1][56][5] = '0,115,115,115,125,125,135,135,135,0,0,0,0,0,0';
tariffe[1][56][6] = '0,220,220,220,240,240,260,260,260,0,0,0,0,0,0';
tariffe[2][0][0] = 'Venice Cruise Terminal';
tariffe[2][1][0] = 'Venice Marco Polo Airport';
tariffe[2][1][1] = '25';
tariffe[2][1][2] = 'cty';
tariffe[2][1][3] = 'VE';
tariffe[2][1][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[2][1][5] = '0,38,38,38,50,50,65,65,65,93,93,93,100,100,110';
tariffe[2][1][6] = '0,66,66,66,90,90,120,120,120,176,176,176,190,190,210';
tariffe[2][2][0] = 'Venice city hotels';
tariffe[2][2][1] = '40';
tariffe[2][2][2] = 'fre';
tariffe[2][2][3] = 'VE';
tariffe[2][2][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[2][2][5] = '0,95,95,95,105,105,115,171,171,210,210,210,216,250,260';
tariffe[2][2][6] = '0,186,186,186,200,200,225,335,335,410,410,410,422,490,510';
tariffe[2][3][0] = 'Venice S. Lucia railway';
tariffe[2][3][1] = '20';
tariffe[2][3][2] = 'fre';
tariffe[2][3][3] = 'VE';
tariffe[2][3][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[2][3][5] = '0,35,35,35,45,45,55,55,55,80,80,80,85,85,90';
tariffe[2][3][6] = '0,75,75,75,90,90,100,100,100,170,170,170,180,180,190';
tariffe[2][4][0] = 'Venice P.le Roma';
tariffe[2][4][1] = '25';
tariffe[2][4][2] = 'fre';
tariffe[2][4][3] = 'VE';
tariffe[2][4][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[2][4][5] = '0,35,35,35,45,45,55,55,55,0,0,0,0,0,0';
tariffe[2][4][6] = '0,65,65,65,85,85,105,105,105,0,0,0,0,0,0';
tariffe[2][5][0] = 'Venice Mestre railway';
tariffe[2][5][1] = '30';
tariffe[2][5][2] = 'fre';
tariffe[2][5][3] = 'VE';
tariffe[2][5][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[2][5][5] = '0,40,40,40,50,50,60,60,60,85,85,85,90,90,95';
tariffe[2][5][6] = '0,70,70,70,90,90,110,110,110,160,160,160,170,170,180';
tariffe[2][6][0] = 'Venice city hotels (private docking)';
tariffe[2][6][1] = '40';
tariffe[2][6][2] = 'fre';
tariffe[2][6][3] = 'VE';
tariffe[2][6][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[2][6][5] = '0,115,115,115,125,125,135,171,171,250,250,250,250,250,260';
tariffe[2][6][6] = '0,226,226,226,240,240,265,335,335,490,490,490,490,490,510';
tariffe[2][7][0] = 'Venice Lido hotel Excelsior';
tariffe[2][7][1] = '40';
tariffe[2][7][2] = 'fre';
tariffe[2][7][3] = 'VE';
tariffe[2][7][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[2][7][5] = '0,130,130,130,140,140,150,160,165,0,0,0,0,0,0';
tariffe[2][7][6] = '0,250,250,250,270,270,295,315,320,0,0,0,0,0,0';
tariffe[2][8][0] = 'Venice S.Clemente island';
tariffe[2][8][1] = '40';
tariffe[2][8][2] = 'fre';
tariffe[2][8][3] = 'VE';
tariffe[2][8][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[2][8][5] = '0,125,125,125,135,135,150,150,150,256,256,256,256,256,256';
tariffe[2][8][6] = '0,240,240,240,260,260,290,290,290,502,502,502,502,502,502';
tariffe[3][0][0] = 'Venice city hotels';
tariffe[3][1][0] = 'Venice Marco Polo Airport';
tariffe[3][1][1] = '40';
tariffe[3][1][2] = 'cty';
tariffe[3][1][3] = 'VE';
tariffe[3][1][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[3][1][5] = '0,132,132,132,140,140,147,195,195,275,275,275,275,280,290';
tariffe[3][1][6] = '0,260,260,260,276,276,290,385,385,538,538,538,540,550,570';
tariffe[3][2][0] = 'Venice Marco Polo Airport (v.P.Roma)';
tariffe[3][2][1] = '50';
tariffe[3][2][2] = 'cty';
tariffe[3][2][3] = 'VE';
tariffe[3][2][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[3][2][5] = '0,100,100,100,110,110,120,186,186,220,220,220,226,0,0';
tariffe[3][2][6] = '0,196,196,196,210,210,235,357,357,430,430,430,440,0,0';
tariffe[3][3][0] = 'Venice Cruise Terminal';
tariffe[3][3][1] = '40';
tariffe[3][3][2] = 'fre';
tariffe[3][3][3] = 'VE';
tariffe[3][3][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[3][3][5] = '0,95,95,95,105,105,115,171,171,210,210,210,216,250,260';
tariffe[3][3][6] = '0,186,186,186,200,200,225,335,335,410,410,410,422,490,510';
tariffe[3][4][0] = 'Venice S. Lucia railway';
tariffe[3][4][1] = '30';
tariffe[3][4][2] = 'fre';
tariffe[3][4][3] = 'VE';
tariffe[3][4][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[3][4][5] = '0,70,70,70,70,75,75,85,85,135,135,140,140,150,150';
tariffe[3][4][6] = '0,165,165,165,170,175,195,195,195,320,320,325,325,335,335';
tariffe[3][5][0] = 'Venice P.le Roma';
tariffe[3][5][1] = '30';
tariffe[3][5][2] = 'fre';
tariffe[3][5][3] = 'VE';
tariffe[3][5][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[3][5][5] = '0,70,70,70,70,75,80,80,80,135,135,145,145,145,145';
tariffe[3][5][6] = '0,135,135,135,135,140,150,150,150,260,260,280,280,280,280';
tariffe[3][6][0] = 'Venice Mestre railway';
tariffe[3][6][1] = '40';
tariffe[3][6][2] = 'fre';
tariffe[3][6][3] = 'VE';
tariffe[3][6][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[3][6][5] = '0,103,103,103,105,105,115,180,180,208,208,208,211,0,0';
tariffe[3][6][6] = '0,195,195,195,200,200,220,350,350,406,406,406,412,0,0';
tariffe[4][0][0] = 'Venice P.le Roma';
tariffe[4][1][0] = 'Venice Marco Polo Airport';
tariffe[4][1][1] = '25';
tariffe[4][1][2] = 'cty';
tariffe[4][1][3] = 'VE';
tariffe[4][1][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[4][1][5] = '0,40,40,40,50,50,60,60,60,90,90,90,95,95,95';
tariffe[4][1][6] = '0,70,70,70,90,90,110,110,110,170,170,170,180,180,180';
tariffe[4][2][0] = 'Venice city hotels';
tariffe[4][2][1] = '30';
tariffe[4][2][2] = 'fre';
tariffe[4][2][3] = 'VE';
tariffe[4][2][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[4][2][5] = '0,70,70,70,70,75,80,80,80,135,135,145,145,145,145';
tariffe[4][2][6] = '0,135,135,135,135,140,150,150,150,260,260,280,280,280,280';
tariffe[4][3][0] = 'Venice Cruise Terminal';
tariffe[4][3][1] = '25';
tariffe[4][3][2] = 'fre';
tariffe[4][3][3] = 'VE';
tariffe[4][3][4] = '0,10,10,10,23,23,43,43,43,10,10,10,10,10,10';
tariffe[4][3][5] = '0,35,35,35,45,45,55,55,55,0,0,0,0,0,0';
tariffe[4][3][6] = '0,65,65,65,85,85,105,105,105,0,0,0,0,0,0';
tariffe[4][4][0] = 'Venice S. Clemente island';
tariffe[4][4][1] = '30';
tariffe[4][4][2] = 'fre';
tariffe[4][4][3] = 'VE';
tariffe[4][4][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[4][4][5] = '0,85,85,85,85,90,90,150,150,150,150,150,150,15,15';
tariffe[4][4][6] = '0,160,160,160,160,170,170,290,290,290,290,290,290,20,20';
tariffe[4][5][0] = 'Murano';
tariffe[4][5][1] = '30';
tariffe[4][5][2] = 'fre';
tariffe[4][5][3] = 'VE';
tariffe[4][5][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[4][5][5] = '0,120,120,120,120,120,120,155,160,0,0,0,0,0,0';
tariffe[4][5][6] = '0,210,210,210,210,210,210,265,270,0,0,0,0,0,0';
tariffe[4][6][0] = 'Venice city hotels (private docking)';
tariffe[4][6][1] = '40';
tariffe[4][6][2] = 'fre';
tariffe[4][6][3] = 'VE';
tariffe[4][6][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[4][6][5] = '0,90,90,90,90,95,95,155,155,155,155,155,155,0,0';
tariffe[4][6][6] = '0,175,175,175,175,180,180,300,300,300,300,305,305,0,0';
tariffe[4][7][0] = 'Venice Lido - S.M. Elisabetta dock';
tariffe[4][7][1] = '30';
tariffe[4][7][2] = 'fre';
tariffe[4][7][3] = 'VE';
tariffe[4][7][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[4][7][5] = '0,115,115,115,120,120,120,140,145,0,0,0,0,0,0';
tariffe[4][7][6] = '0,230,230,230,240,240,240,280,290,0,0,0,0,0,0';
tariffe[5][0][0] = 'Venice Mestre railway';
tariffe[5][1][0] = 'Venice Marco Polo Airport';
tariffe[5][1][1] = '30';
tariffe[5][1][2] = 'cty';
tariffe[5][1][3] = 'VE';
tariffe[5][1][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[5][1][5] = '0,40,40,40,45,45,55,55,55,85,85,85,90,90,95';
tariffe[5][1][6] = '0,70,70,70,80,80,100,100,100,160,160,160,170,170,180';
tariffe[5][2][0] = 'Venice city hotels';
tariffe[5][2][1] = '40';
tariffe[5][2][2] = 'fre';
tariffe[5][2][3] = 'VE';
tariffe[5][2][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[5][2][5] = '0,103,103,103,105,105,115,180,180,208,208,208,211,0,0';
tariffe[5][2][6] = '0,195,195,195,200,200,220,350,350,406,406,406,412,0,0';
tariffe[5][3][0] = 'Venice Cruise Terminal';
tariffe[5][3][1] = '30';
tariffe[5][3][2] = 'fre';
tariffe[5][3][3] = 'VE';
tariffe[5][3][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[5][3][5] = '0,40,40,40,50,50,60,60,60,85,85,85,90,90,95';
tariffe[5][3][6] = '0,70,70,70,90,90,110,110,110,160,160,160,170,170,180';
tariffe[5][4][0] = 'Venice city hotels (private docking)';
tariffe[5][4][1] = '40';
tariffe[5][4][2] = 'fre';
tariffe[5][4][3] = 'VE';
tariffe[5][4][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[5][4][5] = '0,123,123,123,125,125,135,220,220,249,249,249,250,0,0';
tariffe[5][4][6] = '0,235,235,235,240,240,260,430,430,486,486,486,490,0,0';
tariffe[6][0][0] = 'Venice S. Lucia railway';
tariffe[6][1][0] = 'Venice Marco Polo Airport';
tariffe[6][1][1] = '40';
tariffe[6][1][2] = 'cty';
tariffe[6][1][3] = 'VE';
tariffe[6][1][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[6][1][5] = '0,167,167,167,175,175,182,230,230,310,310,310,310,315,325';
tariffe[6][1][6] = '0,330,330,330,346,346,360,455,455,608,608,608,610,620,640';
tariffe[6][2][0] = 'Venice city hotels';
tariffe[6][2][1] = '35';
tariffe[6][2][2] = 'fre';
tariffe[6][2][3] = 'VE';
tariffe[6][2][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[6][2][5] = '0,100,100,100,105,110,120,120,120,195,195,200,200,200,200';
tariffe[6][2][6] = '0,165,165,165,170,175,195,195,195,320,320,325,325,335,335';
tariffe[6][3][0] = 'Venice Cruise Terminal';
tariffe[6][3][1] = '20';
tariffe[6][3][2] = 'fre';
tariffe[6][3][3] = 'VE';
tariffe[6][3][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[6][3][5] = '0,45,45,45,55,55,60,60,60,95,95,95,100,100,105';
tariffe[6][3][6] = '0,75,75,75,90,90,100,100,100,170,170,170,180,180,190';
tariffe[6][4][0] = 'Venice city hotels (private docking)';
tariffe[6][4][1] = '30';
tariffe[6][4][2] = 'fre';
tariffe[6][4][3] = 'VE';
tariffe[6][4][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[6][4][5] = '0,135,135,135,135,135,135,220,220,228,228,228,232,0,0';
tariffe[6][4][6] = '0,265,265,265,265,265,265,435,435,451,451,451,459,0,0';
tariffe[6][5][0] = 'Venice Marco Polo Airport (land service)';
tariffe[6][5][1] = '30';
tariffe[6][5][2] = 'cty';
tariffe[6][5][3] = 'VE';
tariffe[6][5][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[6][5][5] = '0,50,50,50,60,60,70,70,70,100,100,100,105,105,105';
tariffe[6][5][6] = '0,85,85,85,105,105,125,125,125,195,195,195,205,205,210';
tariffe[7][0][0] = 'Mestre city hotels';
tariffe[7][1][0] = 'Venice Marco Polo Airport';
tariffe[7][1][1] = '30';
tariffe[7][1][2] = 'cty';
tariffe[7][1][3] = 'VE';
tariffe[7][1][4] = '0,10,10,10,23,23,43,43,43,70,70,70,70,70,70';
tariffe[7][1][5] = '0,40,40,40,45,45,55,55,55,85,85,85,90,90,95';
tariffe[7][1][6] = '0,70,70,70,80,80,100,100,100,160,160,160,170,170,180';
tariffe[8][0][0] = 'Treviso Airport';
tariffe[8][1][0] = 'Venice Marco Polo Airport';
tariffe[8][1][1] = '60';
tariffe[8][1][2] = 'apt';
tariffe[8][1][3] = 'VE';
tariffe[8][1][4] = '0,10,10,10,23,23,43,43,43,69,69,69,69,69,69';
tariffe[8][1][5] = '0,70,70,70,75,75,85,85,85,150,150,150,155,155,155';
tariffe[8][1][6] = '0,130,130,130,140,140,160,160,160,290,290,290,300,300,300';
tariffe[9][0][0] = 'Venice city hotels (private docking)';
tariffe[9][1][0] = 'Venice Marco Polo Airport';
tariffe[9][1][1] = '40';
tariffe[9][1][2] = 'cty';
tariffe[9][1][3] = 'VE';
tariffe[9][1][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[9][1][5] = '0,152,152,152,160,160,167,215,215,295,295,295,295,300,310';
tariffe[9][1][6] = '0,300,300,300,316,316,330,420,420,580,580,580,580,590,610';
tariffe[9][2][0] = 'Venice Marco Polo Airport (v.P.Roma)';
tariffe[9][2][1] = '50';
tariffe[9][2][2] = 'cty';
tariffe[9][2][3] = 'VE';
tariffe[9][2][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[9][2][5] = '0,120,120,120,130,130,140,226,226,260,260,260,265,0,0';
tariffe[9][2][6] = '0,236,236,236,250,250,275,438,438,510,510,510,520,0,0';
tariffe[9][3][0] = 'Venice Cruise Terminal';
tariffe[9][3][1] = '40';
tariffe[9][3][2] = 'fre';
tariffe[9][3][3] = 'VE';
tariffe[9][3][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[9][3][5] = '0,115,115,115,125,125,135,171,171,250,250,250,250,250,260';
tariffe[9][3][6] = '0,226,226,226,240,240,265,335,335,490,490,490,490,490,510';
tariffe[9][4][0] = 'Venice S. Lucia railway';
tariffe[9][4][1] = '20';
tariffe[9][4][2] = 'fre';
tariffe[9][4][3] = 'VE';
tariffe[9][4][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[9][4][5] = '0,90,90,90,90,95,95,110,115,0,0,0,0,0,0';
tariffe[9][4][6] = '0,175,175,175,175,175,175,210,220,0,0,0,0,0,0';
tariffe[9][5][0] = 'Venice P.le Roma';
tariffe[9][5][1] = '40';
tariffe[9][5][2] = 'fre';
tariffe[9][5][3] = 'VE';
tariffe[9][5][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[9][5][5] = '0,90,90,90,90,95,95,155,155,155,155,155,155,0,0';
tariffe[9][5][6] = '0,175,175,175,175,180,180,300,300,300,300,305,305,0,0';
tariffe[9][6][0] = 'Venice Mestre railway';
tariffe[9][6][1] = '40';
tariffe[9][6][2] = 'fre';
tariffe[9][6][3] = 'VE';
tariffe[9][6][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,10,10';
tariffe[9][6][5] = '0,123,123,123,125,125,135,220,220,249,249,249,250,0,0';
tariffe[9][6][6] = '0,235,235,235,240,240,260,430,430,486,486,486,490,0,0';
tariffe[10][0][0] = 'Venice S. Clemente island';
tariffe[10][1][0] = 'Venice Marco Polo Airport';
tariffe[10][1][1] = '45';
tariffe[10][1][2] = 'cty';
tariffe[10][1][3] = 'VE';
tariffe[10][1][4] = '0,32,32,32,32,32,32,32,32,32,32,32,32,32,32';
tariffe[10][1][5] = '0,146,146,146,154,154,168,168,168,269,269,269,269,273,273';
tariffe[10][1][6] = '0,282,282,282,298,298,326,326,326,528,528,528,528,536,536';

 for(i=1;i<tariffe.length;i++)
 document.formr.form_arrival_location.options[i] = new Option(tariffe[i][0][0],tariffe[i][0][0]);

 setfare();

}

var triptime;

function setjourney()
{
 if( document.formr.form_arrival_location.selectedIndex ==  0 || document.formr.form_arrival_destination.selectedIndex ==  0 )
  triptime = '';
 else
  triptime = 'Approx. trip time:  ' + tariffe[document.formr.form_arrival_location.selectedIndex][document.formr.form_arrival_destination.selectedIndex][1] + ' min.'; 
}

function setd()
{
	
if( document.formr.form_arrival_location.selectedIndex ==  0 )
 {
  document.formr.book_btn.disabled = true;
  document.formr.form_arrival_destination.selectedIndex = 0;
  return;
 }

 clearoptgroup('form_arrival_destination');
document.formr.form_arrival_destination.options.length = 0;
 document.formr.form_arrival_destination.options[0] = new Option('select','select');

for (i = 1; i <= tariffe[document.formr.form_arrival_location.selectedIndex].length; i++)
{
 if( typeof tariffe[document.formr.form_arrival_location.selectedIndex][i] !== 'undefined' && typeof tariffe[document.formr.form_arrival_location.selectedIndex][i][0] != 'undefined'  )
 document.formr.form_arrival_destination.options[i] = new Option(tariffe[document.formr.form_arrival_location.selectedIndex][i][0],tariffe[document.formr.form_arrival_location.selectedIndex][i][0]);
}

 for(xi=0;xi<to_label.length;xi++)
  insert_opt_group(to_loc_name[xi],to_label[xi],'form_arrival_destination');
  setfare();

}

function setfare()
{

 setjourney();

 var LABELPRICE = document.getElementById('LABELPRICE');
 var LABELONPRICE = document.getElementById('LABELONPRICE');
 var LABELDES = document.getElementById('LABELDES');
 var LABELBAG = document.getElementById('LABELBAG');

 if( document.formr.onewayreturn[0].checked )
 {
   document.formr.form_return_time_h.disabled = true;
   document.formr.form_return_time_m.disabled = true;
 }
 else
 {
   document.formr.form_return_time_h.disabled = false;
   document.formr.form_return_time_m.disabled = false;
 }

 if( document.formr.form_arrival_location.selectedIndex ==  0 || document.formr.form_arrival_destination.selectedIndex ==  0 )
 {
  LABELPRICE.innerHTML = ' --- select trip ---';
  LABELONPRICE.innerHTML = '&nbsp;';
  LABELDES.innerHTML = ' '; 
  LABELBAG.innerHTML = ''; 
  document.formr.book_btn.disabled = true;
  return;
 }
 if( document.formr.form_total_passengers.selectedIndex == 0 )
 {
 LABELPRICE.innerHTML = ' --- select passengers number ---';
 LABELONPRICE.innerHTML = '&nbsp;';
 LABELDES.innerHTML = ' '; 
 LABELBAG.innerHTML = '';
 document.formr.book_btn.disabled = true;
 return;
 }
 if( document.formr.bag_1.value == 0 && document.formr.bag_2.value == 0 && document.formr.bag_3.value == 0 )
 {
  LABELPRICE.innerHTML = ' --- select luggage ---';
  LABELONPRICE.innerHTML = '&nbsp;';
  LABELDES.innerHTML = ' ';
  LABELBAG.innerHTML = '';
  document.formr.book_btn.disabled = true;
  return;
 }
 if( document.formr.form_arrival_time_h.selectedIndex == 0 )
 {
  LABELPRICE.innerHTML = ' --- select pickup time ---';
  LABELONPRICE.innerHTML = '&nbsp;';
  LABELDES.innerHTML = ' '; 
  LABELBAG.innerHTML = '';
  document.formr.book_btn.disabled = true;
  return;
 }

if( document.formr.onewayreturn[1].checked && document.formr.form_return_time_h.selectedIndex == 0 )
 {
  LABELPRICE.innerHTML = ' --- select return pickup time ---';
  LABELONPRICE.innerHTML = '&nbsp;';
  LABELDES.innerHTML = ' ';  
  LABELBAG.innerHTML = '';
  document.formr.book_btn.disabled = true;
  return;
 }
 

 var faresreturndisc = new Array(16);
 var addnight = '';
 var percadd = 0;
 var arrval = 0;

 var faretypeofv = tariffe[document.formr.form_arrival_location.selectedIndex][document.formr.form_arrival_destination.selectedIndex][4].split(',');

 var actionform = formdir+formfilename+tariffe[document.formr.form_arrival_location.selectedIndex][document.formr.form_arrival_destination.selectedIndex][2]+'_eng';
 var city = tariffe[document.formr.form_arrival_location.selectedIndex][document.formr.form_arrival_destination.selectedIndex][3];

 if( document.formr.onewayreturn[0].checked )
 {
  var fares = tariffe[document.formr.form_arrival_location.selectedIndex][document.formr.form_arrival_destination.selectedIndex][5].split(',');
  actionform = actionform + '.php';
 if( document.formr.form_arrival_time_h.value >= 22 || document.formr.form_arrival_time_h.value >= 0 && document.formr.form_arrival_time_h.value < 7 )
percadd = 20;
 }
 else
 {
  var fares = tariffe[document.formr.form_arrival_location.selectedIndex][document.formr.form_arrival_destination.selectedIndex][6].split(',');
actionform = actionform + '.php';
 if( document.formr.form_arrival_time_h.value >= 22 || document.formr.form_arrival_time_h.value >= 0 && document.formr.form_arrival_time_h.value < 7 )
percadd = 10;
 if( document.formr.form_return_time_h.value >= 22 || document.formr.form_return_time_h.value >= 0 && document.formr.form_return_time_h.value < 7 )
percadd = percadd + 10;
  var fares_o = tariffe[document.formr.form_arrival_location.selectedIndex][document.formr.form_arrival_destination.selectedIndex][5].split(',');
   for (var i=1; i < fares.length; i++)
   {
	 if( parseInt(fares[i]) < parseInt(fares_o[i]) * 2  )
	 faresreturndisc[i] = 1;
	 else
 	 faresreturndisc[i] = 0;
   }
 }

 document.formr.action=actionform;
 document.formr.code.value = city;
 document.formr.book_btn.disabled = false;

 arrval = fares.length;

 if( percadd > 0 )
 {
  for (var i=1; i < arrval; i++)
  {
   add = parseInt(fares[i] * percadd / 100);
   add+=parseInt(fares[i]);
   fares[i] = add;
  }

  if( percadd >= 20 )
   addnight = '  (night fare)';
  else
   addnight = '  (one way night fare)';
 }

 fillfares( arrval, fares, addnight, faresreturndisc, faretypeofv );
}

function fillfares( numarray, fares, addnight, faresreturndisc, faretypeofv )
{
 var farestrfull = '';
 var strpas = '';
 var strfare = '';
 var typetransfer;
 var totalbag;
 var trovato=0;

 var LABELPRICE = document.getElementById('LABELPRICE');
 var LABELONPRICE = document.getElementById('LABELONPRICE');
 var LABELDES = document.getElementById('LABELDES');
 var LABELBAG = document.getElementById('LABELBAG');

   i = document.formr.form_total_passengers.selectedIndex;

   if( fares[i] <= 0 )
   {
	LABELPRICE.innerHTML = 'not available';
	LABELONPRICE.innerHTML = '&nbsp;';
	LABELDES.innerHTML = '';
	LABELBAG.innerHTML = 'This fare is not available. Please contact us.';
	document.formr.book_btn.disabled = true;
	return;
   }

   totalbag = document.formr.form_total_passengers.selectedIndex * 0.5
   totalbag = totalbag + (document.formr.bag_1.value * 1.5) + (document.formr.bag_2.value * 2.3) + (document.formr.bag_3.value * 3);

   if( totalbag > faretypeofv[i] )
   {
        for (var f=i+1; f < numarray; f++)
	      {

          if( totalbag <= faretypeofv[f] )
     	  {
		  	  trovato = 1;
			  break;
		    }
	      }

	    if( trovato == 1 )
	    {
		   strpas = i+'';
            if( i == 1 ) {
             strpas =  strpas + ' passenger ';
            }
            else {
             strpas =  strpas + ' passengers ';
            }

            if( document.formr.onewayreturn[0].checked )
             typetransfer = ' - one way ';	
            else if( document.formr.onewayreturn[1].checked )
            {
          	if( faresreturndisc[i] == 1 )
             typetransfer = ' - discounted round trip ';
            else
             typetransfer = ' - round trip ';
            }
            farestrfull= '   ' + strpas+fares[f]+' Euros'+typetransfer+addnight;
            faredes = '   ' + triptime+decodeve( faretypeofv[f] );
			if( fares[f] <= 0 )
			{
            LABELPRICE.innerHTML = 'not available';
		    LABELONPRICE.innerHTML = '&nbsp;';
            LABELDES.innerHTML = '';
			LABELBAG.innerHTML = 'This fare is not available. Please contact us.';
			document.formr.book_btn.disabled = true;
			return;
			}
            LABELPRICE.innerHTML = farestrfull;
            LABELONPRICE.innerHTML = fares[f]+',00 Euros'; 
            LABELDES.innerHTML = faredes;
			LABELBAG.innerHTML = '   Shifted to the upper vehicle category due to luggage amount';
 	    }

   return;
   }

   strpas = i+'';
   if( i == 1 ) {
    strpas =  strpas + ' passenger ';
   }
   else {
    strpas =  strpas + ' passengers ';
   }

   if( document.formr.onewayreturn[0].checked )
    typetransfer = ' - one way ';	
   else if( document.formr.onewayreturn[1].checked )   
   {
 	if( faresreturndisc[i] == 1 )
      typetransfer = ' - discounted round trip ';
     else
      typetransfer = ' - round trip ';
   }
   farestrfull= '   ' + strpas+fares[i]+' Euros'+typetransfer+addnight;
   faredes = '   ' + triptime+decodeve( faretypeofv[i] );

   LABELPRICE.innerHTML = farestrfull;
   LABELONPRICE.innerHTML = fares[i]+',00 Euros';
   LABELDES.innerHTML = faredes;
   LABELBAG.innerHTML = '';
}

function insert_opt_group(append_before,label,sel_name)
{
var fromsel = new Array();

selectMenu = document.getElementById(sel_name);

for(i=0;i<selectMenu.options.length;i++)
 fromsel[fromsel.length] = selectMenu.childNodes[i].value;

for(i=0;i<fromsel.length;i++)
{
if( fromsel[i] == append_before )
break;
}

  var optgroup = document.createElement('optgroup');
  optgroup.label = label;
  optgroup.style.color = '#cc0000';
  selectMenu.insertBefore(optgroup,selectMenu.childNodes[i]);
}

function clearoptgroup(sel_name)
{
  selectMenu = document.getElementById(sel_name);
  optl = selectMenu.offsetWidth;

  while (selectMenu.hasChildNodes())
  {
    selectMenu.removeChild(selectMenu.firstChild);
  }
}

function decodeve(argvalue) 
{
var retval;
if( argvalue == 10 )
 retval =  '  Service: Limousine E class transfer';
else if( argvalue == 23 )
 retval =  '  Service: luxury van transfer';
else if( argvalue == 43 )
 retval =  '  Service: luxury minibus transfer';
else if( argvalue == 69 )
 retval =  '  Service: luxury bus transfer';
else if( argvalue == 32 )
 retval =  '  Service: shuttle + water taxi transfer';
else if( argvalue == 32 )
 retval =  '  Service: shuttle mb + water taxi transfer';
else if( argvalue == 70 )
 retval =  '  Service: 2 x luxury minibus transfer';
else 
retval =  '  Service NOT available on line. Please email us for a quote.';
return  retval;
}

-->