function setClient(code){
	document.getElementsByName("clientId")[0].value=code;
	return;
}
function setActions (dir) {
	try {
		setActionMEV ("http://www.easyvols.org/"+dir+"/mev/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/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/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/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/calendar.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/styles/ei/it/type_c/400x150/def_mev.css\" type=\"text/css\" media=\"screen\" /><!--ei-->");
document.writeln("<link rel=\"stylesheet\" href=\"http://www.easyvols.org/base/styles/ei/it/type_c/400x150/mev.css\" type=\"text/css\" media=\"screen\" />");
document.writeln("<div id=\"me\">");
document.writeln("<form target=_blank id=\"formMEV\" action=\"http://www.easyvols.org/partners-it/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=\"Ricercare\">");
document.writeln("<legend>Ricercare</legend>");
document.writeln("<input id=\"submitMEV\" type=\"submit\" value=\"Ricercare\"/>");
document.writeln("</fieldset>");
document.writeln("</form>");
document.writeln("</div>");
document.writeln("<script type=\"text/javascript\" src=\"http://www.easyvols.org/base/js/formulaires/formng/initMEV.js\"></script\>");