

/**
 * Fonction anonyme de dï¿½claration de la classe VolSegment.
 * Certaines fonctions ne sont visible que par les
 * classes concernï¿½es (dï¿½clarï¿½es ici).
 * Ce mï¿½canisme de fonction anonyme permet de reproduire
 * un systï¿½me d'encapsulation digne d'un langage de
 * programmation ï¿½voluï¿½ (comme le Java).
 * Classes et ï¿½lï¿½ments visibles seront stockï¿½s dans le
 * namespace 'ev.rjs'.
 */
(function() {
	var window = this,
			ev = window.ev,
			FALSE = !ev, TRUE = !FALSE,
			domElement = ev && ev.dom && ev.dom.element,
			Date = window.Date;

	if (FALSE) { throw 'mev.searchHistoryManager#<init>: Needs ev.core module!'; }
	// On s'assure que le namespace ev.mev existe
	if (!ev.mev) { ev.mev = {}; }
	// Si la classe ev.mev.VolNew est dï¿½jï¿½ dï¿½clarï¿½e, on sort
	if (ev.mev.VolNew) {return;}
	if (!ev.lang.mapper) {throw "L'objet 'ev.lang.mapper' doit exister";}
	if (!ev.lang.mev || !ev.lang.mev.results) {throw "Les textes de 'ev.lang.mev.results' doivent exister";}

	/*
	 * Liste des propriï¿½tï¿½s utilisable sur les objets VolNew.
	 * FIXME: pour l'instant les champs suivant ne sont pas settï¿½ dans le rjs. Certains ($) peuvent ï¿½tre dï¿½duit facilement des donnï¿½es rï¿½cupï¿½rï¿½s
	 * pubDate
	 * axe ($)
	 * partenaire
	 */
	var PROPERTIES = [
										'id',
										'ukey',
										'pubDate',
										'axe',
										'prix',
										'prixInt',
										'prixValue',
										'idPartenaire',
										'partenaire',
										'codeCompagnie',
										'urlInfos',
										'idTrajetAR',
										'aeroports'
	],
			NULL = null,
			PartenairesImagesPath = ev.path.img + '/logos/partenairesLittle/',
			PartenairesImagesExt = '.gif',
			// Raccourci vers le mapper de traductions.
			elm = ev.lang.mapper,
			// Raccourci vers les traductions de la page de rï¿½sultats.
			results = ev.lang.mev.results,
										// Suffixe ï¿½ utiliser pour les images des compagnies aï¿½rienne de code XX. (cf mï¿½thode getCompagniecode)
										imgLangSuffix = NULL,
										/**
										 * Expression rï¿½guliï¿½re permettant d'interprï¿½ter un vol
										 * sous forme de clï¿½ unique (chaine de caractï¿½res).<br>
										 * Contient 8 groupes :<br>
										 *  - $1: id partenaire<br>
										 *  - $2: prix en centimes<br>
										 *  - $3 ï¿½ $8: 6 segments de vol
										 */
										REGEXP_VOL_UKEY = (function() { // tech de "closure"
											var p = '([0-9]+),([0-9]+)',
											PAT_SEG = '(.*)',
											SEP_SEG = ';',
											n = 6;
											while (n--) {
												p += SEP_SEG + PAT_SEG;
											}
											return new RegExp(p);
										}());
	//TODO: ï¿½ utiliser pour ï¿½viter de recalculer ï¿½ chaque fois le nombre d'escales
	/** @see getNbSegmentsAller   */
	//var nbSegmentsAller;
	/** @see getNbSegmentsRetour   */
	//var nbSegmentsRetour;

	/**
	 * Mï¿½thode facilitant la crï¿½ation d'accesseurs.
	 * @param {Object} _object : l'objet pour lequel il faut crï¿½er des accesseurs.
	 * @param {Object} _property : propriï¿½tï¿½ nï¿½cessitant des accesseurs.
	 */
	function createAccessors(_object, _property) {
		var tmpP = _property.capitalize();
		/** getter */
		_object['get' + tmpP] = function() {
			return _object[_property];
		};
		/** setter */
		_object['set' + tmpP] = function(v) {
			_object[_property] = v;
		};
		//ev.log.warn('property "'+_property+'" ok : get'+tmpP+'() / set'+tmpP+'(v)');
	}

	/**
	 * Parcours le tableau array et test si un element ï¿½ une propriï¿½tï¿½ iata ï¿½gale au paramï¿½tre iata de la fonction.
	 * @param {Object} array
	 * @param {Object} iata
	 */
	function isEscaleInArray(array,iata) {
		if (!array || !iata) {
			return FALSE;
		}
		for (var i = 0; i < array.length; i++) {
			if (array[i].iata && array[i].iata === iata) {
				return TRUE;
			}
		}
		return FALSE;
	}

	/**
	 * Retourne le nom de l'aï¿½roport du code donnï¿½.
	 * @param {String} c : code IATA de l'aeroport recherchï¿½.
	 */
	function getNomAeroport(c) {
		// Raccourci vers contexte MEV s'il existe
		var ctv = ev.mev.Context,
				/// Raccourci vers le tableau d'aï¿½roports du contexte MEV s'il existe
				aps = ctv && ctv.aeroports;
		if (!aps) {
			ev.log.info('mev.vol._getNomAeroport(): tableau d\'aï¿½roports non dï¿½fini');
			return '';
		}
		if (!c || !aps[c]) {
			ev.log.warn('mev.vol._getNomAeroport(): code aï¿½roport inconnu \'' + c + '\'');
			return '';
		}
		return aps[c].nom || '';
	}

	/**
	 * Retourne le nom de la ville de l'aï¿½roport du code donnï¿½.
	 * @param {String} c : code IATA de l'aeroport recherchï¿½.
	 */
	function getNomVille(c) {
		// Raccourci vers contexte MEV s'il existe
		var ctv = ev.mev.Context,
				// Raccourci vers le tableau d'aï¿½roports du contexte MEV s'il existe
				aps = ctv && ctv.aeroports;
		if (!aps) {
			ev.log.info('mev.vol._getNomVille(): tableau d\'aï¿½roports non dï¿½fini');
			return '';
		}
		if (!c || !aps[c]) {
			ev.log.warn('mev.vol._getNomVille(): code aï¿½roport inconnu \'' + c + '\'');
			return '';
		}
		return aps[c].nomVille || '';
	}

	/**
	 * Constructeur simple sans paramï¿½tre.
	 * Il initialise les getters/setters des
	 * propriï¿½tï¿½s du VolSegment.
	 * @see createAccessors(_object, _property)
	 */
	ev.mev.VolNew = function() {
		var propCnt = PROPERTIES.length;
		for (var i = 0; i < propCnt; ++i) {
			createAccessors(this, PROPERTIES[i]);
		}
		this.segment = [NULL, NULL, NULL, NULL, NULL, NULL];

		/**
		 * @return un chaine vide ('') si ce vol contient une
		 *   partie retour et 'true' sinon.
		 */
		this.getAS = function() {
			return !this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1] || '';
		};

		/**
		 * @return 'true' si ce vol contient une partie retour
		 *   et 'false' sinon.
		 */
		this.hasRetour = function() {
			return !!this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1];
		};

		/**
		 * Ajoute un segment au vol. Si le type de segment existe dï¿½jï¿½ dans le vol, il est ï¿½crasï¿½
		 * @param {!Object} volSegment ev.mev.VolSegment ï¿½ ajouter.
		 * @param {!number} typeVolSegment type du segment ï¿½ ajouter (numï¿½ro du segment de 0 ï¿½ 5).
		 */
		this.addSegment = function(volSegment, typeVolSegment) {
			if (!volSegment) {return;}
			if (typeof(typeVolSegment) !== 'number' || typeVolSegment < 0 || typeVolSegment > 5) {
				ev.log.error('ev.mev.VolNew#addSegment: le paramï¿½tre typeVolSegment=' + typeVolSegment + ' doit ï¿½tre un chiffre compris entre 0 et 5 inclus');
			}
			this.segment[typeVolSegment] = volSegment;
			this.segment[typeVolSegment].className = 'escale';    // TODO Vï¿½rifier l'utilitï¿½ de cette dï¿½claratation
		};
	};

	// TEXTES
	var resFrsEntre = elm.ifdef(results.fraisEntre),
			resFrsEt = elm.ifdef(results.fraisEt),
			resMnyPfx = elm.ifdef(results.monnaiePrefixe),
			resMnySfx = elm.ifdef(results.monnaieSuffixe),
			resPrctPfx = elm.ifdef(results.pourcentPrefixe),
			resPrctSfx = elm.ifdef(results.pourcentSuffixe);


	// ********************************* //
	// ********************************* //
	// ******** REGLES FRAIS CB ******** //
	// ********************************* //
	// ********************************* //
	/**
	 * Gï¿½nï¿½re le texte des frais pour le(s) prix donnï¿½(s).
	 *
	 * @param {!(number|string)} prx premier prix (seul prix si c'est fixe).
	 * @param {(number|string)=} prx2 (optionnel) si le prix n'est pas fixe, prx2 est le prix max de l'ï¿½tendue possible.
	 */
	function getTextFrais(prx, prx2) {
		if (prx2) {
			return resFrsEntre + resMnyPfx + prx + resFrsEt + resMnyPfx + prx2 + resMnySfx;
		}
		return resMnyPfx + prx + resMnySfx;
	}

	/**
	 * Gï¿½nï¿½re le texte des frais pour le pourcentage donnï¿½.
	 *
	 * @param {!(number|string)} prct pourcentage ï¿½ afficher.
	 */
	function getTextFraisPercent(prct) {
		return resPrctPfx + prct + resPrctSfx;
	}

	//JSON associant partenaire/compagnie ï¿½ des frais de CB
	var fees_CB_part_comp = {},
			//JSON associant un partenaire ï¿½ des frais de CB
			fees_CB = {},
			//JSON associant partenaire/compagnie ï¿½ des frais de dossier
			fees_Dossier_part_comp = {},
			//JSON associant un partenaire ï¿½ des frais de dossier
			fees_Dossier = {},
			//JSON associant compagnie/partenaire ï¿½ des frais de bagages
			fees_Bagages_part_comp = {},
			//JSON associant une compagnie ï¿½ des frais de bagages
			fees_Bagages = {},

			// Raccourcis vers noms de tags
			STRONG = 'strong', BR = 'br',
			// Tag de retour ï¿½ la ligne
			tagBR = {tag: BR},

			// noms de cartes
			amex_pfx = 'AMEX : ',
			amexLow_pfx = 'Amex : ',
			americanExpress_pfx = 'American Express : ',
			mastercard_pfx = 'Mastercard : ',
			cb_pfx = 'CB : ',
			visaElectron_pfx = 'Visa Electron : ',
			visa_pfx = 'Visa : ',
			paypal_pfx = 'Paypal : ',

			visaDebito_pfx = 'Visa Debito : ',
			visaCredito_pfx = 'Visa Credito : ',
			mastercardCredito_pfx = 'Master card Credito : ',
			mastercardDebito_pfx = 'Master card Debito : ',
			mastercardPrepaid_pfx = 'MasterCard prepaid : ',

			visaCredit_pfx = 'Visa Credit : ',
			visaDebit_pfx = 'Visa Debit : ';

	/**
	 * Ajoute des frais pour le couple partenaire-compagnie donnï¿½.
	 *
	 * @param {!string} code code partenaire+compagnie.
	 * @param {!(number|string)} prx premier prix (seul prix si c'est fixe).
	 * @param {(number|string)=} prx2 (optionnel) si le prix n'est pas fixe, prx2 est le prix max de l'ï¿½tendue possible.
	 */
	function addFeesCB_PartComp(code, prx, prx2) {
		fees_CB_part_comp[code] = getTextFrais(prx, prx2);
	}

	addFeesCB_PartComp('103_U2', 8, 14);//Ebookers fr_FR - Easyjet
	addFeesCB_PartComp('103_BE', 0, 13);//Ebookers fr_FR - Jersey European Airways Limited(Fly Be)
	addFeesCB_PartComp('103_4U', 8);//Ebookers fr_FR - GermanWings
	fees_CB_part_comp['127_AB'] = fees_CB_part_comp['127_SN'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais(7)},
		tagBR,
		{tag: STRONG, content: cb_pfx + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(6)},
		tagBR
	];//Opodo Low Cost fr_FR - Air Berlin/Brusselles airlines
	fees_CB_part_comp['127_4U'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: cb_pfx + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(8)},
		tagBR
	];//Opodo Low Cost fr_FR - GermanWings
	addFeesCB_PartComp('127_BE', 13);//Opodo Low Cost fr_FR - Jersey European Airways Limited(Fly Be)
	addFeesCB_PartComp('127_U2', 12);//Opodo Low Cost fr_FR - easyjet
	addFeesCB_PartComp('127_FR', 10);//Opodo Low Cost fr_FR - ryanair
	addFeesCB_PartComp('120_FR', 25);//Bravofly - Ryanair
	addFeesCB_PartComp('120_U2', 18);//Bravofly - easyjet
	fees_CB_part_comp['120_AB'] = fees_CB_part_comp['120_SN'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais(15)},
		tagBR,
		{tag: STRONG, content: cb_pfx + getTextFrais(9)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(9)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(9)},
		tagBR,
		{tag: STRONG, content: paypal_pfx + getTextFrais(0)}
	];//BravoFly fr_FR - Air Berlin/Brusselles airlines
	//fees_CB_part_comp["141_U2"]=[
	//{tag:STRONG, content:visa_pfx+getTextFrais('18.85')},
	//tagBR,
	//{tag:STRONG, content:visaElectron_pfx+getTextFrais('9.35')},
	//tagBR,
	//{tag:STRONG, content:mastercard_pfx+getTextFrais('18.85')}
	//];//Logitravel ES - easyjet
	fees_CB['141'] = getTextFrais(' 10 ');
	fees_CB_part_comp['141_FR'] = getTextFrais(' 10 '); //Logitravel ES - ryanair
	fees_CB_part_comp['141_VY'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais('9.50')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5.50')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('9.50')},
		tagBR,
		{tag: STRONG, content: mastercardDebito_pfx + getTextFrais('5.50')}
	];//Logitravel ES - vueling
	//fees_CB_part_comp["141_AB"]=[
	//{tag:STRONG, content:visa_pfx+getTextFrais('9.35')},
	//tagBR,
	//{tag:STRONG, content:mastercard_pfx+getTextFrais('9.35')}
	//];//Logitravel ES - air berlin
	fees_CB_part_comp['147_FR'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('14.40')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('12.40')},
		tagBR,
		{tag: STRONG, content: paypal_pfx + getTextFrais('12.40')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('12.40')}
	];//Volagratis IT - ryanair
	fees_CB_part_comp['147_U2'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(15)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(10)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(10)},
		tagBR,
		{tag: STRONG, content: paypal_pfx + getTextFrais(10)}
	];//Volagratis IT - easyjet
	fees_CB_part_comp['149_FR'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: cb_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(12)}
	];//Opodo IT - ryanair
	fees_CB_part_comp['149_U2'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: cb_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('11.95')}
	];//Opodo IT - easyjet
	fees_CB_part_comp['149_SN'] = getTextFrais(' 0 ');//Opodo IT - Brussels Airline
	fees_CB_part_comp['150_U2'] = [
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('0')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('17.11')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('10')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('17.11')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('17.11')},
		tagBR,
		{tag: STRONG, content: 'Diners clubs :' + getTextFrais('17.11')}
	];//TUI IT - easyjet
	fees_CB_part_comp['150_VY'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('9.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5.5')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('5.5')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('9.5')},
		tagBR,
		{tag: STRONG, content: 'Diners club : ' + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('12')}
	];//TUI IT - Vueling
	fees_CB_part_comp['150_FR'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(12)}
	];//TUI IT - Ryanair



	//ATRAPALO - ID 181*************************************************************************
	fees_CB_part_comp['181_AZ'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('21.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais('14.5')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('21.5')}
	];//Atrapalo IT - alitalia
	fees_CB_part_comp['181_IB'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('15.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('11.5')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('11.5')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('15.5')}
	];//Atrapalo IT - Iberia
	fees_CB_part_comp['181_AP'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais(5)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5.32')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(8)}
	];//Atrapalo IT - Air One
	fees_CB_part_comp['181_UX'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais(5)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5.65')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(8)}
	];//Atrapalo IT - Air Europa
	fees_CB_part_comp['181_U2'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('22')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('6')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('16')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('22')}
	];//Atrapalo IT - easyjet
	fees_CB_part_comp['181_VY'] = [
		{tag: STRONG, content: mastercardDebito_pfx + getTextFrais('5.5')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('25.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5.5')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('15.5')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('25.5')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('28')}
	];//Atrapalo IT - vueling
	fees_CB_part_comp['181_FR'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(6)}
	];//Atrapalo IT - ryanair
	fees_CB_part_comp['181_BA'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('13.93')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('13.93')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(12)}
	];//Atrapalo IT - British Airway
	fees_CB_part_comp['182_LX'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: 'MasterCard prepaid Italia : ' + getTextFrais('0')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('5', '7')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(2)}
	];//EDREAMS IT - SWISS
	fees_CB_part_comp['182_UX'] = [
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('19.43')}
	];//EDREAMS IT - Air Europa

	fees_CB_part_comp['182_U2'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('18')},
		tagBR,
		{tag: STRONG, content: 'MasterCard prepaid Italia : ' + getTextFrais('18')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('20.28')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(18)}
	];//EDREAMS IT - EasyJet
	fees_CB_part_comp['182_US'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-30.42')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: 'MasterCard prepaid : ' + getTextFrais('0')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('19.58')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(2)}
	];//EDREAMS IT - US Airways
	fees_CB_part_comp['182_LH'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-14.42')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: 'MasterCard prepaid : ' + getTextFrais('0')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('15.25')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(2)}
	];//EDREAMS IT - Lufhtansa
	fees_CB_part_comp['182_SE'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-25.10')},
		tagBR,
		{tag: STRONG, content: mastercardPrepaid_pfx + getTextFrais('3')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('9.79')}
	];//EDREAMS IT - XL AIRWAYS
	fees_CB_part_comp['182_KL'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-17.71')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('6.06')}
	];//EDREAMS IT - KLM
	fees_CB_part_comp['182_TO'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-25.10')},
		tagBR,
		{tag: STRONG, content: mastercardPrepaid_pfx + getTextFrais('3')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('5')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('9.79')}
	];//EDREAMS IT - TRANSAVIA
	fees_CB_part_comp['182_VY'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-12')},
		tagBR,
		{tag: STRONG, content: 'Visa Vueling : ' + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: mastercardPrepaid_pfx + getTextFrais('5.5')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('27.5')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('17.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('7.5')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('27.5')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('41.68')}
	];//EDREAMS IT - Vueling

	fees_CB_part_comp['182_BA'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-29.58')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: 'Visa Credito con PIN : ' + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: 'Mastercard Credito con PIN : ' + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('19.39')}
	];//EDREAMS IT - BRITISH AIRWAYS

	fees_CB_part_comp['182_XX'] = [
		{tag: STRONG, content: 'Carta edreams : ' + getTextFrais('-13.92')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('2')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: mastercardPrepaid_pfx + getTextFrais('16')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('18')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('18')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('30.30')}
	];//EDREAMS IT - VOLO SPECIALE (compagnies inconnues)


	/*fees_CB_part_comp["160_FR"]=[
					{tag:STRONG, content:"Visa: "+getTextFrais('14.70')},
					tagBR,
					{tag:STRONG, content:mastercard_pfx+getTextFrais('14.70')},
					tagBR,
					{tag:STRONG, content:visaElectron_pfx+getTextFrais('14.70')},
					tagBR,
					{tag:STRONG, content:"Master card ryanair : "+getTextFrais('0')}
				];//Logitravel IT - ryanair
		fees_CB_part_comp["160_U2"]=[
					{tag:STRONG, content:"Visa: "+getTextFrais('13.50')},
					tagBR,
					{tag:STRONG, content:mastercard_pfx+getTextFrais('13.50')},
					tagBR,
					{tag:STRONG, content:visaElectron_pfx+getTextFrais('4')},
					tagBR,
					{tag:STRONG, content:"Diners club : "+getTextFrais('9.5')},
					tagBR,
					{tag:STRONG, content:"Visa de debito : "+getTextFrais('8')}
				];//Logitravel IT - easyjet
		fees_CB_part_comp["160_AZ"]=[
					{tag:STRONG, content:"Visa: "+getTextFrais('13.50')},
					tagBR,
					{tag:STRONG, content:mastercard_pfx+getTextFrais('13.50')},
					tagBR,
					{tag:STRONG, content:visaElectron_pfx+getTextFrais('4')},
					tagBR,
					{tag:STRONG, content:"Visa de debito : "+getTextFrais('8')}
				];//Logitravel IT - alitalia
		fees_CB_part_comp["160_VY"]=[
					{tag:STRONG, content:"Visa: "+getTextFrais('12.50')},
					tagBR,
					{tag:STRONG, content:mastercard_pfx+getTextFrais('12.50')},
					tagBR,
					{tag:STRONG, content:visaElectron_pfx+getTextFrais('8.5')},
					tagBR,
					{tag:STRONG, content:"Visa de Debito : "+getTextFrais('8.5')},
					tagBR,
					{tag:STRONG, content:"Diners club : "+getTextFrais('9.5')},
					tagBR,
					{tag:STRONG, content:"Visa Vueling : "+getTextFrais('0')}
				];//Logitravel IT - vueling
	 */
	fees_CB_part_comp['184_FR'] = [
		{tag: STRONG, content: mastercard_pfx + getTextFrais(10, '11.90')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(10, '11.90')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais(10)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(10)},
		tagBR,
		{tag: STRONG, content: 'Visa delta : ' + getTextFrais(10)}

	];//Tripado DE - ryanair
	fees_CB_part_comp['184_DE'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(8)}
	];//Tripado DE - Condor
	fees_CB_part_comp['184_AB'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(5)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(5)}
	];//Tripado DE - Air Berlin
	fees_CB_part_comp['184_QF'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(8)}
	];//Tripado DE - Quantas
	fees_CB_part_comp['184_U2'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('11.95')}
	];//Tripado DE - easyjet
	fees_CB_part_comp['184_EI'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(0)}
	];//Tripado DE - Aer Lingus
	fees_CB_part_comp['184_BE'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(13)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(13)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(13)}
	];//Tripado DE - Aer Lingus

	fees_CB_part_comp['184_TG'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(0)}
	];//Tripado DE - Thai Airways

	fees_CB_part_comp['178_U2'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('22.92')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('22.92')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('22.92')}
	];//Ebookers DE - easyjet
	fees_CB_part_comp['178_AB'] = [
		{tag: STRONG, content: 'Giropay : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(6)}
	];//Ebookers DE - air berlin
	fees_CB_part_comp['163_FR'] = [
		{tag: STRONG, content: getTextFrais('5.5')}
	];//Bravofly GB - Ryanair
	fees_CB_part_comp['163_CX'] = [
		{tag: STRONG, content: getTextFrais('3.5')}
	];//Bravofly GB - Cathay
	fees_CB['163'] = [
		{tag: STRONG, content: 'visa, Amex and MasterCard : ' + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: paypal_pfx + getTextFrais('0')}
	];//Bravofly autre compagnie
	fees_CB_part_comp['155_LH'] = fees_CB_part_comp['155_BD'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais('0.07')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('0.07')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('0.07')},
		tagBR,
		{tag: STRONG, content: 'Debit Card : ' + getTextFrais(0)}
	];//Ebookers GB - lufhtansa/BMI
	fees_CB_part_comp['155_DL'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais('6.11')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('6.11')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('6.11')},
		tagBR,
		{tag: STRONG, content: 'Debit Card : ' + getTextFrais(0)}
	];//Ebookers GB - Delta
	fees_CB_part_comp['155_KL'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais('5.33')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('5.33')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('5.33')},
		tagBR,
		{tag: STRONG, content: 'Debit Card : ' + getTextFrais(0)}
	];//Ebookers GB - KLM
	fees_CB_part_comp['183_UA'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais('15.85')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('10.58')},
		tagBR,
		{tag: STRONG, content: 'Visa CD : ' + getTextFrais('10.57')},
		tagBR,
		{tag: STRONG, content: 'Visa Debit Card/Maestro : ' + getTextFrais(0)}
	];//TravelUp GB - United Airlines
	fees_CB_part_comp['183_BD'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais('5.34')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('3.56')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('3.56')},
		tagBR,
		{tag: STRONG, content: 'Visa Debit Card/Maestro : ' + getTextFrais(0)}
	];//TravelUp GB - BMI


	//***** LogiTravel DE - Ryanair ********
	fees_CB_part_comp['187_FR'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais('13.7')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('13.7')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('13.7')},
		tagBR,
		{tag: STRONG, content: 'Mastercard ryanair : ' + getTextFrais(0)}
	];//LogiTravel DE - Ryanair

	//***** LogiTravel DE - Air Berlin ********
	fees_CB_part_comp['187_AB'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(0, '8.35')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(0, '8.35')}
	];//LogiTravel DE - Air Berlin

	//***** LogiTravel DE - EasyJet ********
	fees_CB_part_comp['187_U2'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais('12.5')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('12.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(3)},
		tagBR,
		{tag: STRONG, content: 'Visa debito : ' + getTextFrais(7)},
		tagBR,
		{tag: STRONG, content: 'Diner Club : ' + getTextFrais('9.5')}
	];//LogiTravel DE - EasyJet
	//*************************** frais logitravel FR **
	fees_CB_part_comp['193_4U'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(8)}
	];//LogiTravel FR - Germanwings

	fees_CB_part_comp['193_BD'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('5.18')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('5.18')}
	];//LogiTravel FR - British midland

	fees_CB_part_comp['193_BE'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: 'Diners Club : ' + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(5, 10)}
	];//LogiTravel FR - Jersey European Airways Limited

	fees_CB_part_comp['193_BV'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel FR - Blue Panorama

	fees_CB_part_comp['193_DE'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)}
	];//LogiTravel FR - Condor

	fees_CB_part_comp['193_FR'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('5.35', '10.7')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('5.35', '10.7')},
		tagBR,
		{tag: STRONG, content: 'Mastercard Ryanair : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5.35', '10.7')}
	];//LogiTravel FR - Ryanair

	fees_CB_part_comp['193_HF'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)}
	];//LogiTravel FR - Hapag Lloyd Fluggesellschaft

	fees_CB_part_comp['193_HV'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(3, 6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(3, 6)}
	];//LogiTravel FR - Transavia Airlines

	fees_CB_part_comp['193_JK'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel FR - Spanair

	fees_CB_part_comp['193_LH'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('5.18')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('5.18')}
	];//LogiTravel FR - Lufthansa

	fees_CB_part_comp['193_LZ'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6, 12)}
	];//LogiTravel FR - Balkan

	fees_CB_part_comp['193_PH'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(3)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(3)}
	];//LogiTravel FR - Polynesian Airlines

	fees_CB_part_comp['193_QZ'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel FR - Zambia Airways

	fees_CB_part_comp['193_RE'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel FR - Aer Arann

	fees_CB_part_comp['193_TO'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(3, 6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(3, 6)}
	];//LogiTravel FR - Transavia

	fees_CB_part_comp['193_TR'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)}
	];//LogiTravel FR - Transbrasil

	fees_CB_part_comp['193_U2'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais('5.95')},
		tagBR,
		{tag: STRONG, content: 'Diners Club : ' + getTextFrais('11.95')}
	];//LogiTravel FR - EasyJet

	fees_CB_part_comp['193_VY'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('8.5')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('8.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: 'Mastercard debit : ' + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais('4.5')}
	];//LogiTravel FR - Vueling

	fees_CB_part_comp['193_XL'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6, 12)}
	];//LogiTravel FR - LAN Ecuador

	fees_CB_part_comp['193_ZB'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(8, 16)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(8, 16)},
		tagBR,
		{tag: STRONG, content: 'Mastercard de Debito : ' + getTextFrais('5.5', 11)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('5.5', 11)}
	];//LogiTravel FR - Monarch Airlines

	fees_CB_part_comp['877_AZ'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais('6')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('6')}
	];//Volo24 - Alitalia

	fees_CB_part_comp['877_LH'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais('6')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('6')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('0')}
	];//Volo24 - Lufthansa

	fees_CB_part_comp['877_VY'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais('28.5')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('28.5')},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('12')}
	];//Volo24 - Vueling

	fees_CB_part_comp['980_FR'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais('6') + 'pro Reisende(r)'},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('6') + 'pro Reisende(r)'}
	];//Travelgenio de_DE - Ryanair


	//Cheap & Go ******************

	fees_CB_part_comp['198_FR'] = [
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('12.96')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('12.96')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('12.96')},
		tagBR
	];//Cheap & Go - ES - Ryanair LTD

	//  fees_CB_part_comp['198_IB'] = [
	//    {tag: STRONG, content: 'visa credit, visa Debit, AMEX, Mastercard: ' + getTextFrais('4.97')}
	//  ];//Cheap & Go - ES - Iberia

	//  fees_CB_part_comp['198_DL'] = [
	//    {tag: STRONG, content: 'visa credit, visa Debit, AMEX, Mastercard: ' + getTextFrais('4.97')}
	//  ];//Cheap & Go - ES - Delta Airlines
	//
	//  fees_CB_part_comp['198_AF'] = [
	//    {tag: STRONG, content: 'visa credit, visa Debit, AMEX, Mastercard: ' + getTextFrais('4.97')}
	//  ];//Cheap & Go - ES - Air France
	//
	//  fees_CB_part_comp['198_BA'] = [
	//    {tag: STRONG, content: 'visa credit, visa Debit, AMEX, Mastercard: ' + getTextFrais('4.97')}
	//  ];//Cheap & Go - ES - British Airways
	//
	//  fees_CB_part_comp['198_AB'] = [
	//    {tag: STRONG, content: 'visa credit, visa Debit, AMEX, Mastercard: ' + getTextFrais('4.97')}
	//  ];//Cheap & Go - ES - Air Berlin

	fees_CB_part_comp['198_VY'] = [
		{tag: STRONG, content: 'visa credit, visa Debit, AMEX, Mastercard: ' + getTextFrais('4.97')}
	];//Cheap & Go - ES - TAP Air Portugal

	//  fees_CB_part_comp['198_TP'] = [
	//    {tag: STRONG, content: 'visa credit, visa Debit, AMEX, Mastercard: ' + getTextFrais('4.97')}
	//  ];//Cheap & Go - ES - Vueling

	fees_CB_part_comp['198_U2'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(12.5)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(12.5)}
	];//Cheap & Go - ES - Easy Jet


	//Travelgenio *****************

	fees_CB_part_comp['864_FR'] = [
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(19)},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais(19)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(19)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(19)}
	];//Travelgenio - Ryanair - ES
	//  fees_CB_part_comp['864_US'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(15)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club :' + getTextFrais(0)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: visaElectron_pfx + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard debit :' + getTextFraisPercent(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debit :' + getTextFrais(7)}
	//  ];//Travelgenio - US Airways - ES

	//  fees_CB_part_comp['864_IB'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(15)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club :' + getTextFrais(0)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: visaElectron_pfx + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard debit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debit :' + getTextFrais(7)}
	//  ];//Travelgenio - Iberia - ES


	//  fees_CB_part_comp['864_KL'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(15)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club :' + getTextFrais(0)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: visaElectron_pfx + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard debit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debit :' + getTextFrais(7)}
	//  ];//Travelgenio - KLM - ES


	//  fees_CB_part_comp['864_AA'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(15)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club :' + getTextFrais(0)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: visaElectron_pfx + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard debit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debit :' + getTextFrais(7)}
	//  ];//Travelgenio - American Airlines - ES


	//  fees_CB_part_comp['864_UX'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(15)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: visaElectron_pfx + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard debit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debit :' + getTextFrais(7)}
	//  ];//Travelgenio - Air Europa - ES


	//  fees_CB_part_comp['864_LX'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(15)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: visaElectron_pfx + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Mastercard debit :' + getTextFrais(7)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debit :' + getTextFrais(7)}
	//  ];//Travelgenio - Swiss - ES

	fees_CB_part_comp['864_VY'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(28.5)},
		tagBR,
		{tag: STRONG, content: 'Diners Club :' + getTextFrais(9)},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(28.5)},
		tagBR,
		{tag: STRONG, content: mastercardDebito_pfx + getTextFrais(14.5)},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais(28.5)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(14.5)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(9)}
	];//Travelgenio - Vueling - ES


	fees_CB_part_comp['864_U2'] = [
		{tag: STRONG, content: 'Amex, Mastercard credito, Visa Credito :' + getTextFrais('21.5')},
		tagBR,
		{tag: STRONG, content: 'Visa electron, Diners club :' + getTextFrais(9)},
		tagBR,
		{tag: STRONG, content: 'Mastercard debito,Visa debito :' + getTextFrais('15.5')}
	];//Travelgenio - Easy jet - ES



	//********************************* Frais cb logitravel IT**************************************************************************************
	fees_CB_part_comp['160_4U'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(8)}
	];//LogiTravel IT - Germanwings

	fees_CB_part_comp['160_BD'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('5.18')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('5.18')}
	];//LogiTravel IT - British midland

	fees_CB_part_comp['160_BE'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: 'Diners Club : ' + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(5, 10)}
	];//LogiTravel IT - Jersey European Airways Limited

	fees_CB_part_comp['160_BV'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel IT - Blue Panorama

	fees_CB_part_comp['160_DE'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)}
	];//LogiTravel IT - Condor

	fees_CB_part_comp['160_FR'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('5.35', '10.7')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('5.35', '10.7')},
		tagBR,
		{tag: STRONG, content: 'Mastercard Ryanair : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('5.35', '10.7')}
	];//LogiTravel IT - Ryanair

	fees_CB_part_comp['160_HF'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)}
	];//LogiTravel IT - Hapag Lloyd Fluggesellschaft

	fees_CB_part_comp['160_HV'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(3, 6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(3, 6)}
	];//LogiTravel IT - Transavia Airlines

	fees_CB_part_comp['160_JK'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel IT - Spanair

	fees_CB_part_comp['160_LH'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('5.18')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('5.18')}
	];//LogiTravel IT - Lufthansa

	fees_CB_part_comp['160_LZ'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6, 12)}
	];//LogiTravel IT - Balkan

	fees_CB_part_comp['160_PH'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(3)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(3)}
	];//LogiTravel IT - Polynesian Airlines

	fees_CB_part_comp['160_QZ'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel IT - Zambia Airways

	fees_CB_part_comp['160_RE'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(5, 10)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(5, 10)}
	];//LogiTravel IT - Aer Arann

	fees_CB_part_comp['160_TO'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(3, 6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(3, 6)}
	];//LogiTravel IT - Transavia

	fees_CB_part_comp['160_TR'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)}
	];//LogiTravel IT - Transbrasil

	fees_CB_part_comp['160_U2'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('11.95')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais('5.95')},
		tagBR,
		{tag: STRONG, content: 'Diners Club : ' + getTextFrais('11.95')}
	];//LogiTravel IT - EasyJet

	fees_CB_part_comp['160_VY'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais('8.5')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('8.5')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: 'Mastercard debit : ' + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais('4.5')}
	];//LogiTravel IT - Vueling

	fees_CB_part_comp['160_XL'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(6, 12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6, 12)}
	];//LogiTravel IT - LAN Ecuador

	fees_CB_part_comp['160_ZB'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFrais(8, 16)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(8, 16)},
		tagBR,
		{tag: STRONG, content: 'Mastercard de Debito : ' + getTextFrais('5.5', 11)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('5.5', 11)}
	];//LogiTravel IT - Monarch Airlines


	//  fees_CB_part_comp['198_UX'] = [
	//    {tag: STRONG, content: visaCredit_pfx + getTextFrais('4.97')},
	//    tagBR,
	//    {tag: STRONG, content: visaDebit_pfx + getTextFrais('4.97')},
	//    tagBR,
	//    {tag: STRONG, content: amexLow_pfx + getTextFrais('4.97')},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais('4.97')},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners Club : ' + getTextFrais(0)}
	//  ];//CHEAP&GO_es_ES - Air europa



	addFeesCB_PartComp('104_U2', '12.5'); //VOYAGESSNCF_fr_FR - easyjet

	fees_CB_part_comp['195_U2'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('12.50')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('12.50')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('12.50')}
	];//ELUMBUS_de_DE - EasyJet

	//  fees_CB_part_comp['195_LH'] = [
	//    {tag: STRONG, content: americanExpress_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: visa_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: '\u00dcberweisung : ' + getTextFrais(0)}
	//  ];//ELUMBUS_de_DE - Lufthansa

	//  fees_CB_part_comp['195_IB'] = [
	//    {tag: STRONG, content: americanExpress_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: visa_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: '\u00dcberweisung : ' + getTextFrais(0)}
	//  ];//ELUMBUS_de_DE - Iberia

	addFeesCB_PartComp('195_AB', 6, 30); //Elumbus_de_DE - Air Berlin
	//  fees_CB_part_comp['195_AB'] = [
	//    {tag: STRONG, content: '' + getTextFrais(6,30)}
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: visa_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: '\u00dcberweisung : ' + getTextFrais(0)}
	//  ];//ELUMBUS_de_DE - Air berlin

	//  fees_CB_part_comp['195_QR'] = [
	//    {tag: STRONG, content: americanExpress_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: visa_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: '\u00dcberweisung : ' + getTextFrais(0)}
	//  ];//ELUMBUS_de_DE - Qatar Airways

	//  fees_CB_part_comp['195_JK'] = [
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(12)},
	//    tagBR,
	//    {tag: STRONG, content: visa_pfx + getTextFrais(12)},
	//    tagBR,
	//    {tag: STRONG, content: 'Bankeinzug : ' + getTextFrais(12)}
	//  ];//ELUMBUS_de_DE - Eithad

	fees_CB_part_comp['195_FR'] = [
		{tag: STRONG, content: mastercard_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: 'Lastschrift : ' + getTextFrais(12)}
	];//ELUMBUS_de_DE - Ryanair

	//  fees_CB_part_comp['195_EY'] = [
	//    {tag: STRONG, content: americanExpress_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: visa_pfx + getTextFrais(8)},
	//    tagBR,
	//    {tag: STRONG, content: '\u00dcberweisung : ' + getTextFrais(0)}
	//  ];//ELUMBUS_de_DE - Etihad

	fees_CB_part_comp['861_FR'] = [
		{tag: STRONG, content: 'frais CB : ' + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(12)}
	];//Halcon Viajes - ES - Ryanaiar


	fees_CB_part_comp['861_AF'] = [
		{tag: STRONG, content: 'frais CB :Tarjeta Visa Halcon Viajes: ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: 'Otras tarjetas de creditos :' + getTextFrais(3)}
	];//Halcon Viajes - ES - Air France


	fees_CB_part_comp['861_U2'] = [
		{tag: STRONG, content: 'Frais CB:Air Plus, Visa crédit, Diners club, Mastercard, Amex:' + getTextFrais('10.75')},
		tagBR,
		{tag: STRONG, content: 'Visa débit :' + getTextFrais(4)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(0)}
	];//Halcon Viajes - ES - Easyjet

	fees_CB_part_comp['861_VY'] = [
		{tag: STRONG, content: 'Frais CB:Mastercard, Visa crédit, electron, débit/Delta, Connect: ' + getTextFrais(6)}
	];//Halcon Viajes - ES - Vueling



	// Fluege ****************************************************************************************
	fees_CB_part_comp['876_FR'] = [
		{tag: STRONG, content: mastercard_pfx + getTextFrais(31)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(31)},
		tagBR,
		{tag: STRONG, content: 'Lastschrift : ' + getTextFrais(31)}
	];//Fluege DE - Ryanair

	fees_CB_part_comp['876_U2'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(16)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(35)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(35)}
	];//Fluege DE - Easy Jet

	fees_CB_part_comp['876_BE'] = [
		{tag: STRONG, content: cb_pfx + getTextFrais(6, 30)}
	];//Fluege DE - Flybe

	fees_CB_part_comp['876_AB'] = [
		{tag: STRONG, content: cb_pfx + getTextFrais(6, 30)}
	];//Fluege DE - Air Berlin

	fees_CB_part_comp['876_TO'] = [
		{tag: STRONG, content: cb_pfx + getTextFrais(6, 30)}
	];//Fluege DE - Transavia

	fees_CB_part_comp['876_VY'] = [
		{tag: STRONG, content: cb_pfx + getTextFrais(6, 30)}
	];//Fluege DE - Vueling


	fees_CB_part_comp['877_U2'] = [
		{tag: STRONG, content: ' ' + getTextFrais(32.50, 42.50)}
	];//Volo24_it_IT - EasyJet

	fees_CB_part_comp['877_FR'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(31)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(31)}
	];//Volo24_it_IT - Ryanair

	/*fees_CB_part_comp['878_U2'] = [
		{tag: STRONG, content: 'Visa, Mastercard, Amex : ' + getTextFrais(32.50, 42.50)}
	];//Vol24_fr_FR - EasyJet
	fees_CB_part_comp['878_VY'] = [
		{tag: STRONG, content: 'Visa, Mastercard, Amex : ' + getTextFrais(29.5, 39.50)}
	];//Vol24_fr_FR - vueling
	fees_CB_part_comp['878_FR'] = [
		{tag: STRONG, content: 'Visa, Mastercard : ' + getTextFrais(32, 42)}
	];//Vol24_fr_FR - Ryanair
	fees_CB_part_comp['878_AB'] = [
		{tag: STRONG, content: 'Visa, Mastercard, Amex : ' + getTextFrais(31, 41)}
	];//Vol24_fr_FR - Air berlin*/

	/*fees_CB_part_comp['879_U2'] = [
		{tag: STRONG, content: 'Visa: ' + getTextFrais(55, 65)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(55, 65)},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(36, 46)}
	];//Vuelo24_es_ES - EasyJet
	fees_CB_part_comp['879_AT'] = [
		{tag: STRONG, content: 'Visa: ' + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(0)}
	];//Vuelo24_es_ES - Royal Air Maroc
	fees_CB_part_comp['879_UA'] = [
		{tag: STRONG, content: 'Visa: ' + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(0)}
	];//Vuelo24_es_ES - United Airlines
	fees_CB_part_comp['879_AZ'] = [
		{tag: STRONG, content: 'Visa: ' + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(0)}
	];//Vuelo24_es_ES - Alitalia

	fees_CB_part_comp['879_FR'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(51, 61)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(51, 61)}
	];//Vuelo24_es_ES - Ryanair

	fees_CB_part_comp['879_VY'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(39, 49)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(39, 49)},
		tagBR,
		{tag: STRONG, content: amexLow_pfx + getTextFrais(0)}
	];//Vuelo24_es_ES - Vueling

	fees_CB_part_comp['879_UX'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: amexLow_pfx + getTextFrais(0)}
	];//Vuelo24_es_ES - Air Europa

	fees_CB_part_comp['879_BA'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: amexLow_pfx + getTextFrais(20, 30)}
	];//Vuelo24_es_ES - British Airways

	fees_CB_part_comp['879_IB'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: amexLow_pfx + getTextFrais(20, 30)}
	];//Vuelo24_es_ES - Iberia

	fees_CB_part_comp['879_JK'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: amexLow_pfx + getTextFrais(20, 30)}
	];//Vuelo24_es_ES - Spanair

	fees_CB_part_comp['879_AF'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(26, 36)},
		tagBR,
		{tag: STRONG, content: amexLow_pfx + getTextFrais(20, 30)}
	];//Vuelo24_es_ES - Air Farnce   */

	fees_CB_part_comp['880_U2'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(16)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(16)},
		tagBR,
		{tag: STRONG, content: americanExpress_pfx + getTextFrais(16)}
	];//Airline Direct - Easyjet

	fees_CB_part_comp['981_FR'] = [
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('21.96')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('21.96')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('21.96')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('21.96')}
	];//Travel2be - Ryanair

	fees_CB_part_comp['981_U2'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('21.50')},
		tagBR,
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('21.50')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('21.50')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('9')},
		tagBR,
		{tag: STRONG, content: 'Dinners Club : ' + getTextFrais('9')},
		tagBR,
		{tag: STRONG, content: mastercardDebito_pfx + getTextFrais('25')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('25')}
	];//Travel2be - EasyJet
	fees_CB_part_comp['136_FR'] = [
		{tag: STRONG, content: 'Visa credito :' + getTextFrais(21.95)},
		tagBR,
		{tag: STRONG, content: 'Visa debito :' + getTextFrais(21.95)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(21.95)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(21.95)}
	];//BarceloViajes - Ryanair - es_ES

	fees_CB_part_comp['136_VY'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais(21.95)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(15.45)},
		tagBR,
		{tag: STRONG, content: 'Visa debito :' + getTextFrais(15.45)},
		tagBR,
		{tag: STRONG, content: 'Visa credito :' + getTextFrais(19.45)},
		tagBR,
		{tag: STRONG, content: 'Visa vueling :' + getTextFrais(9.95)},
		tagBR,
		{tag: STRONG, content: 'Mastercard debito : ' + getTextFrais(15.45)},
		tagBR,
		{tag: STRONG, content: 'Mastercard credito : ' + getTextFrais(19.45)},
		tagBR,
		{tag: STRONG, content: 'Diners club : ' + getTextFrais(21.95)}

	];//BarceloViajes - Vueling - es_ES

	fees_CB_part_comp['136_U2'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais(25.95)},
		tagBR,
		{tag: STRONG, content: 'Visa credito :' + getTextFrais(25.95)},
		tagBR,
		{tag: STRONG, content: 'Visa debito :' + getTextFrais(19.95)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(9.95)},
		tagBR,
		{tag: STRONG, content: 'Mastercard debito : ' + getTextFrais(19.95)},
		tagBR,
		{tag: STRONG, content: 'Diners club : ' + getTextFrais(16)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(25.95)}
	];//BarceloViajes - EasyJet - es_ES
	fees_CB['136'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais(9.95)},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais(9.95)},
		tagBR,
		{tag: STRONG, content: 'Visa Barceló :' + getTextFrais(9.95)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
		tagBR,
		{tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	];//BarceloViajes - EasyJet - es_ES

	//  fees_CB_part_comp['136_AF'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'visa Barcelo' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes - Air France - es_ES
	//
	//  fees_CB_part_comp['136_KL'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'visa Barcelo' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes - KLM - es_ES
	//
	//  fees_CB_part_comp['136_IB'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'visa Barcelo' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes - Iberia - es_ES
	//
	//  fees_CB_part_comp['136_LH'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'visa Barcelo' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes - Lufthansa - es_ES
	//
	//  fees_CB_part_comp['136_LX'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'visa Barcelo' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes - Swiss - es_ES
	//
	//  fees_CB_part_comp['136_UX'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'visa Barcelo' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes - Air Europa - es_ES
	//
	//  fees_CB_part_comp['136_CO'] = [
	//    {tag: STRONG, content: amex_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'visa Barcelo' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa debito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Visa credito :' + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: mastercard_pfx + getTextFrais(9.95)},
	//    tagBR,
	//    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes - Continental Airlines - es_ES

	//***********************
	//JSON associant un partenaire à des frais de CB
	fees_CB['120'] = [
										{tag: STRONG, content: amex_pfx},
										{content: getTextFrais(15, 25)},
										tagBR,
										{tag: STRONG, content: cb_pfx},
										{content: getTextFrais(9, 25)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx},
										tagBR,
										{content: getTextFrais(9, 25)},
										tagBR,
										{tag: STRONG, content: visaElectron_pfx},
										tagBR,
										{content: getTextFrais(9, 25)},
										tagBR,
										{tag: STRONG, content: paypal_pfx},
										{content: getTextFrais(0)}
	];//BravoFly fr_FR
	fees_CB['123'] = getTextFrais(4, '25 ');  //eDreams fr_FR
	//  fees_CB['136'] = [
	//                    {tag: STRONG, content: amex_pfx + getTextFrais('3.95')},
	//                    tagBR,
	//                    {tag: STRONG, content: 'Visa Barcelo : ' + getTextFrais('3.95')},
	//                    tagBR,
	//                    {tag: STRONG, content: visaDebit_pfx + getTextFrais('3.95')},
	//                    tagBR,
	//                    {tag: STRONG, content: 'Visa crï¿½dit : ' + getTextFrais('3.95')},
	//                    tagBR,
	//                    {tag: STRONG, content: mastercard_pfx + getTextFrais('3.95')},
	//                    tagBR,
	//                    {tag: STRONG, content: 'Diners club : ' + getTextFrais(0)}
	//  ];//BarceloViajes es_ES
	fees_CB['147'] = [
										{tag: STRONG, content: americanExpress_pfx + getTextFrais(14)},
										tagBR,
										{tag: STRONG, content: 'MasterCard : ' + getTextFrais(8)},
										tagBR,
										{tag: STRONG, content: visaElectron_pfx + getTextFrais(8)},
										tagBR,
										{tag: STRONG, content: paypal_pfx + getTextFrais(8)}
	];//VolaGratis ES
	fees_CB['149'] = [
										{tag: STRONG, content: americanExpress_pfx + getTextFrais(5)},
										tagBR,
										{tag: STRONG, content: cb_pfx + getTextFrais(5)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais(5)},
										tagBR,
										{tag: STRONG, content: visaElectron_pfx + getTextFrais(5)}
	];//Opodo IT

	fees_CB['154'] = [
										{tag: STRONG, content: 'Carte de crï¿½dit : ' + getTextFraisPercent(2)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFraisPercent(2)},
										tagBR,
										{tag: STRONG, content: amexLow_pfx + getTextFrais('2.5')}
	];//Opodo GB
	fees_CB['155'] = [
										{tag: STRONG, content: 'Credit Card fee may vary according to provider'}
	];//Ebookers

	fees_CB['193'] = [
		{tag: STRONG, content: 'Frais Additionnels'}
	];//Logitravel
	fees_CB['864'] = [
										{tag: STRONG, content: amex_pfx + getTextFrais(15)},
										tagBR,
										{tag: STRONG, content: 'Visa debito :' + getTextFrais(9)},
										tagBR,
										{tag: STRONG, content: 'Visa credito :' + getTextFrais(9)},
										tagBR,
										{tag: STRONG, content: visaElectron_pfx + getTextFrais(9)},
										tagBR,
										{tag: STRONG, content: mastercardCredito_pfx + getTextFrais(9)},
										tagBR,
										{tag: STRONG, content: mastercardDebito_pfx + getTextFrais(9)},
										tagBR,
										{tag: STRONG, content: 'Diners club : ' + getTextFrais(9)}
	];//Travelgenio - ES
	fees_CB['173'] = [
										{tag: STRONG, content: americanExpress_pfx + getTextFrais(15)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais(10)},
										tagBR,
										{tag: STRONG, content: visaElectron_pfx + getTextFrais(10)},
										tagBR,
										{tag: STRONG, content: paypal_pfx + getTextFrais(0)}
	];//bravofly - DE
	fees_CB['178'] = [

										//fees_CB["176"]=[
										//{tag:STRONG, content:americanExpress_pfx+getTextFrais('5')},
										//tagBR,
										//{tag:STRONG, content:mastercard_pfx+getTextFrais('5')},
										//tagBR,
										//{tag:STRONG, content:visa_pfx+getTextFrais('5')}
										//];//L'TUR - DE
										{tag: STRONG, content: americanExpress_pfx + getTextFrais(6)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
										tagBR,
										{tag: STRONG, content: visa_pfx + getTextFrais(6)},
										tagBR,
										{tag: STRONG, content: 'Giropay : ' + getTextFrais(0)}
	];//Ebookers - DE

	fees_CB['192'] = [
										{tag: STRONG, content: americanExpress_pfx + getTextFraisPercent(3)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFraisPercent(2)},
										tagBR,
										{tag: STRONG, content: visaCredit_pfx + getTextFraisPercent(2)}
	];//Holiday Genie - UK

	fees_CB['165'] = [
										{tag: STRONG, content: 'Credit card : ' + getTextFraisPercent(2)},
										tagBR,
										{tag: STRONG, content: 'Debit Card : ' + getTextFrais(0)}
	];//Travel Pack - UK

	fees_CB['172'] = [
										{tag: STRONG, content: 'Maestro : ' + getTextFrais('2.5')},
										tagBR,
										{tag: STRONG, content: visaDebit_pfx + getTextFrais('2.5')},
										tagBR,
										{tag: STRONG, content: 'Swiis : ' + getTextFrais('2.5')},
										tagBR,
										{tag: STRONG, content: 'Solo : ' + getTextFrais('2.5')},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFraisPercent('2.45')},
										tagBR,
										{tag: STRONG, content: visa_pfx + getTextFraisPercent('2.45')}
	];//Airflights - UK

	fees_CB['106'] = [
										{tag: STRONG, content: amexLow_pfx + getTextFrais(7)},
										tagBR,
										{tag: STRONG, content: 'Carte Bleue : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
										tagBR,
										{tag: STRONG, content: visa_pfx + getTextFrais(7)},
										tagBR,
										{tag: STRONG, content: visaElectron_pfx + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: 'Carte Opodo : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: 'Carte Cofinoga : ' + getTextFrais(0)}
	];//Opodo - FR

	fees_CB['938'] = [{tag: STRONG, content: 'Debit card : ' + getTextFraisPercent('0.5')},
										tagBR,
										{tag: STRONG, content: 'Credit card : ' + getTextFraisPercent('2.5')},
										tagBR,
										{tag: STRONG, content: amexLow_pfx + getTextFraisPercent('3')}
			];//CrystalTravel GB

	fees_CB['939'] = [{tag: STRONG, content: visa_pfx + getTextFrais('6')},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais('6')},
										tagBR,
										{tag: STRONG, content: amexLow_pfx + getTextFrais('0')}
			];//Fly

	fees_CB['960'] = [{tag: STRONG, content: amexLow_pfx + getTextFrais('10')},
				tagBR,
				{tag: STRONG, content: 'Tarjeta Visa : ' + getTextFrais('10')},
				tagBR,
				{tag: STRONG, content: mastercard_pfx + getTextFrais('10')},
				tagBR,
				{tag: STRONG, content: paypal_pfx + getTextFrais('7')},
				tagBR,
				{tag: STRONG, content: 'VISA Debit Card : Gratis'}
			];//BudgetAir ES

	fees_CB_part_comp['106_FR'] = [
		{tag: STRONG, content: amexLow_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: 'Carte Bleue : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(12)},
		tagBR,
		{tag: STRONG, content: 'Carte Opodo : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: 'Carte Cofinoga : ' + getTextFrais(0)}
	];//Opodo - FR Ryanair

	fees_CB_part_comp['106_U2'] = [
		{tag: STRONG, content: amexLow_pfx + getTextFrais(16)},
		tagBR,
		{tag: STRONG, content: 'Carte Bleue : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(16)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(16)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: 'Carte Opodo : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: 'Carte Cofinoga : ' + getTextFrais(0)}
	];//Opodo - FR EasyJet

	fees_CB_part_comp['106_TO'] = [
		{tag: STRONG, content: amexLow_pfx + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: 'Carte Bleue : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais(6)},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: 'Carte Opodo : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: 'Carte Cofinoga : ' + getTextFrais(0)}
	];//Opodo - FR Transavia

	fees_CB['158'] = [
										{tag: STRONG, content: amexLow_pfx + getTextFraisPercent('2.5')},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFraisPercent('2.5')},
										tagBR,
										{tag: STRONG, content: visa_pfx + getTextFraisPercent('2.5')},
										tagBR,
										{tag: STRONG, content: 'Debit card Electro : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: 'Debit card Maestro : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: 'Debit card Mastercard debit : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: 'Debit card Solo : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: 'Debit card Visa debit : ' + getTextFrais(0)}
	];//NetFlights - EN
	fees_CB['183'] = [
										{tag: STRONG, content: mastercard_pfx + getTextFraisPercent('3')},
										tagBR,
										{tag: STRONG, content: 'Visa Credit Card : ' + getTextFraisPercent('2')},
										tagBR,
										{tag: STRONG, content: amexLow_pfx + getTextFraisPercent('2')}
	];//TravelUP - UK
	fees_CB['194'] = [
										{tag: STRONG, content: mastercard_pfx + getTextFraisPercent('2')},
										tagBR,
										{tag: STRONG, content: 'Visa Credit Card : ' + getTextFraisPercent('2')},
										tagBR,
										{tag: STRONG, content: amexLow_pfx + getTextFraisPercent('2')}
	];//Citibond - UK

	fees_CB['197'] = [
										{tag: STRONG, content: 'Visakarte : ' + getTextFrais('7.5')},
										tagBR,
										{tag: STRONG, content: 'Sofort\u00fcberweisung  : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: 'Mastrcard  : ' + getTextFrais('7.5')},
										tagBR,
										{tag: STRONG, content: 'Maestro : ' + getTextFrais(0)}
	];//Flugladen_DE

	fees_CB['199'] = [
										{tag: STRONG, content: amex_pfx + getTextFrais('7')},
										tagBR,
										{tag: STRONG, content: visa_pfx + getTextFrais('7')},
										tagBR,
										{tag: STRONG, content: paypal_pfx + getTextFrais('0')},
										tagBR,
										{tag: STRONG, content: 'carte/e-carte bleue : ' + getTextFrais('0')},
										tagBR,
										{tag: STRONG, content: 'MasterCard : ' + getTextFrais('7')},
										tagBR,
										{tag: STRONG, content: 'Maestro creditcard : ' + getTextFrais('7')},
										tagBR,
										{tag: STRONG, content: 'Bancontact/Mistercash : ' + getTextFrais('7')}
	];//Budget Air fr_FR

	fees_CB['863'] = [
										{tag: STRONG, content: amexLow_pfx + getTextFraisPercent('2.5')},
										tagBR,
										{tag: STRONG, content: 'Diners : ' + getTextFrais('15.55')},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais('10.37')},
										tagBR,
										{tag: STRONG, content: visaCredit_pfx + getTextFraisPercent(2)}
	];//WorldWide Flights - UK

	fees_CB['179'] = [
										{tag: STRONG, content: 'Credit Card Fee : ' + getTextFraisPercent(2)},
										tagBR,
										{tag: STRONG, content: 'Debit Card : Free'}
	];//Major - UK

	fees_CB['829'] = [
										{tag: STRONG, content: amex_pfx + getTextFraisPercent('2.5')},
										tagBR,
										{tag: STRONG, content: cb_pfx + getTextFraisPercent('2')}
	];//NineFlights - UK

	fees_CB['856'] = [
										{tag: STRONG, content: americanExpress_pfx + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais('6-9')},
										tagBR,
										{tag: STRONG, content: 'Visa: ' + getTextFrais('6-9')},
										tagBR,
										{tag: STRONG, content: 'Maestro : ' + getTextFrais('6-9')},
										tagBR,
										{tag: STRONG, content: paypal_pfx + getTextFrais('6-9')}
	];//cheaptickets - DE

	fees_CB['876'] = [
										{tag: STRONG, content: americanExpress_pfx + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: mastercard_pfx + getTextFrais(6)},
										tagBR,
										{tag: STRONG, content: visa_pfx + getTextFrais(6)}
	];//Fluege - DE


	fees_CB['880'] = [
										{tag: STRONG, content: 'Sofort\u00fcberweisung : ' + getTextFrais(0)},
										tagBR,
										{tag: STRONG, content: amex_pfx + getTextFrais('5.99')},
										tagBR,
										{tag: STRONG, content: 'Mastercard /Visa /Bank\u00fcberweisung : ' + getTextFrais('5.49')}
	];//Airline Direct - DE

	/*fees_CB['878'] = [
										{tag: STRONG, content: '' + getTextFrais(20, 30)}
	];//Vol24 - FR*/
	fees_CB['877'] = [
										{tag: STRONG, content: ' ' + getTextFrais(20, 30)}
	];//Volo24 - FR
	/*fees_CB['879'] = [
										{tag: STRONG, content: ' ' + getTextFrais(20, 30)}
	];//Vuelo24 - FR*/
	fees_CB['886'] = [
		{tag: STRONG, content: visa_pfx + getTextFraisPercent(1)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFraisPercent(1)},
		tagBR,
		{tag: STRONG, content: amex_pfx + getTextFraisPercent(1.5)}
	];//Tripsta_en_GB

	fees_CB['889'] = [
		{tag: STRONG, content: visaCredit_pfx + getTextFraisPercent('2')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais(1)},
		tagBR,
		{tag: STRONG, content: amex_pfx + getTextFraisPercent(3)}
	];//Carlton&Leisure_en_GB

	fees_CB['905'] = [
		{tag: STRONG, content: amex_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: visa_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('12')},
		tagBR,
		{tag: STRONG, content: 'Visa Entropay : ' + getTextFrais('0')}
	];//Edreams_de_DE
	fees_CB['981'] = [
		{tag: STRONG, content: mastercardCredito_pfx + getTextFrais('7.50')},
		tagBR,
		{tag: STRONG, content: mastercardDebito_pfx + getTextFrais('7.50')},
		tagBR,
		{tag: STRONG, content: visaCredito_pfx + getTextFrais('7.50')},
		tagBR,
		{tag: STRONG, content: visaDebito_pfx + getTextFrais('7.50')},
		tagBR,
		{tag: STRONG, content: visaElectron_pfx + getTextFrais('7.50')}
	]; //Travel2be
	fees_CB['195'] = [
		{tag: STRONG, content: visa_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais(8)},
		tagBR,
		{tag: STRONG, content: '\u00fcberweisung : ' + getTextFrais(0)},
		tagBR,
		{tag: STRONG, content: amex_pfx + getTextFrais(8)}
	];//Elumbus_de_DE
	fees_CB['948'] = [
		{tag: STRONG, content: americanExpress_pfx + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: mastercard_pfx + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: visaDebit_pfx + getTextFrais('4.5')},
		tagBR,
		{tag: STRONG, content: 'Visa Card : Free' },
		tagBR,
		{tag: STRONG, content: 'Maestro Debit Card : Free'}
	]; // BudgetAir UK

	//REGLES FRAIS DOSSIER

	//JSON associant partenaire/compagnie ï¿½ des frais de dossier
	fees_Dossier_part_comp['142_KL'] = fees_Dossier_part_comp['142_DL'] = fees_Dossier_part_comp['142_AF'] = getTextFrais(' 20 ');//Govolo ES- KLM, Delta, AF
	//fees_Dossier_part_comp['181_AZ'] = getTextFrais(' 15 ');//Atrapalo IT alitalia
	fees_Dossier_part_comp['163_FR'] = getTextFrais(' 15.34 ');//BravoFly GB ryanair
	fees_Dossier_part_comp['163_EI'] = getTextFrais(' 10.23 ');//BravoFly GB aerLingus
	fees_Dossier_part_comp['163_BD'] = getTextFrais(' 11.93 ');//BravoFly GB BMI

	//ATRAPALO
	fees_Dossier_part_comp['181_AZ'] = getTextFrais(16);//Atrapalo IT Alitalia
	fees_Dossier_part_comp['181_BA'] = getTextFrais(16);//Atrapalo IT British Airways
	fees_Dossier_part_comp['181_IB'] = getTextFrais('8', '16');//Atrapalo IT Iberia
	fees_Dossier_part_comp['181_FR'] = getTextFrais('8', '16.5');//Atrapalo IT Ryanair
	fees_Dossier_part_comp['181_U2'] = getTextFrais('8', '16');//Atrapalo IT EasyJet
	fees_Dossier_part_comp['181_VY'] = getTextFrais('8', '16');//Atrapalo IT Vueling
	fees_Dossier_part_comp['182_UX'] = getTextFrais('19', '40');//Edreams Air Europa
	fees_Dossier_part_comp['182_XX'] = [{content: 'Per passeggero e tratta : ' + getTextFrais('11.46')}];//Edreams Volo Special
	fees_Dossier_part_comp['182_LH'] = [{content: 'Per passeggero e tratta : ' + getTextFrais('12.66')}];//Edreams Luhftansa
	fees_Dossier_part_comp['182_US'] = [{content: 'Per passeggero e tratta : ' + getTextFrais('19.71')}];//Edreams US Airways
	fees_Dossier_part_comp['182_VY'] = [{content: 'Per passeggero e tratta : ' + getTextFrais('10.5')}];//Edreams Vueling IT
	fees_Dossier_part_comp['182_BA'] = [{content: 'Per passeggero e tratta : ' + getTextFrais('19.29')}];//Edreams British Airways IT
	fees_Dossier_part_comp['182_RN'] = [{content: 'Per passeggero e tratta : ' + getTextFrais('10.5')}];//Edreams Volo Speciale (compagnies inconnues)
	//  fees_Dossier_part_comp['195_JK'] = getTextFrais(' Online Boarding : 8 ');//Elumbus - Spanair
	fees_Dossier_part_comp['195_FR'] = getTextFrais(' Online Boarding : 8 ');//Elumbus - Ryanair

	//  fees_Dossier_part_comp['864_FR'] = [
	//    {tag: STRONG, content: 'Gastos de gestión : ' + getTextFrais('15')},
	//    tagBR,
	//    {tag: STRONG, content: 'Checking Fee : ' + getTextFrais('12.96')}
	//  ];//Travelgenio - ES - Ryanair
	fees_Dossier_part_comp['876_FR'] = getTextFrais(' Online Boarding : 8 ');//Fluege_de_DE - Ryanair


	//JSON associant un partenaire ï¿½ des frais de dossier
	fees_Dossier['153'] = [{content: 'Per passeggero e tratta : ' + getTextFrais('20')}];//Govolo
	fees_Dossier['141'] = getTextFrais(' 8 ');//LogiTravel ES
	fees_Dossier['149'] = getTextFrais(' 10 ');//Opodo IT

	fees_Dossier_part_comp['149_SN'] = getTextFrais(' 24 '); // Opodo IT - Brussels Airline

	fees_Dossier['158'] = [
		{tag: STRONG, content: 'Atol Protection Cover : ' + getTextFrais('2.5')},
		tagBR,
		{tag: STRONG, content: 'Airline Failure Protection : ' + getTextFrais('2.49')}
	];//Netflights - EN

	//  fees_Dossier['179'] = [
	//    {tag: STRONG, content: 'Passenger Protection Contribution : ' + getTextFrais(5)}
	//  ];//Major - EN
	fees_Dossier['938'] = [
		{tag: STRONG, content: 'Atol Protection Cover : ' + getTextFrais(2.5)},
		tagBR,
		{tag: STRONG, content: 'SAFI : ' + getTextFrais(1.5)}
	]; // CrystalTravel GB

	fees_Dossier['829'] = [
		{tag: STRONG, content: 'Airline Failure Protection : ' + getTextFrais('2.50')}
	];//Nineflights - EN

	//  fees_Dossier['864'] = [
	//    {tag: STRONG, content: 'Gastos de gestión : ' + getTextFrais('15')}
	//  ];//Travelgenio - ES

	fees_Dossier['889'] = [
		{tag: STRONG, content: 'Atol Protection Cover : ' + getTextFrais('2.5')}
	];//Carlton&Leisure_en_GB

	//REGLES FRAIS BAGAGES
	//JSON associant compagnie/partenaire ï¿½ des frais de bagages
	fees_Bagages_part_comp['127_4U'] = getTextFrais(' 19 ');//Opodo Low Cost fr_FR - GermanWings
	fees_Bagages_part_comp['127_U2'] = getTextFrais(' 22 ');//Opodo Low Cost fr_FR - easyjet
	fees_Bagages_part_comp['127_FR'] = getTextFrais(' 40 ');//Opodo Low Cost fr_FR - ryanair
	fees_Bagages_part_comp['120_FR'] = getTextFrais(' 31.66 ');//BravoFly FR - ryanair
	fees_Bagages_part_comp['120_U2'] = getTextFrais(' 22 ');//BravoFly FR - easyjet
	/*fees_Bagages_part_comp["141_U2"]=getTextFrais(' 31 ');//Logitravel ES - easyjet
		fees_Bagages_part_comp["141_FR"]=getTextFrais(' 40.88 ');//Logitravel ES - ryanair
		fees_Bagages_part_comp["141_VY"]=getTextFrais(' 20 ');//Logitravel ES - vueling
		fees_Bagages_part_comp["141_AB"]=getTextFrais(' 20.44 ');//Logitravel ES - air berlin
		 */
	fees_Bagages_part_comp['147_FR'] = getTextFrais(' 30 '); //VolaGratis IT - Ryanair
	fees_Bagages_part_comp['147_U2'] = getTextFrais(' 22 ');//VolaGratis IT - easyjet
	fees_Bagages_part_comp['147_VY'] = getTextFrais(' 22 ');//VolaGratis IT - vueling
	fees_Bagages_part_comp['148_U2'] = getTextFrais(' 24 ');//LastMinute IT - easyjet
	fees_Bagages_part_comp['148_VY'] = getTextFrais(' 20 ');//LastMinute IT - vueling
	fees_Bagages_part_comp['148_FR'] = getTextFrais(' 60 ');//LastMinute IT - ryanair
	fees_Bagages_part_comp['149_FR'] = getTextFrais(' 22 ');//Opodo IT - ryanair
	fees_Bagages_part_comp['149_U2'] = getTextFrais(' 22 ');//Opodo IT - easyjet

	// ************  Opodo ******************
	fees_Bagages_part_comp['106_FR'] = [
		{content: '40\u20ac par bagage'}
	];//Opodo fr_FR - Ryanair

	fees_Bagages_part_comp['106_U2'] = [
		{content: '36\u20ac par bagage'}
	];//Opodo fr_FR - Ryanair

	fees_Bagages_part_comp['106_TO'] = [
		{content: '14\u20ac par bagage'}
	];//Opodo fr_FR - Ryanair
	// ************  Atrapalo ******************
	fees_Bagages_part_comp['181_AP'] = getTextFrais(12 , 20); //Alitalia
	fees_Bagages_part_comp['181_BA'] = getTextFrais(12 , 20); //British Airways
	fees_Bagages_part_comp['181_AP'] = fees_Bagages_part_comp['181_UX'] = getTextFrais(' 15 ');//Atrapalo IT - air one/Air Europa
	fees_Bagages_part_comp['181_FR'] = [
		{content: '15\u20ac andata e 15\u20ac ritorno'}
	];//Atrapalo IT - RyanAir
	fees_Bagages_part_comp['181_IB'] = [
		{content: '11\u20ac andata e 15\u20ac ritorno'}
	];//Atrapalo IT - Iberia
	fees_Bagages_part_comp['181_U2'] = [
		{content: '17\u20ac andata e 15\u20ac ritorno'}
	];//Atrapalo IT - Easy Jet
	fees_Bagages_part_comp['181_VY'] = getTextFrais(11 , 17);//Atrapalo IT - vueling
	fees_Bagages_part_comp['181_AP'] = getTextFrais(15);//Atrapalo IT - vueling
	fees_Bagages_part_comp['181_UX'] = getTextFrais(15);//Atrapalo IT - vueling
	fees_Bagages_part_comp['182_SE'] = getTextFrais(15);//EDREAMS IT - XL AIRWAYS
	fees_Bagages_part_comp['182_U2'] = getTextFrais(15);//EDREAMS IT - EasyJet
	fees_Bagages_part_comp['182_VY'] = getTextFrais(22);//EDREAMS IT - Vueling

	fees_Bagages_part_comp['980_FR'] = getTextFrais(' 40 ');//Travelgenio de_DE - Ryanair
	/*fees_Bagages_part_comp["160_AP"]=fees_Bagages_part_comp["160_AZ"]=getTextFrais(' 11 ');//Logitravel IT - Air One/Alitalia
		fees_Bagages_part_comp["160_FR"]=getTextFrais(' 41 ');//Logitravel IT - ryanair
		fees_Bagages_part_comp["160_U2"]=getTextFrais(22, '31.64');//Logitravel IT - easyjet
		fees_Bagages_part_comp["160_AZ"]=getTextFrais(' 11 ');//Logitravel IT - alitalia
		fees_Bagages_part_comp["160_VY"]=getTextFrais(20, '30.44');//Logitravel IT - vueling
		 */ fees_Bagages_part_comp['173_FR'] = getTextFrais(30, '35.70');//BravoFly DE - ryanair

	fees_Bagages_part_comp['150_U2'] = [
		{content: 'tra 22 e 66\u20ac'}
	]; //TUI IT - easyjet
	fees_Bagages_part_comp['150_VY'] = getTextFrais(22);//TUI IT - Vueling
	fees_Bagages_part_comp['150_FR'] = getTextFrais(' 36 ');//TUI IT - ryanair
	fees_Bagages_part_comp['173_U2'] = [
		{content: ' - 1 Gep\u00E4ck : 34\u20ac'},
		tagBR,
		{content: '- 2 Gep\u00E4ck : 68\u20ac'},
		tagBR,
		{content: '- X Gep\u00E4ck : X*34\u20ac'}
	];//Bravofly - EasyJet
	fees_Bagages_part_comp['173_AB'] = [
		{content: ' - 1 Gep\u00E4ck : 17\u20ac'},
		tagBR,
		{content: '- 2 Gep\u00E4ck : 34\u20ac'},
		tagBR,
		{content: '- X Gep\u00E4ck : X*17\u20ac'}
	];//Bravofly - Air Berlin
	fees_Bagages_part_comp['184_FR'] = [
		{content: '0 GepÃ¤ck & Online Check-in & Priority Boarding: 9,52\u20ac'},
		tagBR,
		{content: '1 GepÃ¤ck 15kg & Online Check-in: 35.70\u20ac'},
		tagBR,
		{content: '1 GepÃ¤ck 15kg & Online Check-in & Priority Boarding: 45.20\u20ac'},
		tagBR,
		{content: '1 GepÃ¤ck 20kg & Online Check-in: 59.50\u20ac'},
		tagBR,
		{content: '1 GepÃ¤ck 20kg & Online Check-in & Priority Boarding: 69.02\u20ac'}
	]; //Tripado DE - ryanair (non traduit car cette rï¿½gle ne s'applique que sur easyvoyage.de

	//BravoFly DE - easyjet
	fees_Bagages_part_comp['184_U2'] = getTextFrais(' 22 ');//Tripado DE - easyjet
	fees_Bagages_part_comp['184_BE'] = [
		{content: '1 GepÃ¤ck 15 kg: 48\u20ac'},
		tagBR,
		{content: '1 GepÃ¤ck 20 kg: 56\u20ac'},
		tagBR,
		{content: '1 GepÃ¤ck 23 kg: 140\u20ac'},
		tagBR,
		{content: '2 GepÃ¤ck 40 kg: 192\u20ac'}
	]; //Tripado DE - flyBe (non traduit car cette rï¿½gle ne s'applique que sur easyvoyage.de
	fees_Bagages_part_comp['163_FR'] = getTextFrais(' 27.47 ');//BravoFly GB - ryanair
	fees_Bagages_part_comp['163_EI'] = getTextFrais(' 12.78 ');//BravoFly GB - aerLingus
	fees_Bagages_part_comp['187_FR'] = getTextFrais(' 40.88 ');//LogiTravel DE - ryanair
	fees_Bagages_part_comp['187_AB'] = getTextFrais(11, '20.44');//LogiTravel DE - Air Berlin
	fees_Bagages_part_comp['187_U2'] = getTextFrais(' 22 ');//LogiTravel DE - easyjet
	//********************** logitravel FR ********************
	fees_Bagages_part_comp['193_NE'] = getTextFrais(' 10 ');//LogiTravel FR - Skyeurope Airlines
	fees_Bagages_part_comp['193_BT'] = getTextFrais(' 20 ');//LogiTravel FR - Air Baltic
	fees_Bagages_part_comp['193_DY'] = getTextFrais(' 20 ');//LogiTravel FR - Norwegian Air Shuttle
	fees_Bagages_part_comp['193_EI'] = getTextFrais(' 30 ');//LogiTravel FR - Aer Lingus
	fees_Bagages_part_comp['193_XG'] = getTextFrais(' 20 ');//LogiTravel FR - Clickair

	fees_Bagages_part_comp['193_ZB'] = getTextFrais(' 34.98 ');//LogiTravel FR - Monarch Airlines
	fees_Bagages_part_comp['193_VY'] = getTextFrais(' 20 ');//LogiTravel FR - Vueling
	fees_Bagages_part_comp['193_U2'] = getTextFrais(' 22 ');//LogiTravel FR - Easy Jet
	fees_Bagages_part_comp['193_TR'] = getTextFrais(' 15 ');//LogiTravel FR - Transbrasil
	fees_Bagages_part_comp['193_QZ'] = getTextFrais(' 40 ');//LogiTravel FR - Zambia Airways
	fees_Bagages_part_comp['193_FR'] = getTextFrais(' 40.88 ');//LogiTravel FR - Ryanair
	fees_Bagages_part_comp['193_BE'] = getTextFrais(' 48 ');//LogiTravel FR - Jersey European Airways Limited
	fees_Bagages_part_comp['193_4U'] = getTextFrais(' 12 ');//LogiTravel FR - Germanwings
	//*************** logitravel IT ***************************
	fees_Bagages_part_comp['160_NE'] = getTextFrais(' 10 ');//LogiTravel IT - Skyeurope Airlines
	fees_Bagages_part_comp['160_BT'] = getTextFrais(' 20 ');//LogiTravel IT - Air Baltic
	fees_Bagages_part_comp['160_DY'] = getTextFrais(' 20 ');//LogiTravel IT - Norwegian Air Shuttle
	fees_Bagages_part_comp['160_EI'] = getTextFrais(' 30 ');//LogiTravel IT - Aer Lingus
	fees_Bagages_part_comp['160_XG'] = getTextFrais(' 20 ');//LogiTravel IT - Clickair

	fees_Bagages_part_comp['160_ZB'] = getTextFrais(' 34.98 ');//LogiTravel IT - Monarch Airlines
	fees_Bagages_part_comp['160_VY'] = getTextFrais(' 20 ');//LogiTravel IT - Vueling
	fees_Bagages_part_comp['160_U2'] = getTextFrais(' 22 ');//LogiTravel IT - Easy Jet
	fees_Bagages_part_comp['160_TR'] = getTextFrais(' 15 ');//LogiTravel IT - Transbrasil
	fees_Bagages_part_comp['160_QZ'] = getTextFrais(' 40 ');//LogiTravel IT - Zambia Airways
	fees_Bagages_part_comp['160_FR'] = getTextFrais(' 40.88 ');//LogiTravel IT - Ryanair
	fees_Bagages_part_comp['160_BE'] = getTextFrais(' 48 ');//LogiTravel IT - Jersey European Airways Limited
	fees_Bagages_part_comp['160_4U'] = getTextFrais(' 12 ');//LogiTravel IT - Germanwings
	//*************** logitravel ES ***************************
	fees_Bagages_part_comp['141_NE'] = getTextFrais(' 10 ');//LogiTravel ES - Skyeurope Airlines
	fees_Bagages_part_comp['141_BT'] = getTextFrais(' 20 ');//LogiTravel ES - Air Baltic
	fees_Bagages_part_comp['141_DY'] = getTextFrais(' 20 ');//LogiTravel ES - Norwegian Air Shuttle
	fees_Bagages_part_comp['141_EI'] = getTextFrais(' 30 ');//LogiTravel ES - Aer Lingus
	fees_Bagages_part_comp['141_XG'] = getTextFrais(' 20 ');//LogiTravel ES - Clickair

	fees_Bagages_part_comp['141_ZB'] = getTextFrais(' 34.98 ');//LogiTravel ES - Monarch Airlines
	fees_Bagages_part_comp['141_VY'] = getTextFrais(' 11 ');//LogiTravel ES - Vueling
	fees_Bagages_part_comp['141_U2'] = getTextFrais(' 22 ');//LogiTravel ES - Easy Jet
	fees_Bagages_part_comp['141_TR'] = getTextFrais(' 15 ');//LogiTravel ES - Transbrasil
	fees_Bagages_part_comp['141_QZ'] = getTextFrais(' 40 ');//LogiTravel ES - Zambia Airways
	fees_Bagages_part_comp['141_FR'] = [
		{content: '1 maleta = 30'},
		tagBR,
		{content: '2 maleta = 70'}
	];//LogiTravel ES - Ryanair
	fees_Bagages_part_comp['141_BE'] = getTextFrais(' 48 ');//LogiTravel ES - Jersey European Airways Limited
	fees_Bagages_part_comp['141_4U'] = getTextFrais(' 12 ');//LogiTravel ES - Germanwings
	fees_Bagages_part_comp['132_U2'] = getTextFrais(' 22 ');//LastMinute_es_ES - easyJet

	fees_Bagages_part_comp['104_U2'] = getTextFrais(' 22 ');//Voyages_SNCF_fr_FR - easyjet

	fees_Bagages_part_comp['877_FR'] = getTextFrais(' 40 ');//Volo24_it_IT - Ryanair
	fees_Bagages_part_comp['877_U2'] = getTextFrais(' 22 ');//Volo24_it_IT - easyjet
	fees_Bagages_part_comp['877_VY'] = getTextFrais(' 22 ');//Volo24_it_IT - Vueling

	//******** Vol24 fr_FR*****************************************
	fees_Bagages_part_comp['878_U2'] = [
		{content: '22\u20ac par bagage'}
	];//Vol24 fr_FR - easyjet
	fees_Bagages_part_comp['878_VY'] = [
		{content: '22\u20ac par bagage'}
	];//Vol24 fr_FR - vueling
	fees_Bagages_part_comp['878_FR'] = [
		{content: '30\u20ac par bagage de 15 kg'},
		tagBR,
		{content: '50\u20ac par bagage de 20 kg'}
	];//Vol24 fr_FR - Ryanair
	//************ Volo24_es_ES *******************************************
	/*fees_Bagages_part_comp['879_FR'] = [
		{content: '  1 maleta (15 kg): 30\u20ac'},
		tagBR,
		{content: '1 maleta (20 kg): 50\u20ac'}

	];//Ryanair*/

	//fees_Bagages_part_comp['879_U2'] = getTextFrais(' 22 ');//Vuelo24_es_ES - easyjet
	//*************  Elumbus **************************************
	fees_Bagages_part_comp['195_FR'] = [
		{content: 'Online Check-in & :'},
		tagBR,
		{content: ' - 1 Gep\u00E4ck 15kg : 40\u20ac'},
		tagBR,
		{content: '- 1 Gep\u00E4ck 20kg : 60\u20ac'}
	];//Ryanair

	//  fees_Bagages_part_comp['195_JK'] = [
	//    {content: 'online chek-in & :'},
	//    tagBR,
	//    {content: '- 1 Gep\u00E4ck 15kg : 30\u20ac'},
	//    tagBR,
	//    {content: '- 1 Gep\u00E4ck 20kg & Online Check-in: 50\u20ac'}
	//  ];//Spanair

	fees_Bagages_part_comp['195_U2'] = [
		{content: ' - 1 Gep\u00E4ck : 22\u20ac'},
		tagBR,
		{content: '- 2 Gep\u00E4ck : 44\u20ac'},
		tagBR,
		{content: '- X Gep\u00E4ck : X*22\u20ac'}
	];//Easyjet


	//*********************  Cheap & Go ***********************************************
	fees_Bagages_part_comp['198_FR'] = [
		{content: '  1 maleta : 33\u20ac'}
	];//Ryanair

	fees_Bagages_part_comp['198_U2'] = [
		{content: '  1 maleta : 22\u20ac'}
	];//Easy Jet


	//*********************  Fluege ***********************************************
	fees_Bagages_part_comp['876_FR'] = [
		{content: 'online chek-in & :'},
		tagBR,
		{content: '-1 bag 15 kg: 50\u20ac'},
		tagBR,
		{content: '-1 bag 20 kg: 70\u20ac'}
	];//Fluege

	fees_Bagages_part_comp['876_U2'] = [
		{content: '1 bag : 38\u20ac'},
		tagBR,
		{content: '2 bags : 76\u20ac'},
		tagBR,
		{content: 'X bags : X*38\u20ac'}
	];//Easyjet

	// ************************  Halcon ********************************************
	fees_Bagages_part_comp['861_FR'] = [
		{content: '1 maleta: 30\u20ac'}
	];//Ryanair

	fees_Bagages_part_comp['861_U2'] = [
		{content: '1 maleta: 11\u20ac'}
	];//Easyjet

	fees_Bagages_part_comp['861_VY'] = [
		{content: '1 maleta: 15\u20ac'}
	];//Vueling

	// **********************  Travelgenio *****************************************

	fees_Bagages_part_comp['864_FR'] = [
		{content: '1 maleta: 32.4\u20ac'}
	];//Ryanair


	fees_Bagages_part_comp['864_U2'] = [
		{content: '1 maleta: 30\u20ac'}
	];//EasyJet

	fees_Bagages_part_comp['864_VY'] = [
		{content: '1 maleta: 22\u20ac'}
	];//Vueling
	//******************************Travel2be (Alive)**********************
	fees_Bagages_part_comp['981_FR'] = [
		{content: '1 maleta: 40\u20ac'}
	];//Travel2be Ryanair
	fees_Bagages_part_comp['981_U2'] = [
		{content: '1 maleta: 30\u20ac'}
	];//Travel2be EasyJet
	// **********************  Airline Direct *****************************************
	fees_Bagages_part_comp['880_U2'] = [
		{content: '  1 bag : 22\u20ac'},
		tagBR,
		{content: '  2 bags : 44\u20ac'},
		tagBR,
		{content: 'X bags : X*22\u20ac'}
	];//Easyjet

	// ************** Barcelo Viajes ******************************************
	fees_Bagages_part_comp['136_FR'] = [
		{content: '1 maleta: 40\u20ac'}
	];//Ryanair
	fees_Bagages_part_comp['136_VY'] = [
		{content: '1 maleta: 22\u20ac'}
	];//Vueling

	fees_Bagages_part_comp['136_U2'] = [
		{content: '1 maleta: 22\u20ac'}
	];//EasyJet

	//JSON associant une compagnie à des frais de bagages
	//fees_Bagages.FR=;

	// ********************************* //
	// ********************************* //
	// ********* FIN DES FRAIS ********* //
	// ********************************* //
	// ********************************* //


	/**
		 *
		 * @param {Object} prix
		 */
	function formatPrixLang(prix) {
		if (resMnyPfx && resMnyPfx.length > 0) {
			return resMnyPfx + prix;
		}
		if (resMnySfx && resMnySfx.length > 0) {
			return prix + resMnySfx;
		}
		return prix;
	}

	/**
		 * Dï¿½finition des autres mï¿½thodes de la classe Vol.
		 */
	ev.mev.VolNew.prototype = {
		/**
				 * Retourne le nom du partenaire proposant le vol.
				 * Le tableau de  correspondance situï¿½ dans ev.mev.Context
				 * (raccourci 'prs') est utilisï¿½ afin de retrouvï¿½ le nom
				 * en fonction de l'id du partenaire.
				 * @return le nom du partenaire (ou une chaine vide si non
				 *   disponible).
				 */
		getPartenaireNom: function() {
			// Raccourci vers contexte MEV s'il existe
			var ctv = ev.mev.Context,
					// Raccourci vers le tableau de partenaires du contexte MEV s'il existe
					prs = ctv && ctv.partenaires;
			return prs && prs[this.idPartenaire] || '';
		},

		/**
		 * Retourne le chemin de l'image corespondant partenaire proposant le vol.
		 */
		getPartenaireImg: function() {
			return PartenairesImagesPath + this.idPartenaire + PartenairesImagesExt;
		},

		/**
		 * Retourne le prix du vol sans les encodages HTML de monnaie.
		 */
		getPrixPlainText: function() {
			if (typeof(this.prix) === 'string') {
				return this.prix.replace('&euro;', '\u20ac');
			}
			return this.prix;
		},


		/**
		 * Renvoi le prix moyen par personne pour le vol sans le signe euro. Se base sur l'attribut  du Vol.
		 * Le calcul n'est fait qu'une seule fois et est stockï¿½ dans la variable d'instance prixMoyen. Si prixMoyen est dï¿½ja
		 * initialisï¿½ on le renvoi directement sans refaire le calcul.
		 * On considï¿½re tous les types de passagers comme ï¿½tant ï¿½gaux. 1 adulte = 1 enfant = 1 bï¿½bï¿½.
		 * Ce qui donne: prixMoyen = prixTotal / ( nbAdulte + nbenfant + nbBB ).
		 * Info : The isNaN() function determines whether a value is an illegal number (Not-a-Number).
		 *  return  true if is not a number, and false if is a number.
		 */
		getPrixMoyen: function() {
			//  if(this.prixMoyen && !isNaN(this.prixMoyen) ) {return this.prixMoyen;}
			// Raccourci vers contexte MEV s'il existe
			var ctv = ev.mev.Context,
					crit = ctv && ctv.getCriteres();
			if (!crit) {ev.log.warn('VolNex.getPrixMoyen.getPrixMoyen_ev.mev.Context.getCriteres()_undefined');return;}
			var nbPassager = 0;
			if (crit.paxAdultes && !isNaN(crit.paxAdultes)) {nbPassager += parseInt(crit.paxAdultes, 10);}
			if (crit.paxEnfants && !isNaN(crit.paxEnfants)) {nbPassager += parseInt(crit.paxEnfants, 10);}
			if (crit.paxBebes && !isNaN(crit.paxBebes)) {nbPassager += parseInt(crit.paxBebes, 10);}
			if (nbPassager <= 0) {ev.log.warn('VolNex.getPrixMoyen.getPrixMoyen_nbPassager_undefined');return;}
			this.prixMoyen = (this.prixValue / nbPassager);
			this.prixMoyen = parseInt(this.prixMoyen + 0.5, 10); // Equal to Math.floor method used on JAVA SERVER SIDE

			return this.prixMoyen;
		},
		/**
		 *
		 */
		getPrixMoyenLang: function() {
			var prixInt = this.getPrixMoyen();
			return formatPrixLang(prixInt);
		},

		/**
		 *
		 */
		getPrixValueLang: function() {
			var prixValueLang = this.getPrixValue();
			return formatPrixLang(prixValueLang);
		},

		/**
		 * retourne le nombre de segment aller
		 */
		getNbSegmentsAller: function() {
			//FIXME[poblin]: ï¿½viter de recalculer le nombre de segment si on a dï¿½jï¿½ fait le calcul pour le vol
			/*if(nbSegmentsAller){
				ev.log.warn("ev.mev.VolNew#getNbSegmentsAller: "+nbSegmentsAller);
				return nbSegmentsAller;
			}*/
			if (!this.segment[ev.mev.TypeVolSegment.ALLER_SEGMENT1]) {
				// ne devrait jamais se produire
				return 0;
			}
			if (!this.segment[ev.mev.TypeVolSegment.ALLER_SEGMENT2]) {
				return 1;
			}
			if (!this.segment[ev.mev.TypeVolSegment.ALLER_SEGMENT3]) {
				return 2;
			}
			return 3;
		},

		/**
		 * retourne le nombre de segment retour
		 */
		getNbSegmentsRetour: function() {
			if (!this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1]) {
				// si c'est un aller simple seulement
				return 0;
			}
			if (!this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT2]) {
				return 1;
			}
			if (!this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT3]) {
				return 2;
			}
			return 3;
		},

		/**
		 * retourne le nombre d'escale sur l'ensemble du vol=nombre de stop
		 */
		getNbEscales: function() {
			if (this.getNbSegmentsRetour() && this.getNbSegmentsRetour() > 0) {
				return this.getNbSegmentsAller() + this.getNbSegmentsRetour() - 2;
			}
			return this.getNbSegmentsAller() - 1;
		},

		/**
		 * retourne le nombre d'escale au sens des filtres
		 * 0 escale=direct ï¿½ l'aller comme au retour
		 * 1 escales=1 escales ï¿½ l'aller et/ou au retour
		 * 2 escales=2 escales ï¿½ l'aller et/ou au retour
		 */
		getNbEscalesFiltre: function() {
			//sans escale  // ATTENTION : nb seg retour === 0 si aller simple
			if (this.getNbSegmentsAller() === 1 && this.getNbSegmentsRetour() <= 1) {
				return 0;
			}
			//avec 1 escale (au sens des specifications)
			if (this.getNbSegmentsAller() === 2 || this.getNbSegmentsRetour() === 2) {
				return 1;
			}
			//avec 2 escale (au sens des specifications)
			if (this.getNbSegmentsAller() === 3 || this.getNbSegmentsRetour() === 3) {
				return 2;
			}
			return 0;
		},

		/**
		 *
		 */
		getNbEscalesAller: function() {
			return this.getNbSegmentsAller() - 1;
		},

		/**
		 *
		 */
		getNbEscalesAllerStr: function() {
			var nbEscales = this.getNbEscalesAller();
			if (nbEscales > 1) {
				var str = nbEscales + elm.ifdef(results.spaceEscales);
				return str;
			}
			if (!nbEscales) {
				return elm.ifdef(results.direct);
			}
			if (nbEscales === 1) {
				return elm.ifdef(results.escale1);
			}
		},
		/**
		 *
		 */
		getNbEscalesRetour: function() {
			return Math.max(0, this.getNbSegmentsRetour() - 1);
		},
		/**
		 *
		 */
		getNbEscalesRetourStr: function() {
			if (!this.hasRetour()) {
				return '';
			}
			var nbEscales = this.getNbEscalesRetour();
			if (nbEscales > 1) {
				var str = nbEscales + elm.ifdef(results.spaceEscales);
				return str;
			}
			if (!nbEscales) {
				return elm.ifdef(results.direct);
			}
			if (nbEscales === 1) {
				return elm.ifdef(results.escale1);
			}
		},

		/**
		 * retourne le code aï¿½roport du lieu de dï¿½part aller
		 */
		getCodeAeroportDepartAller: function() {
			return this.segment[ev.mev.TypeVolSegment.ALLER_SEGMENT1].codeAeroportDepart;
		},

		/**
		 * retourne le code aï¿½roport du lieu d'arrivï¿½e aller
		 */
		getCodeAeroportArriveeAller: function() {
			return this.segment[this.getNbSegmentsAller() - 1].codeAeroportArrivee;
		},

		/**
		 * retourne le code aï¿½roport du lieu d'arrivï¿½e aller
		 */
		getCodeAeroportDepartRetour: function() {
			return this.hasRetour() && this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1].codeAeroportDepart || '';
		},

		/**
		 * retourne le code aï¿½roport du lieu d'arrivï¿½e retour
		 */
		getCodeAeroportArriveeRetour: function() {
			return this.hasRetour() && this.segment[this.getNbSegmentsRetour() + 2].codeAeroportArrivee || '';
		},

		/**
		 * retourne la date dï¿½part aller
		 */
		getDateDepartAller: function() {
			return this.segment[ev.mev.TypeVolSegment.ALLER_SEGMENT1].dateDecollage;
		},
		/**
		 * retourne la date dï¿½part aller (format dd/mm)
		 */
		getDateDepartAllerDDMM: function() {
			return this.segment[ev.mev.TypeVolSegment.ALLER_SEGMENT1].dateDecollage.substring(0, 5);
		},

		/**
		 * retourne la date arrivï¿½e aller
		 */
		getDateArriveeAller: function() {
			return this.segment[this.getNbSegmentsAller() - 1].dateAtterissage;
		},

		/**
		 * retourne la date dï¿½part retour
		 */
		getDateDepartRetour: function() {
			return this.hasRetour() && this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1].dateDecollage || '';
		},
		/**
		 * retourne la date dï¿½part retour (format dd/mm)
		 */
		getDateDepartRetourDDMM: function() {
			//  ev.log.warn("ev.mev.VolNew - "+this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1]);
			return this.hasRetour() && this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1].dateDecollage.substring(0, 5) || '';
		},

		/**
		 * retourne la date arrivï¿½e aller
		 */
		getDateArriveeRetour: function() {
			return this.hasRetour() && this.segment[this.getNbSegmentsRetour() + 2].dateAtterissage || '';
		},

		/**
		 * retourne l'horaire du dï¿½part aller
		 */
		getHoraireDepartAller: function() {
			return this.segment[ev.mev.TypeVolSegment.ALLER_SEGMENT1].heureDecollage;
		},

		/**
		 * retourne l'horaire de l'arrivï¿½e aller
		 */
		getHoraireArriveeAller: function() {
			return this.segment[this.getNbSegmentsAller() - 1].heureAtterissage;
		},

		/**
		 * retourne l'horaire du dï¿½part retour
		 */
		getHoraireDepartRetour: function() {
			return this.hasRetour() && this.segment[ev.mev.TypeVolSegment.RETOUR_SEGMENT1].heureDecollage || '';
		},

		/**
		 * retourne l'horaire de l'arrivï¿½e retour
		 */
		getHoraireArriveeRetour: function() {
			return this.hasRetour() && this.segment[this.getNbSegmentsRetour() + 2].heureAtterissage || '';
		},

		/**
		 * retourne un tableau regroupant l'ensemble des codes compagnie des segments constituant le vol
		 */
		getCompagnies: function() {
			var output = [], i;
			for (i = 0; i < this.segment.length; i++) {
				if (this.segment[i]) {
					output.push(this.segment[i].codeCompagnie);
				}
			}
			return output;
		},

		/**
		 * retourne un tableau regroupant l'ensemble des noms des compagnies des segments constituant le vol
		 */
		getCompagniesNom: function() {
			var output = [], i;
			for (i = 0; i < this.segment.length; i++) {
				if (this.segment[i]) {
					output.push(this.segment[i].getNomCompagnie());
				}
			}
			return output;
		},

		/**
		 * retourne le code de la compagnie du vol (celle du 1er segment)
		 */

		getCompagnieCode: function() {
			if (!imgLangSuffix) {
				imgLangSuffix = '_' + window.lang.split('_')[0];
			}
			var c = this.segment[0].codeCompagnie;
			c = c.replace(new RegExp('(^X{2,3}$)'), '$1' + imgLangSuffix);
			return c;
		},

		/**
		 * retourne le nom de la compagnie du vol (celle du 1er segment)
		 */
		getCompagnieNom: function() {
			return this.segment[0].getNomCompagnie();
		},

		/**
		 * Retourne le chemin de l'image corespondant ï¿½ la compagnie du vol (celle du 1er segment)
		 * plus utilisï¿½ dans template resultat.. vï¿½rifier ailleurs et eventuellement supprimer
		 */
		getCompagnieImg: function() {
			if (!this.codeCompagnie) {
				this.codeCompagnie = this.getCompagnies()[0];
			}
			return (window.path.img + '/logos/compagniesAeriennes_32x22/' + this.codeCompagnie + '.gif');
		},

		/**
		 * Retourne le chemin de l'image corespondant ï¿½ la compagnie du vol (celle du 1er segment)
		 * pour la matrice.
		 */
		getCompagnieImgMatrix: function() {
			if (!this.codeCompagnie) {
				this.codeCompagnie = this.getCompagnieCode();
			}
			return (window.path.cdn + '/imgs/logos/compagniesAeriennes/' + this.codeCompagnie + '.gif');
		},


		/**
		 * retourne le nom de l'aï¿½roport du lieu de dï¿½part aller
		 */
		getNomAeroportDepartAller: function() {
			return getNomAeroport(this.getCodeAeroportDepartAller());
		},

		/**
		 * retourne le nom de l'aï¿½roport du lieu de dï¿½part aller
		 */
		getNomAeroportArriveeAller: function() {
			return getNomAeroport(this.getCodeAeroportArriveeAller());
		},

		/**
		 * retourne le nom de l'aï¿½roport du lieu de dï¿½part aller
		 */
		getNomAeroportDepartRetour: function() {
			return getNomAeroport(this.getCodeAeroportDepartRetour());
		},

		/**
		 * retourne le nom de l'aï¿½roport du lieu de dï¿½part aller
		 */
		getNomAeroportArriveeRetour: function() {
			return getNomAeroport(this.getCodeAeroportArriveeRetour());
		},

		getNomVilleDepartAller: function() {
			return getNomVille(this.getCodeAeroportDepartAller());
		},

		getNomVilleDepartRetour: function() {
			return getNomVille(this.getCodeAeroportDepartRetour());
		},

		getNomVilleArriveeRetour: function() {
			return getNomVille(this.getCodeAeroportArriveeRetour());
		},

		getNomVilleArriveeAller: function() {
			return getNomVille(this.getCodeAeroportArriveeAller());
		},



		/**
		 *  renvoi la duree du vol. Format du retour : hh:mm.
		 *  exemple : 1h25
		 */
		getDureeVolAller: function() {
			if (this.segment[0].duree === '00:00') {
				return '-';
			} else {
				return this.segment[0].duree;
			}
		},
		/**
		 *
		 * @param {Object} duree
		 */
		setDureeVolAller: function(duree) {
			this.segment[0].duree = duree;
		},
		/**Renvoi true si la propriï¿½tï¿½ est definie**/
		isDureeVolAllerDefined: function() {
			if (this.segment[0].duree === '00:00') {
				return FALSE;
			} else {
				return TRUE;
			}
		},
		/**
		 *
		 */
		getDureeVolAllerTitle: function() {
			if (this.segment[0].duree === '00:00') {
				return elm.ifdef(results.spaceDuree);
			} else {
				return elm.ifdef(results.duree);
			}
		},

		/**
		 *
		 */
		getDureeVolRetour: function() {
			if (!this.segment[3] || this.segment[3].duree === '00:00') {
				return '-';
			} else {
				return this.segment[3].duree;
			}
		},

		setDureeVolRetour: function(duree) {
			this.segment[3].duree = duree;
		},

		/**Renvoi true si la propriï¿½tï¿½ est definie**/
		isDureeVolRetourDefined: function() {
			if (this.segment[3].duree === '00:00') {
				return FALSE;
			} else {
				return TRUE;
			}
		},


		/***
		 *  Renvoi une chaine de caractere comportant le nom des villes + code aeroports des escales du vol.
		 *  ( Escales aller et retour ).
		 *  Pas  de doublon, si une escale est dans l'aller elle n'est pas recopier pour le retour....
		 */
		getNbEscalesStr: function() {
			if (this.getNbEscales() === 0) {
				return ''; // TODO : Remplacer par le bon texte internationnalisï¿½.
			}else if (this.getNbEscales() > 0) {
				return this.getNbEscales();
			}
		},

		/**
		 * Renvoit la rï¿½gle appliquï¿½e aux frais CB de ce vol
		 */
		getFeesCBText: function() {
			// .replace(/_.*$/, '') en cas de vol spécial
			var key = this.idPartenaire + '_' + this.getCompagnieCode().replace(/_.*$/, '');
			if (fees_CB_part_comp[key]) {
				return fees_CB_part_comp[key];
			}
			if (fees_CB[this.idPartenaire]) {
				return fees_CB[this.idPartenaire];
			}
			return elm.ifdef(results.fraisAucuns);
		},

		/**
		 * Renvoit la classe applicable au picto "frais CB" sur le vol
		 */
		getFraisCbClassName: function() {
			if (this.getFeesCBText() === elm.ifdef(results.fraisAucuns)) {
				return '';
			}
			return 'actif';
		},

		/**
		 * Renvoit la rï¿½gle appliquï¿½e aux frais bagages de ce vol
		 */
		getFeesBagagesText: function() {
			// .replace(/_.*$/, '') en cas de vol spécial
			var key = this.idPartenaire + '_' + this.getCompagnieCode().replace(/_.*$/, '');
			if (fees_Bagages_part_comp[key]) {
				return fees_Bagages_part_comp[key];
			}
			if (fees_Bagages[this.getCompagnieCode()]) {
				return fees_Bagages[this.getCompagnieCode()];
			}
			return elm.ifdef(results.fraisAucuns);
		},

		/**
		 * Renvoit la classe applicable au picto "frais Bagages" sur le vol
		 */
		getFraisBagagesClassName: function() {
			if (this.getFeesBagagesText() === elm.ifdef(results.fraisAucuns)) {
				return '';
			}
			return 'actif';
		},

		/**
		 * Renvoit la rï¿½gle appliquï¿½e aux frais de dossier de ce vol
		 */
		getFeesDossierText: function() {
			// .replace(/_.*$/, '') en cas de vol spécial
			var key = this.idPartenaire + '_' + this.getCompagnieCode().replace(/_.*$/, '');
			if (fees_Dossier_part_comp[key]) {
				return fees_Dossier_part_comp[key];
			}
			else if (fees_Dossier[this.idPartenaire]) {
				return fees_Dossier[this.idPartenaire];
			}
			else {
				return elm.ifdef(results.fraisAucuns);
			}
		},

		/**
		 * Renvoit la classe applicable au picto "frais Bagages" sur le vol
		 */
		getFraisDossierClassName: function() {
			if (this.getFeesDossierText() === elm.ifdef(results.fraisAucuns)) {
				return '';
			}
			return 'actif';
		},

		/**
		 * Renvoit la classe applicable au picto "soleil" sur les frais annexes du vol
		 * //TODO refactorer 'unfolded' en 'actif' et extraire les textes bruts dans des constantes locales
		 */
		getFraisAnnexePictoClassName: function() {
			if (this.getFraisBagagesClassName() === 'actif' | this.getFraisDossierClassName() === 'actif' | this.getFraisCbClassName() === 'actif') {
				return 'folded';
			}
			return 'unfolded';
		},
		getEscalesTab: function() {
			// Si pas d'escale dans le vol on revoit de suite une chaine vide.
			if (!this.getNbEscales()) {
				return '';
			}
			var escales = [];
			if (this.getNbEscalesAller() === 1) {
				// nom de la ville escale est la ville arrivee du prekmier segment
				escales.push({iata: this.segment[0].codeAeroportArrivee, nom: getNomVille(this.segment[0].codeAeroportArrivee)});
			}else if (this.getNbEscalesAller() === 2) {
				// nom des ville escales sont ville dï¿½part et arrivee du segment 2 ( indice 1 )
				if (!isEscaleInArray(escales, this.segment[1].codeAeroportDepart)) {
					escales.push({iata: this.segment[1].codeAeroportDepart, nom: getNomVille(this.segment[1].codeAeroportDepart)});
				}
				if (!isEscaleInArray(escales, this.segment[1].codeAeroportArrivee)) {
					escales.push({iata: this.segment[1].codeAeroportArrivee, nom: getNomVille(this.segment[1].codeAeroportArrivee)});
				}
			}
			if (this.getNbEscalesRetour() === 1) {
				// nom de la ville escale est la ville arrivee du premier segment
				if (!isEscaleInArray(escales, this.segment[3].codeAeroportArrivee)) {
					escales.push({iata: this.segment[3].codeAeroportArrivee, nom: getNomVille(this.segment[3].codeAeroportArrivee)});
				}

			} else if (this.getNbEscalesRetour() === 2) {
				// nom des ville escales sont ville dï¿½part et arrivee du segment 2 ( indice 1 )
				if (!isEscaleInArray(escales, this.segment[4].codeAeroportDepart)) {
					escales.push({iata: this.segment[4].codeAeroportDepart, nom: getNomVille(this.segment[4].codeAeroportDepart)});
				}
				if (!isEscaleInArray(escales, this.segment[4].codeAeroportArrivee)) {
					escales.push({iata: this.segment[4].codeAeroportArrivee, nom: getNomVille(this.segment[4].codeAeroportArrivee)});
				}

			}
			return escales;
		},

		getEscalesStr: function() {
			// On recupere le tableau
			var escales = this.getEscalesTab(),
					escalesStr = elm.ifdef(results.escalesStr),
					// On dï¿½fini le separateur
					separateur = ', ',
					i;
			//si le nombre d'escales est null on return une phrase sinon les valeurs
			if (this.getNbEscales() === 0) {
				return elm.ifdef(results.escalesStrNull);
			}
			if (this.getNbEscales() > 0) {
				// Formatage de la string ï¿½ renvoyer
				for (i = 0; i < escales.length; i++) {
					// A la fin du tableau on change le separateur
					if (i === (escales.length - 1)) {
						separateur = '';
					}else {
						separateur = ', ';
					}
					escalesStr = escalesStr + escales[i].nom + '(' + escales[i].iata + ') ' + separateur;
				}
				return escalesStr;
			}
		},

		getEscalesStrR: function() {
			var escalesStrR;
			// Dï¿½fini si il affiche la version rï¿½duite ou non
			if (this.getNbEscales() === 0) {
				escalesStrR = elm.ifdef(results.escalesStrNull);
			}if (this.getNbEscales() === 1) {
				escalesStrR = this.getEscalesStr();
			}else if (this.getNbEscales() > 1) {
				// On recupere le tableau
				var escales = this.getEscalesTab(),
						escalesStr = elm.ifdef(results.escalesStr),
						i = 0;
				// Formatage de la string ï¿½ renvoyer
				escalesStrR = escalesStr + escales[i].nom + '(' + escales[i].iata + ') ' + ', ...';
			}
			return escalesStrR;
		},


		/**
		 * surcharge de toString
		 */
		toString: function() {
			//return "Vol{"+this.ukey+"}";
			//return this.prix+" - "+this.idPartenaire+" - "+this.getCompagnies().join();
			//return this.prix+" - "+this.idPartenaire+" - "+this.getNbEscalesFiltre();
			return this.prix + ' - ' + this.idPartenaire + ' - ' + this.getNbEscales() + ' - ' + this.getHoraireDepartAller() + ' - ' + this.getCompagnieCode();
		},

		/**
		 * Initialise l'objet vol ï¿½ partir d'une
		 * clï¿½ unique.
		 * NB : l'url de redirection n'est pas
		 * rï¿½cupï¿½rï¿½e et donc est nulle.
		 * @param {String} ukey clï¿½ unique ï¿½ interprï¿½ter.
		 */
		initFromUniqueKey: function(ukey) {
			if (!REGEXP_VOL_UKEY.test(ukey)) {
				ev.log.warn('ev.mev.Vol#initFromUniqueKey()> Clï¿½ de vol indï¿½chiffrable : ' + ukey);
				return;
			}
			var dest = this;

			// enregistrement des champs du vol
			dest.ukey = ukey;
			dest.idPartenaire = parseInt(RegExp.$1, 10);
			dest.prixValue = parseInt(RegExp.$2, 10) / 100;
			var segs = [], n = 6;
			segs.push(RegExp.$3);
			segs.push(RegExp.$4);
			segs.push(RegExp.$5);
			segs.push(RegExp.$6);
			segs.push(RegExp.$7);
			segs.push(RegExp.$8);
			while (n--) {
				if (segs[n]) {
					dest.addSegment(ev.mev.VolSegment.createFromString(segs[n]), n);
				}
			}
			// ev.log.debug('ev.mev.VolNew#initFromUniqueKey()> Vol lu : '+dest.idPartenaire+', '+dest.prixValue+', '+ev.tools.array.toString(dest.segment));
			return dest;
		}
	};

	// Tris
	var SORT_PRIXTTC = 0;
	var SORT_COMPAGNIE = 1;
	var SORT_DIRECT = 2;
	var SORT_DATEALLER = 3;
	var SORT_DATERETOUR = 4;
	var SORT_AEROPORTDEPARTALLER = 5;
	var SORT_AEROPORTARRIVEEALLER = 6;
	var SORT_AEROPORTDEPARTRETOUR = 7;
	var SORT_AEROPORTARRIVEERETOUR = 8;
	var SORT_HEUREDEPARTALLER = 9;
	var SORT_HEUREARRIVEEALLER = 10;
	var SORT_HEUREDEPARTRETOUR = 11;
	var SORT_HEUREARRIVEERETOUR = 12;
	var SORT_DUREEALLER = 13;
	var SORT_DUREERETOUR = 14;
	var SORT_PARTENAIRE = 15;
	var SORT_TYPES = [
		'SORT_PRIXTTC',
		'SORT_COMPAGNIE',
		'SORT_DIRECT',
		'SORT_DATEALLER',
		'SORT_DATERETOUR',
		'SORT_AEROPORTDEPARTALLER',
		'SORT_AEROPORTARRIVEEALLER',
		'SORT_AEROPORTDEPARTRETOUR',
		'SORT_AEROPORTARRIVEERETOUR',
		'SORT_HEUREDEPARTALLER',
		'SORT_HEUREARRIVEEALLER',
		'SORT_HEUREDEPARTRETOUR',
		'SORT_HEUREARRIVEERETOUR',
		'SORT_DUREEALLER',
		'SORT_DUREERETOUR',
		'SORT_PARTENAIRE'
	];

	var sortType = -1;
	var sortWay = 'asc';

	// Fonction de comparaison entre deux vols (utilise le flag sortType)
	function compareVols(vol1,vol2) {
		if (!vol1) { return vol2 ? -1 : 0; }

		if (sortType === SORT_COMPAGNIE) {
			// Tri par nom de compagnie.
			if (vol1.getCompagnieNom() === vol2.getCompagnieNom()) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return (vol1.prixValue > vol2.prixValue) ? 1 : -1;
			}
			return (vol1.getCompagnieNom() > vol2.getCompagnieNom()) ? 1 : -1;
		}

		if (sortType === SORT_DIRECT) {
			// tri par vol direct ou non direct.
			if (vol1.getNbEscales() === vol2.getNbEscales()) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			return (vol1.getNbEscales() - vol2.getNbEscales());
		}

		if (sortType === SORT_DATEALLER) {
			// tri par date d'aller.
			var VOL1dateDepartAllerMS = new Date(vol1.getDateDepartAller().substring(6, 10), vol1.getDateDepartAller().substring(3, 5) - 1, vol1.getDateDepartAller().substring(0, 2)).getTime();
			var VOL2dateDepartAllerMS = new Date(vol2.getDateDepartAller().substring(6, 10), vol2.getDateDepartAller().substring(3, 5) - 1, vol2.getDateDepartAller().substring(0, 2)).getTime();
			if (VOL1dateDepartAllerMS === VOL2dateDepartAllerMS) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			return VOL1dateDepartAllerMS - VOL2dateDepartAllerMS;
		}

		if (sortType === SORT_DATERETOUR) {
			// tri par date de retour.
			var VOL1dateRetourArriveeMS = new Date(vol1.getDateRetourArrivee().substring(6, 10), vol1.getDateRetourArrivee().substring(3, 5) - 1, vol1.getDateRetourArrivee().substring(0, 2)).getTime();
			var VOL2dateRetourArriveeMS = new Date(vol2.getDateRetourArrivee().substring(6, 10), vol2.getDateRetourArrivee().substring(3, 5) - 1, vol2.getDateRetourArrivee().substring(0, 2)).getTime();
			if (VOL1dateRetourArriveeMS === VOL2dateRetourArriveeMS) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			return VOL1dateRetourArriveeMS - VOL2dateRetourArriveeMS;
		}

		if (sortType === SORT_PARTENAIRE) {
			// Tri par order alphabï¿½tique sur le nom du partenaire.
			// Si deux vols de mï¿½mes partenaires, on retri en fonction du prix.
			// Si mï¿½me partenaires, mï¿½me prix, on utilise un paramï¿½tre unique urlInfos pour dï¿½terminer un sens d'affichage.
			// Onaurait pu utiliser les autres champs de VolNew jusqu'a departager les vols... A voire lesquels, dans quels ordre.....
			if (vol1.getPartenaireNom() === vol2.getPartenaireNom()) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return (vol1.prixValue > vol2.prixValue) ? 1 : -1;
			}
			return (vol1.getPartenaireNom() > vol2.getPartenaireNom()) ? 1 : -1;
		}

		if (sortType === SORT_AEROPORTDEPARTALLER) {
			// Tri par aï¿½roport de dï¿½part aller
			if (vol1.getCodeAeroportDepartAller() === vol2.getCodeAeroportDepartAller()) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			if (vol1.getCodeAeroportDepartAller() < vol2.getCodeAeroportDepartAller()) {return -1;}
			if (vol1.getCodeAeroportDepartAller() > vol2.getCodeAeroportDepartAller()) {return 1;}
			return 0;
		}

		if (sortType === SORT_AEROPORTARRIVEEALLER) {
			// Tri par aï¿½roport de arrivï¿½e all
			if (vol1.getCodeAeroportArriveeAller() === vol2.getCodeAeroportArriveeAller()) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			if (vol1.getCodeAeroportArriveeAller() < vol2.getCodeAeroportArriveeAller()) {return -1;}
			if (vol1.getCodeAeroportArriveeAller() > vol2.getCodeAeroportArriveeAller()) {return 1;}
			return 0;
		}

		if (sortType === SORT_AEROPORTDEPARTRETOUR) {
			// tri par aï¿½roport de dï¿½part retour.
			if (vol1.getCodeAeroportDepartRetour() === vol2.getCodeAeroportDepartRetour()) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			if (vol1.getCodeAeroportDepartRetour() < vol2.getCodeAeroportDepartRetour()) {return -1;}
			if (vol1.getCodeAeroportDepartRetour() > vol2.getCodeAeroportDepartRetour()) {return 1;}
			return 0;
		}

		if (sortType === SORT_AEROPORTARRIVEERETOUR) {
			// tri par aï¿½roport d'arrivï¿½e retour.
			if (vol1.getCodeAeroportArriveeRetour() === vol2.getCodeAeroportArriveeRetour()) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			if (vol1.getCodeAeroportArriveeRetour() < vol2.getCodeAeroportArriveeRetour()) {return -1;}
			if (vol1.getCodeAeroportArriveeRetour() > vol2.getCodeAeroportArriveeRetour()) {return 1;}
			return 0;
		}

		var vol1HoraireDepartAllerMinute,
				vol2HoraireDepartAllerMinute;

		if (sortType === SORT_HEUREDEPARTALLER) {
			// Tri par heure de dï¿½part aller.
			vol1HoraireDepartAllerMinute = vol1.getHoraireDepartAller().substring(0, 2) * 60 + vol1.getHoraireDepartAller().substring(3, 5);
			vol2HoraireDepartAllerMinute = vol2.getHoraireDepartAller().substring(0, 2) * 60 + vol2.getHoraireDepartAller().substring(3, 5);
			if (vol1HoraireDepartAllerMinute === vol2HoraireDepartAllerMinute) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			return vol1HoraireDepartAllerMinute - vol2HoraireDepartAllerMinute;
		}

		if (sortType === SORT_HEUREARRIVEEALLER) {
			// tri par heure d'arrivï¿½e aller.
			var vol1HoraireArriveeAllerMinute = vol1.getHoraireArriveeAller().substring(0, 2) * 60 + vol1.getHoraireArriveeAller().substring(3, 5);
			var vol2HoraireArriveeAllerMinute = vol2.getHoraireArriveeAller().substring(0, 2) * 60 + vol2.getHoraireArriveeAller().substring(3, 5);
			if (vol1HoraireArriveeAllerMinute === vol2HoraireArriveeAllerMinute) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			return vol1HoraireArriveeAllerMinute - vol2HoraireArriveeAllerMinute;
		}

		if (sortType === SORT_HEUREDEPARTRETOUR) {
			// Tri par heure de dï¿½part retour.
			var vol1HoraireDepartRetourMinute = vol1.getHoraireDepartRetour().substring(0, 2) * 60 + vol1.getHoraireDepartRetour().substring(3, 5);
			var vol2HoraireDepartRetourMinute = vol2.getHoraireDepartRetour().substring(0, 2) * 60 + vol2.getHoraireDepartRetour().substring(3, 5);
			if (vol1HoraireDepartRetourMinute === vol2HoraireDepartRetourMinute) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			return vol1HoraireDepartRetourMinute - vol2HoraireDepartRetourMinute;
		}

		if (sortType === SORT_HEUREARRIVEERETOUR) {
			// tri par heure d'arrivï¿½e retour.
			var vol1HoraireArriveeRetourMinute = vol1.getHoraireArriveeRetour().substring(0, 2) * 60 + vol1.getHoraireArriveeRetour().substring(3, 5);
			var vol2HoraireArriveeRetourMinute = vol2.getHoraireArriveeRetour().substring(0, 2) * 60 + vol2.getHoraireArriveeRetour().substring(3, 5);
			if (vol1HoraireArriveeRetourMinute === vol2HoraireArriveeRetourMinute) {
				if (vol1.prixValue === vol2.prixValue) {
					return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
				}
				return vol1.prixValue - vol2.prixValue;
			}
			return vol1HoraireArriveeRetourMinute - vol2HoraireArriveeRetourMinute;
		}

		//if (sortType === SORT_DUREEALLER) {
		//return 0;//NOT IMPLEMENTED
		//}
		//if (sortType === SORT_DUREERETOUR) {
		//return 0;//NOT IMPLEMENTED
		//}

		if (vol1.prixValue === vol2.prixValue) {
			vol1HoraireDepartAllerMinute = vol1.getHoraireDepartAller().substring(0, 2) * 60 + vol1.getHoraireDepartAller().substring(3, 5);
			vol2HoraireDepartAllerMinute = vol2.getHoraireDepartAller().substring(0, 2) * 60 + vol2.getHoraireDepartAller().substring(3, 5);
			if (vol1HoraireDepartAllerMinute === vol2HoraireDepartAllerMinute) {
				return (vol1.urlInfos < vol2.urlInfos) ? 1 : -1;
			}
			return vol1HoraireDepartAllerMinute - vol2HoraireDepartAllerMinute;
		}

		// Par defaut tri prix
		return vol1.prixValue - vol2.prixValue;
	}

	/**
		 * Supprime toutes les classes des ï¿½lï¿½ments de tri
		 */
	function removeAllTriClass() {
		domElement('triPrix').className = '';
		domElement('triPart').className = '';
		domElement('triDates').className = '';
		domElement('triDep').className = '';
		domElement('triArr').className = '';
		domElement('triAero').className = '';
		domElement('triDur').className = '';
		domElement('triEsc').className = '';
		domElement('triComp').className = '';
	}

	/**
		 * Change la classe de l'element sur lequel on effectue le tri (afin de modifier l'affichage)
		 * @param {!number} type
		 * @param {?string=} sortWay
		 */
	function changeClassTri(type,sortWay) {
		//on efface toutes les classes des ï¿½lï¿½ments de tri
		removeAllTriClass();
		var element;
		//on identifie l'ï¿½lï¿½ment //TODO[poblin]: il y a peut etre un moyen plus rapide
		if (type === SORT_PRIXTTC) {
			element = domElement('triPrix');
		}
		else if (type === SORT_PARTENAIRE) {
			element = domElement('triPart');
		}
		else if (type === SORT_DATEALLER) {
			element = domElement('triDates');
		}
		else if (type === SORT_HEUREDEPARTALLER) {
			element = domElement('triDep');
		}
		else if (type === SORT_HEUREARRIVEEALLER) {
			element = domElement('triArr');
		}
		else if (type === SORT_AEROPORTDEPARTALLER) {
			element = domElement('triAero');
		}
		else if (type === SORT_DUREERETOUR) {
			element = domElement('triDur');
		}
		else if (type === SORT_DIRECT) {
			element = domElement('triEsc');
		}
		else if (type === SORT_COMPAGNIE) {
			element = domElement('triComp');
		}
		else {
			ev.log.error('ev.mev.VolNew - filtre inconnu' + type);
		}
		//on change la classe de l'ï¿½lï¿½ment rï¿½cupï¿½rï¿½
		if (sortWay === 'asc') {
			element.className = 'triUp';
		}
		else {
			element.className = 'triDown';
		}
	}

	/**
		 * Fonction de tri gï¿½nï¿½rique en fonction du type de tri demandï¿½.
		 *
		 * @param {!number} type type de tri.
		 * @param {!string} way sens du tri (ASCendant / DESCendant).
		 * @param {!Array} vols liste de vols ï¿½ trier.
		 * @param {?boolean=} refresh 'true' si l'on souhaite faire un refresh [par dï¿½faut 'false']
		 * FIXME [ygally] ev.mev.Vol n'est pas censï¿½ avoir connaissance de window.display.refresh() (ni de window.display tout court d'ailleurs).
		 */
	function sortVols(type,way,vols,refresh) {
		if (!way) { // si le parametre way manque
			if (sortType === type) {
				// si le type etait identique avant, on change le sens de tri
				sortWay = (sortWay === 'asc') ? 'desc' : 'asc';
			}
			else {
				sortWay = 'asc';// sinon on effectue un tri ascendant
				sortType = type;// avec le nouveau type de tri
			}
		}else {// si le parametre way est fourni
			sortType = type;
			sortWay = way;
		}

		changeClassTri(type, sortWay);
		vols.sort(compareVols);
		if (sortWay === 'desc') {
			// si le tri est descendant, on renverse le tableau de vols
			vols.reverse();
		}
		// par dï¿½faut on rafraichi, sinon refresh doit ï¿½tre "vrai"
		if (refresh === undefined || refresh) {
			//ev.log.warn('ev.mev.VolNew.__sortVols('+SORT_TYPES[type]+')> ask for window.display.refresh()');
			window.display.refresh();
		}
	}

	/*********************************/
	/****** Fonctions publiques ******/
	/*********************************/

	// Tous les tris possibles
	ev.mev.VolNew.sortVolsPrix = function(way,vols,refresh) {
		sortVols(SORT_PRIXTTC, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsCompagnie = function(way,vols,refresh) {
		sortVols(SORT_COMPAGNIE, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsDirect = function(way,vols,refresh) {
		sortVols(SORT_DIRECT, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsDateAller = function(way,vols,refresh) {
		sortVols(SORT_DATEALLER, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsDateRetour = function(way,vols,refresh) {
		sortVols(SORT_DATERETOUR, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsAeroportDepartAller = function(way,vols,refresh) {
		sortVols(SORT_AEROPORTDEPARTALLER, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsAeroportArriveeAller = function(way,vols,refresh) {
		sortVols(SORT_AEROPORTARRIVEEALLER, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsAeroportDepartRetour = function(way,vols,refresh) {
		sortVols(SORT_AEROPORTDEPARTRETOUR, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsAeroportArriveeRetour = function(way,vols,refresh) {
		sortVols(SORT_AEROPORTARRIVEERETOUR, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsHeureDepartAller = function(way,vols,refresh) {
		sortVols(SORT_HEUREDEPARTALLER, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsHeureArriveeAller = function(way,vols,refresh) {
		sortVols(SORT_HEUREARRIVEEALLER, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsHeureDepartRetour = function(way,vols,refresh) {
		sortVols(SORT_HEUREDEPARTRETOUR, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsHeureArriveeRetour = function(way,vols,refresh) {
		sortVols(SORT_HEUREARRIVEERETOUR, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsDureeAller = function(way,vols,refresh) {
		sortVols(SORT_DUREEALLER, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsDureeRetour = function(way,vols,refresh) {
		sortVols(SORT_DUREERETOUR, way, vols, refresh);
	};
	ev.mev.VolNew.sortVolsPartenaire = function(way,vols,refresh) {
		sortVols(SORT_PARTENAIRE, way, vols, refresh);
	};
	// Perme tde trier la liste de vols en utilisant le dernier filtre utilisï¿½.
	// si aucun filtre n'a encore ï¿½tï¿½ utilisï¿½, on prend le tri par dï¿½faut.
	ev.mev.VolNew.sortVolsCurrent = function(way,vols,refresh) {
		vols.sort(compareVols);
		if (sortWay === 'desc') {
			// si le tri est descendant, on renverse le tableau de vols
			vols.reverse();
		}
		// par dï¿½faut on rafraichi, sinon refresh doit ï¿½tre "vrai"
		if (refresh === undefined || refresh) {
			window.display.refresh();
		}
	};

	/**
		 * Evï¿½nement ï¿½ exï¿½cuter lorsqu'on click sur un bouton
		 * de redirection correspondant ï¿½ un vol.<br>
		 * L'objet sur lequel on exï¿½cute cette mï¿½thode doit
		 * possï¿½der une propriï¿½tï¿½ avec l'url infos ï¿½ utiliser.
		 * (this.urlInfos)
		 */
	ev.mev.VolNew.onclick = function() {
		var url = this.urlInfos;
		if (url) {
			window.open(url, '', 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=980,height=600,left=100,top=100');
		}
	};

	ev.mev.VolNew.prototype.clicPartenaire = function() {
		var url = this.urlInfos;
		if (url) {
			window.open(url, '', 'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=980,height=600,left=100,top=100');
		}
	};

	/**
		 * Mï¿½thode de comparaison de segments.
		 * Paramï¿½tre requis pour la comparaison :
		 *  - Code compagnie.
		 *  - Date et heure de dï¿½collage.
		 *  - Date et heure d'atterissage.
		 *  - Code aï¿½roport dï¿½part et arrivï¿½e.
		 *
		 *  @param s1 premier segment ï¿½ comparer.
		 *  @param s2 deuxiï¿½me segment ï¿½ comparer.
		 *  @return false si les segments sont diffï¿½rent ou si un des paramï¿½tres de segments nï¿½cessaire pour la comparaison n'est pas valide ;
		 *    true si les segments sont considï¿½res comme identique.
		 */
	function compareSegment(s1,s2) {
		/** Test de validitï¿½ des paramï¿½tres nï¿½cessaire ï¿½ la comparaison.*/
		//ev.log.info('test validite des arguments de segments');
		if (!s1 || !s2) {
			ev.log.info('un segments est nul ANORMAL');
			return FALSE;
		}
		//ev.log.info('deux segments non nuls');
		if (!s1.dateDecollage || !s2.dateDecollage) {
			return FALSE;
		}
		//ev.log.info('date decollage non nulles');
		//ev.log.info('s1.dateAtterissage='+s1.dateAtterissage+' s2.dateAterissage'+s2.dateAterissage );
		if (!s1.dateAtterissage || !s2.dateAtterissage) {
			return FALSE;
		}
		//ev.log.info('date  dateAtterissage non nulles');
		if (!s1.heureDecollage || !s2.heureDecollage) {
			return FALSE;
		}
		if (!s1.heureAtterissage || !s2.heureAtterissage) {
			return FALSE;
		}
		//ev.log.info('heure  identiques');
		if (!s1.codeAeroportDepart || !s2.codeAeroportDepart) {
			return FALSE;
		}
		//ev.log.info('code aeroport identiques identiques');
		if (!s1.codeAeroportArrivee || !s2.codeAeroportArrivee) {
			return FALSE;
		}

		//ev.log.info("Comparaison de segments...before code aeroport");
		if (s1.codeAeroportDepart !== s2.codeAeroportDepart) {
			return FALSE;
		}
		if (s1.codeAeroportArrivee !== s2.codeAeroportArrivee) {
			return FALSE;
		}
		if (s1.dateDecollage !== s2.dateDecollage) {
			return FALSE;
		}
		if (s1.dateAtterissage !== s2.dateAtterissage) {
			return FALSE;
		}
		if (s1.heureDecollage !== s2.heureDecollage) {
			return FALSE;
		}
		if (s1.heureAtterissage !== s2.heureAtterissage) {
			return FALSE;
		}
		return TRUE;
	}

	/** Mï¿½thode de comparaison de vol, on compare sur
		- Date / heure depart
		- Date / heure arrivï¿½e
		- Date / heure dï¿½part escale(s).
		- Date / heure arrivï¿½e escale(s).
		- Code compagnies.
		 */
	function compareVol22(v1,v2) {
		var i = 0;
		/** Checkla valdiitï¿½, non null, non undefined de tous les paramï¿½tres utilisï¿½s pour la comparaison.*/

		if (!v1 || !v2) {
			return FALSE;
		}
		if (!v1.getCompagnies() || !v2.getCompagnies()) {
			return FALSE;
		}

		if (!v1.getNbSegmentsAller() || !v1.getNbSegmentsRetour()) {
			return FALSE;
		}
		if (!v2.getNbSegmentsAller() || !v2.getNbSegmentsRetour()) {
			return FALSE;
		}
		/** Si un vol n'a pas de segments il est non valide.*/
		if (v1.getNbSegmentsAller() === 0) {
			return FALSE;
		}
		if (v2.getNbSegmentsAller() === 0) {
			return FALSE;
		}
		if (v1.getNbSegmentsRetour() === 0) {
			return FALSE;
		}
		if (v2.getNbSegmentsRetour() === 0) {
			return FALSE;
		}

		/** Test ï¿½galitï¿½ des parametres de comparaison.*/
		if (v1.getCompagnies().length !== v2.getCompagnies().length) {
			return FALSE;
		}
		for (var j = 0; j < v1.getCompagnies().length; j++) {
			if (v1.getCompagnies()[j] !== v2.getCompagnies()[j]) {
				return FALSE;
			}
		}
		if (v1.getNbSegmentsAller() !== v2.getNbSegmentsAller()) {
			return FALSE;
		}
		if (v1.getNbSegmentsRetour() !== v2.getNbSegmentsRetour()) {
			return FALSE;
		}

		if (v1.getDateDepartAller() !== v2.getDateDepartAller()) {
			return FALSE;
		}
		if (v1.getDateDepartRetour() !== v2.getDateDepartRetour()) {
			return FALSE;
		}
		if (v1.getDateArriveeAller() !== v2.getDateArriveeAller()) {
			return FALSE;
		}
		if (v1.getDateArriveeRetour() !== v2.getDateArriveeRetour()) {
			return FALSE;
		}

		if (v1.getHoraireDepartAller() !== v2.getHoraireDepartAller()) {
			return FALSE;
		}
		if (v1.getHoraireArriveeAller() !== v2.getHoraireArriveeAller()) {
			return FALSE;
		}
		if (v1.getHoraireDepartRetour() !== v2.getHoraireDepartRetour()) {
			return FALSE;
		}
		if (v1.getHoraireArriveeRetour() !== v2.getHoraireArriveeRetour()) {
			return FALSE;
		}

		var v1sa = v1.getNbSegmentsAller(),
				v2sa = v2.getNbSegmentsAller(),
				v1sr = v1.getNbSegmentsRetour(),
				v2sr = v2.getNbSegmentsRetour(),
				s1 = NULL,
				s2 = NULL;

		//ev.log.info('Nb segments Aller:'+v1sa + 'Nb segments Retour:'+v1sr)
		for (i = 0; i < v1sa; i++) {
			if (v1.segment[i] && !v2.segment[i]) {
				return FALSE;
			}
			if (!v1.segment[i] && v2.segment[i]) {
				return FALSE;
			}
			if (v1.segment[i] && v2.segment[i]) {
				s1 = v1.segment[i];
				s2 = v2.segment[i];
				//ev.log.info('Segments ALLER s1:'+s1);
				//ev.log.info('Segments ALLER s2:'+s2);

				if (!compareSegment(s1, s2)) {
					//ev.log.info('Segments diffï¿½rents ALLER...');
					return FALSE;
				}
			}

		}

		for (i = 3; i < v1sa + 3; i++) {
			if (v1.segment[i] && !v2.segment[i]) {
				return FALSE;
			}
			if (!v1.segment[i] && v2.segment[i]) {
				return FALSE;
			}
			if (v1.segment[i] && v2.segment[i]) {
				s1 = v1.segment[i];
				s2 = v2.segment[i];
				if (!compareSegment(s1, s2)) {
					return FALSE;
				}
			}
		}
		return TRUE;
	}

	/**
		 *  Recherche vol dans la liste vols
		 *  Renvoi le vol en question si trouvï¿½,sinon renvoi un null
		 * @param vol Vol ï¿½ comparer dans la liste.
		 * @param vols liste des vols dans laquelle on doit chercher
		 * @ return objet vol si le vol est trouvï¿½ dans la liste.
		 */
	ev.mev.VolNew.isVolInListe = function(vols,vol) {
		if (!vols) {
			return -1;
		}
		if (!vols.length) {
			return -1;
		}
		if (vols.length < 1) {
			return -1;
		}
		var i, v;
		/** On compare chaque vol de la liste avec le vol de rï¿½fï¿½rence.*/
		for (i = 0; i < vols.length; i++) {
			v = vols[i];
			if (compareVol22(vol, v)) {
				//  ev.log.info('vols identiques.');
				return i;
			}
		}
		/** aucun vol trouvï¿½ dans la liste on renvoi null.*/
		return -1;
	};

	/**
		 *
		 * @param {Object} refPartenaires
		 */
	function sortRefPartenairePrix(refPartenaires) {
		if (!refPartenaires) {
			return FALSE;
		}
		if (!refPartenaires.length) {
			return FALSE;
		}
		var i, rp, j, rp2, old;
		for (i = 0; i < refPartenaires.length; i++) {
			rp = refPartenaires[i];
			for (j = 1; j < refPartenaires.length; j++) {
				rp2 = refPartenaires[j];
				if (rp2.prixValue < rp.prixValue) {
					old = refPartenaires[i];
					refPartenaires[i] = refPartenaires[j];
					refPartenaires[j] = old;
				}
			}
		}
	}

	/**
		 *
		 * @param {Array.<Object>} vols tableau de vols.
		 */
	ev.mev.VolNew.sortVolsRefPartenairePrix = function(vols) {
		var i;
		for (i = 0; i < vols.length; i++) {
			sortRefPartenairePrix(vols[i].refPartenaire);
		}
	};

	ev.log.debug('ev.mev.Vol ok');
}()); // exï¿½cution de la fonction anonyme ici

