function setClient(code){
	document.getElementsByName("clientId")[0].value=code;
	document.getElementsByName("clientId")[1].value=code;
	return;
}
function setActions (dir) {
	try {
		setActionMEV ("http://www.easyvols.org/"+dir+"/mev/results.jsp")
	}
	catch(e) {}
	
	try {
		setActionMEH ("http://www.easyvols.org/"+dir+"/meh/results.jsp")
	}
	catch(e) {}
	
	try {
		setActionMEC ("http://www.easyvols.org/"+dir+"/mec/results.jsp")
	}
	catch(e) {}
}
document.writeln("<script type=\"text/javascript\">window.lang=\"it_IT\";</script>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/pileForms.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/tools.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/rjs.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/formMEV.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/formMEH.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/formMEC.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/completion.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/completionMEV.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/completionMEH.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/completionMEC.js\"></script\>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/doubleCalendar.js\" ></script\>");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/css/js/formMEV.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/css/js/completionMEV.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/css/js/completionMEH.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/css/js/completionMEC.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/css/js/calendar.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/styles/ei/it/type_b/580x250/def_mevhcp.css\" type=\"text/css\" media=\"screen\" /><!--ei-->");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/styles/ei/it/type_b/580x250/mevhcp.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/voliper/formulaire/580x250/mevhcp.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<div id=\"me\">");
document.writeln("<ul class=\"onglets\">");
document.writeln("<li title=\"Accesso alla ricerca voli\" id=\"ongletMEV\" class=\"selected\"><span>Voli</span></li>");
document.writeln("<li title=\"Accesso alla ricerca hotel\" id=\"ongletMEH\"><span>Hotel</span></li>");
document.writeln("<li title=\"Accesso alla ricerca di auto\" id=\"ongletMEC\"><span>Auto</span></li>");
document.writeln("<li title=\"Accesso alla ricerca di viaggi\" id=\"ongletMEP\"><span><a target=\"_blank\" href=\"http://www.easy-tours.org/voliper/ \">Viaggi</a></span></li>");
document.writeln("</ul>");
document.writeln("<form id=\"formMEV\" action=\"http://www.easyvols.org/voliper/mev/results.jsp\" method=\"get\">");
document.writeln("<input type=\"hidden\" name=\"clientId\" value=\"1\"/> ");
document.writeln("<fieldset id=\"typeParcoursMEV\" title=\"Selezione del tipo di percorso\">");
document.writeln("<legend>Percorso</legend>");
document.writeln("<p id=\"typeParcours\">");
document.writeln("<label for=\"typeMEVAS\">");
document.writeln("<input id=\"typeMEVAS\" type=\"radio\" value=\"0\" name=\"type\" />");
document.writeln("Solo andata");
document.writeln("</label>");
document.writeln("<label for=\"typeMEVAR\">");
document.writeln("<input id=\"typeMEVAR\" type=\"radio\" value=\"1\" name=\"type\" checked=\"checked\" />");
document.writeln("Andata e ritorno");
document.writeln("</label>");
document.writeln("<!--<label>");
document.writeln("<input id=\"typeMEVPC\" type=\"radio\" value=\"2\" name=\"type\" />");
document.writeln("Pecorso-circolare");
document.writeln("</label>-->");
document.writeln("</p>");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"trajetMEV\" title=\"Determinazione del percorso\">");
document.writeln("<legend>Tragitto</legend>");
document.writeln("<div id=\"errorMEVLieuxEgauxAller\">La citt&agrave; di partenza e la citt&agrave; di arrivo sono identiche</div>");
document.writeln("<!--<div id=\"errorMEVLieuxEgauxRetour\">La citt&agrave; di partenza e la citt&agrave; di arrivo del tragitto di ritorno sono identiche</div>  -->");
document.writeln("<div id=\"errorMEVLieuVide\">Verifica che le entrate per la citt&agrave; di partenza e di arrivo siano state riempite</div>");
document.writeln("<p id=\"allerMEV\">");
document.writeln("<label for=\"lieuMEVDepartAller\">Citt&agrave; di partenza :</label>");
document.writeln("<input id=\"lieuMEVDepartAller\" type=\"text\" name=\"departAller\" />");
document.writeln("<input type=\"hidden\" id=\"iataMEVDepartAller\" name=\"departAllerIata\" />");
document.writeln("</p>");
document.writeln("<div id=\"propositionsMEVDepartAller\"></div><!--Completion-->");
document.writeln("<p id=\"arriverMEV\">");
document.writeln("<label for=\"lieuMEVArriveeAller\">Citt&agrave; di arrivo :</label>");
document.writeln("<input id=\"lieuMEVArriveeAller\" type=\"text\" name=\"arriveeAller\" />");
document.writeln("<input type=\"hidden\" id=\"iataMEVArriveeAller\" name=\"arriveeAllerIata\" />");
document.writeln("</p>");
document.writeln("<div id=\"propositionsMEVArriveeAller\"></div><!--Completion-->");
document.writeln("</fieldset>");
document.writeln("<!--<fieldset title=\"D�finition du parcours de retour\">");
document.writeln("<legend>Trajet retour</legend>");
document.writeln("<p>");
document.writeln("<label>Depuis</label>");
document.writeln("<input id=\"lieuMEVDepartRetour\" type=\"text\" name=\"departRetour\" />");
document.writeln("<input type=\"hidden\" id=\"iataMEVDepartRetour\" name=\"departRetourIata\" />");
document.writeln("</p>");
document.writeln("<div id=\"propositionsMEVDepartRetour\"></div>");
document.writeln("<p>");
document.writeln("<label>Vers</label>");
document.writeln("<input id=\"lieuMEVArriveeRetour\" type=\"text\" name=\"arriveeRetour\" />");
document.writeln("<input type=\"hidden\" id=\"iataMEVArriveeRetour\" name=\"arriveeRetourIata\" />");
document.writeln("</p>");
document.writeln("<div id=\"propositionsMEVArriveeRetour\"></div>");
document.writeln("</fieldset>-->");
document.writeln("<fieldset id=\"dateMEV\" title=\"Determinazione delle date del tragitto andata e eventualmente del ritorno\">");
document.writeln("<legend>Date</legend>");
document.writeln("<div id=\"errorMEVDateAllerErronee\">La data d'andata scelta &egrave; sbagliata</div>");
document.writeln("<div id=\"errorMEVDateRetourErronee\">La data di ritorno scelta &egrave; sbagliata</div>");
document.writeln("<div id=\"errorMEVDatesInversees\">La data di ritorno &egrave; anteriore alla data di andata</div>");
document.writeln("<p id=\"dateAllerMEV\">");
document.writeln("<label>Data partenza:</label>");
document.writeln("<select id=\"jourMEVAller\" name=\"jourAller\"><option></option></select>");
document.writeln("<select id=\"moisMEVAller\" name=\"moisAller\"><option></option></select>");
document.writeln("<img id=\"calendrierMEVAllerIcon\" src=\"http://www.easyvols.org/base/imgs/default/calendrier.gif\" alt=\"Calendario andata\" />");
document.writeln("</p>");
document.writeln("<div id=\"calendrierMEVAller\"></div><!--Calendrier-->");
document.writeln("<p id=\"dateRetourMEV\">");
document.writeln("<label>Data ritorno:</label>");
document.writeln("<select id=\"jourMEVRetour\" name=\"jourRetour\"><option></option></select>");
document.writeln("<select id=\"moisMEVRetour\" name=\"moisRetour\"><option></option></select>");
document.writeln("<img id=\"calendrierMEVRetourIcon\" src=\"http://www.easyvols.org/base/imgs/default/calendrier.gif\" alt=\"Calendario ritorno\" />");
document.writeln("</p>");
document.writeln("<div id=\"calendrierMEVRetour\"></div><!--Calendrier-->");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"typePassagersMEV\" title=\"Selezione del numero di passeggeri per ogni categoria d'et&agrave;\">");
document.writeln("<legend>Passeggeri:</legend>");
document.writeln("<div id=\"errorMEVNbBebes\">Il numero di neonati non deve esser superiore al numero di adulti</div>");
document.writeln("<p id=\"nbAdultesMEV\">");
document.writeln("<label>Adulti:</label>");
document.writeln("<select id=\"paxAdultes\" name=\"paxAdultes\">");
document.writeln("<option value=\"1\" selected=\"selected\">1</option>");
document.writeln("<option value=\"2\">2</option>");
document.writeln("<option value=\"3\">3</option>");
document.writeln("<option value=\"4\">4</option>");
document.writeln("<option value=\"5\">5</option>");
document.writeln("<option value=\"6\">6</option>");
document.writeln("<option value=\"7\">7</option>");
document.writeln("<option value=\"8\">8</option>");
document.writeln("<option value=\"9\">9</option>");
document.writeln("</select>");
document.writeln("</p>");
document.writeln("<p id=\"nbEnfantsMEV\">");
document.writeln("<label>Bambini:</label>");
document.writeln("<select id=\"paxEnfants\" name=\"paxEnfants\">");
document.writeln("<option value=\"0\" selected=\"selected\">0</option>");
document.writeln("<option value=\"1\">1</option>");
document.writeln("<option value=\"2\">2</option>");
document.writeln("<option value=\"3\">3</option>");
document.writeln("<option value=\"4\">4</option>");
document.writeln("<option value=\"5\">5</option>");
document.writeln("<option value=\"6\">6</option>");
document.writeln("<option value=\"7\">7</option>");
document.writeln("<option value=\"8\">8</option>");
document.writeln("<option value=\"9\">9</option>");
document.writeln("</select>");
document.writeln("</p>");
document.writeln("<p id=\"nbBebesMEV\">");
document.writeln("<label>Beb&egrave;:</label>");
document.writeln("<select id=\"paxBebes\" name=\"paxBebes\">");
document.writeln("<option value=\"0\" selected=\"selected\">0</option>");
document.writeln("<option value=\"1\">1</option>");
document.writeln("<option value=\"2\">2</option>");
document.writeln("<option value=\"3\">3</option>");
document.writeln("<option value=\"4\">4</option>");
document.writeln("<option value=\"5\">5</option>");
document.writeln("<option value=\"6\">6</option>");
document.writeln("<option value=\"7\">7</option>");
document.writeln("<option value=\"8\">8</option>");
document.writeln("<option value=\"9\">9</option>");
document.writeln("</select>");
document.writeln("</p>");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"classeMEV\" title=\"Selezione della classe\">");
document.writeln("<legend>Classe</legend>");
document.writeln("<p id=\"classeEcoMEV\">");
document.writeln("<label>");
document.writeln("<input type=\"radio\" value=\"1\" name=\"classe\" checked=\"checked\" />");
document.writeln("Economica");
document.writeln("</label>");
document.writeln("<label>");
document.writeln("<input type=\"radio\" value=\"3\" name=\"classe\" />");
document.writeln("Affari");
document.writeln("</label>");
document.writeln("<label>");
document.writeln("<input type=\"radio\" value=\"2\" name=\"classe\" />");
document.writeln("Prima");
document.writeln("</label>");
document.writeln("</p>");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"submitBtMEV\" title=\"\">");
document.writeln("<legend></legend>");
document.writeln("<input id=\"submitMEV\" type=\"submit\" value=\"\"/>");
document.writeln("</fieldset>");
document.writeln("</form>");
document.writeln("<form id=\"formMEH\" action=\"http://www.easyvols.org/voliper/meh/results.jsp\" method=\"get\">");
document.writeln("<input type=\"hidden\" name=\"clientId\" value=\"1\"/> ");
document.writeln("<fieldset id=\"villesMEH\" title=\"Selezione del luogo di soggiorno e delle date d'arrivo e di partenza\">");
document.writeln("<legend>Luogo e date del soggiorno</legend>");
document.writeln("<p id=\"villeMEH\">");
document.writeln("<label for=\"lieuMEH\">Citt&agrave;:</label>");
document.writeln("<input id=\"lieuMEH\" type=\"text\" name=\"lieu\" />");
document.writeln("<input type=\"hidden\" id=\"lieuIataMEH\" name=\"lieuIata\" />");
document.writeln("</p>");
document.writeln("<div id=\"propositionsMEH\"></div><!--Completion-->");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"dateMEH\" title=\"Inizio\">");
document.writeln("<legend>Inizio</legend>");
document.writeln("<div id=\"errorMEHDateDebutErronee\">La data scelta d'inizio soggiorno &egrave; sbagliata.</div>");
document.writeln("<div id=\"errorMEHDateFinErronee\">La data scelta di fine soggiorno &egrave; sbagliata.</div>");
document.writeln("<div id=\"errorMEHDatesInversees\">La data di fine soggiorno &egrave; anteriore alla data d'inizio soggiorno.</div>");
document.writeln("<p id=\"dateDebutMEH\">");
document.writeln("<label for=\"jourDebutMEH\">Inizio</label>");
document.writeln("<select id=\"jourDebutMEH\" name=\"jourDebut\"><option></option></select>");
document.writeln("<select id=\"moisDebutMEH\" name=\"moisDebut\"><option></option></select>");
document.writeln("<img id=\"calendrierMEHDebutIcon\" src=\"http://www.easyvols.org/base/imgs/default/calendrier.gif\" alt=\"Calendario andata\" />");
document.writeln("</p>");
document.writeln("<div id=\"calendrierMEHDebut\"></div><!--Calendrier-->");
document.writeln("<p id=\"dateFinMEH\">");
document.writeln("<label for=\"jourFinMEH\">Fine</label>");
document.writeln("<select id=\"jourFinMEH\" name=\"jourFin\"><option></option></select>");
document.writeln("<select id=\"moisFinMEH\" name=\"moisFin\"><option></option></select>");
document.writeln("<img id=\"calendrierMEHFinIcon\" src=\"http://www.easyvols.org/base/imgs/default/calendrier.gif\" alt=\"Calendario ritorno\" />");
document.writeln("</p>");
document.writeln("<div id=\"calendrierMEHFin\"></div><!--Calendrier-->");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"hebergementMEH\" title=\"Selezione delle caratteristiche dell'alloggio\">");
document.writeln("<legend>Alloggio</legend>");
document.writeln("<p id=\"nbChambresMEH\">");
document.writeln("<label for=\"chambres\">Camera/e:</label>");
document.writeln("<select id=\"chambres\" name=\"chambres\">");
document.writeln("<option value=\"1\" selected=\"selected\">1</option>");
document.writeln("<option value=\"2\">2</option>");
document.writeln("<option value=\"3\">3</option>");
document.writeln("<option value=\"4\">4</option>");
document.writeln("</select>");
document.writeln("</p>");
document.writeln("<p id=\"nbAdultesMEH\">");
document.writeln("<label for=\"paxAdultes\">Adulto/i:</label>");
document.writeln("<select id=\"paxAdultes\" name=\"paxAdultes\">");
document.writeln("<option value=\"1\">1</option>");
document.writeln("<option value=\"2\" selected=\"selected\">2</option>");
document.writeln("<option value=\"3\">3</option>");
document.writeln("<option value=\"4\">4</option>");
document.writeln("<option value=\"5\">5</option>");
document.writeln("<option value=\"6\">6</option>");
document.writeln("<option value=\"7\">7</option>");
document.writeln("<option value=\"8\">8</option>");
document.writeln("<option value=\"9\">9</option>");
document.writeln("</select>");
document.writeln("</p>");
document.writeln("<p id=\"nbEnfantsMEH\">");
document.writeln("<label for=\"paxEnfants\">Bambino/i:</label>");
document.writeln("<select id=\"paxEnfants\" name=\"paxEnfants\">");
document.writeln("<option value=\"0\" selected=\"selected\">0</option>");
document.writeln("<option value=\"1\">1</option>");
document.writeln("<option value=\"2\">2</option>");
document.writeln("<option value=\"3\">3</option>");
document.writeln("<option value=\"4\">4</option>");
document.writeln("<option value=\"5\">5</option>");
document.writeln("<option value=\"6\">6</option>");
document.writeln("<option value=\"7\">7</option>");
document.writeln("<option value=\"8\">8</option>");
document.writeln("<option value=\"9\">9</option>");
document.writeln("</select>");
document.writeln("</p>");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"categoriesMEH\" title=\"Selezione della categoria dell'alloggio\">");
document.writeln("<legend>Categoria</legend>");
document.writeln("<p id=\"listeEtoiles\">");
document.writeln("<label for=\"etoiles\">Stella/e:</label>");
document.writeln("<select id=\"etoiles\" name=\"etoiles\">");
document.writeln("<option value=\"0\" selected=\"selected\">Tutti</option>");
document.writeln("<option value=\"1\">1 stella</option>");
document.writeln("<option value=\"2\">2 stelle</option>");
document.writeln("<option value=\"3\">3 stelle</option>");
document.writeln("<option value=\"4\">4 stelle</option>");
document.writeln("<option value=\"5\">5 stelle</option>");
document.writeln("</select>");
document.writeln("</p>");
document.writeln("</fieldset>");
document.writeln("<fieldset title=\"Cominciare la ricerca\" id=\"submitBtMEH\">");
document.writeln("<legend></legend>");
document.writeln("<input id=\"submitMEH\" type=\"submit\" value=\"\" />");
document.writeln("</fieldset>");
document.writeln("</form>");
document.writeln("<form id=\"formMEC\" action=\"http://www.easyvols.org/voliper/mec/results.jsp\" method=\"get\">");
document.writeln("<input type=\"hidden\" name=\"clientId\" value=\"1\"/> ");
document.writeln("<fieldset id=\"retraitMEC\" title=\"Selezione luogo di ritiro\">");
document.writeln("<legend>Luogo</legend>");
document.writeln("<p>");
document.writeln("<label for=\"lieuMEC\">Luogo di ritiro:</label>");
document.writeln("<input id=\"lieuMEC\" type=\"text\" name=\"pickUpSuggest\" />");
document.writeln("<input id=\"adresseCodeMEC\" type=\"hidden\" name=\"pickUpLocation\" />");
document.writeln("</p>");
document.writeln("<div id=\"propositionsMEC\"></div><!--Completion-->");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"dateMEC\" title=\"Selezione delle date\">");
document.writeln("<legend>Date e ore</legend>");
document.writeln("<div id=\"errorMECDateDebutErronee\">La data di ritiro dell'auto scelta &egrave; sbagliata</div>");
document.writeln("<div id=\"errorMECDateFinErronee\">La data di ristituzione dell'auto scelta &egrave; sbagliata</div>");
document.writeln("<div id=\"errorMECDatesInversees\">La data di ristituzione dell'auto &egrave; anteriore a quella del suo ritiro</div>");
document.writeln("<p id=\"dateDebutMEC\">");
document.writeln("<label for=\"jourDebutMEC\">Data di ritiro:</label>");
document.writeln("<select id=\"jourDebutMEC\" name=\"pickUpDay\"><option></option></select>");
document.writeln("<select id=\"moisDebutMEC\" name=\"pickUpMonth\"><option></option></select>");
document.writeln("<img id=\"calendrierMECDebutIcon\" src=\"http://www.easyvols.org/base/imgs/default/calendrier.gif\" alt=\"Calendario date ritiro\" />");
document.writeln("<select id=\"heureDebutMEC\" name=\"pickUpHour\"><option></option></select>");
document.writeln("</p>");
document.writeln("<div id=\"calendrierMECDebut\"></div><!--Calendrier-->");
document.writeln("<p id=\"dateFinMEC\">");
document.writeln("<label for=\"jourFinMEC\">Data di ritorno:</label>");
document.writeln("<select id=\"jourFinMEC\" name=\"dropOffDay\"><option></option></select>");
document.writeln("<select id=\"moisFinMEC\" name=\"dropOffMonth\"><option></option></select>");
document.writeln("<img id=\"calendrierMECFinIcon\" src=\"http://www.easyvols.org/base/imgs/default/calendrier.gif\" alt=\"Calendario date ritorno\" />");
document.writeln("<select id=\"heureFinMEC\" name=\"dropOffHour\"><option></option></select>");
document.writeln("</p>");
document.writeln("<div id=\"calendrierMECFin\"></div><!--Calendrier-->");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"ageConducteurMEC\" title=\"Selezione anni del conducente\">");
document.writeln("<legend>Conducente</legend>");
document.writeln("<p>");
document.writeln("<label for=\"ageMEC\">Et&agrave;:</label>");
document.writeln("<input id=\"ageMEC\" type=\"text\" name=\"driverAge\" />");
document.writeln("</p>");
document.writeln("</fieldset>");
document.writeln("<fieldset id=\"submitBtMEC\" title=\"Cominciare la ricerca\">");
document.writeln("<legend></legend>");
document.writeln("<input id=\"submitMEC\" type=\"submit\" value=\"\"/>");
document.writeln("</fieldset>");
document.writeln("</form>");
document.writeln("</div>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/formulaires/formng/init.js\"></script\>");