//defaut.js
// Dropdown navigation menu
var obj = null;
function checkHover() {
	if (obj) {
		obj.find('ul.subnavlinks').fadeOut('fast');
	}
}
// slide & fade toggle animation
jQuery.fn.slideFadeToggle = function(speed, easing, callback) {
	return this.animate({opacity: 'toggle', height: 'toggle', paddingBottom: 'toggle', paddingTop: 'toggle', marginBottom: 'toggle'}, speed, easing, callback);
};
 
// Overlabels
( function( $ ) {
 
	// plugin definition
	$.fn.overlabel = function( options ) {
 
		// build main options before element iteration
		var opts = $.extend( {}, $.fn.overlabel.defaults, options );
 
		var selection = this.filter( 'label[for]' ).map( function() {
 
			var label = $( this );
			var id = label.attr( 'for' );
			var field = document.getElementById( id );
 
			if ( !field ) return;
 
			// build element specific options
			var o = $.meta ? $.extend( {}, opts, label.data() ) : opts;
 
			label.addClass( o.label_class );
 
			var hide_label = function() { label.css( o.hide_css ) };
			var show_label = function() { this.value || label.css( o.show_css ) };
 
			$( field )
				 .parent().addClass( o.wrapper_class ).end()
				 .focus( hide_label ).blur( show_label ).each( hide_label ).each( show_label );
 
			return this;
  
		} );
 
		return opts.filter ? selection : selection.end();
	};
 
	// publicly accessible defaults
	$.fn.overlabel.defaults = {
 
		label_class:   'overlabel-apply',
		wrapper_class: 'overlabel-wrapper',
		hide_css:	   { 'text-indent': '-10000px' },
		show_css:	   { 'text-indent': '0px', 'cursor': 'text' },
		filter:		   false
 
	};
 
} )( jQuery );


//Ajax
function PageMethod(url, paramArray, successFn, errorFn) {
	var paramList = '';
	if (paramArray.length > 0) {
		for (var i = 0; i < paramArray.length; i += 2) {
			if (paramList.length > 0) paramList += ',';
			paramList += '"' + paramArray[i] + '":"' + paramArray[i + 1] + '"';
		}
	}
	paramList = '{' + paramList + '}';

	$.ajax({
		type: "POST",
		url: url,
		contentType: "application/json; charset=utf-8",
		data: paramList,
		dataType: "json",
		success: successFn,
		error: errorFn
	})
 ;
}


function AjaxFailed(msg) {
}


$.extend({
	serializedForGet: function(paramArray) {
		var paramList = '';
		if (paramArray.length > 0) {
			for (var i = 0; i < paramArray.length; i += 2) {
				if (paramList.length > 0) paramList += '&';
				paramList += paramArray[i] + '=' + paramArray[i + 1];
			}
		}
		return paramList;
	},
	
	getParameterByName: function( name )
		{
		  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
		  var regexS = "[\\?&]"+name+"=([^&#]*)";
		  var regex = new RegExp( regexS );
		  var results = regex.exec( window.location.href );
		  if( results == null )
			return "";
		  else
			return results[1];
	},
	
	radioCheckboxGroup : function(name, filter)
	{
		filter = filter || "*";
		var expression = "input[type=checkbox]";
		if(name)
		{
			expression += "[name=" + name + "]"
		}
		var x = $(expression).filter(filter);
		x.click(
			function()
			{
				// uncheck every other box with the same name
				x.not(this).each(
					function()
					{
						this.checked = false;
					}
				).end();
			}
		)
	}
});


function JPaysToRegionGetValue(val,type)
{
	var a;
	switch(type){
		case 'Pays'	: a=JPaysToRegion.Pays;break;
		case 'Regions'	: a=JPaysToRegion.Regions;break;
	}
	for (var i = 0; i < a.length; i++) {
		if(a[i].text == val) return a[i].value;
	}
}

function serializedForGet(paramArray) {
	var paramList = '';
	if (paramArray.length > 0) {
		for (var i = 0; i < paramArray.length; i += 2) {
			if (paramList.length > 0) paramList += '&';
			paramList += paramArray[i] + '=' + paramArray[i + 1];
		}
	}
	return paramList;
}
                               




/****************************************************

gscAutoComplete.js
AUTOCOMPLETE ET RECHERCHE

******************************************************/

var param;

function initFill(){
      	$("#pays").change(function() { fillRegions(); });
      	$("#region").change(function() { buildParam(); countEtablissement(); $('#ville').attr("value", ''); });  
}

function fillPays() {
	for (var i = 0; i < JPaysToRegion.Pays.length; i++) {
		$("#pays").append("<option value=" + JPaysToRegion.Pays[i].value + ">" + JPaysToRegion.Pays[i].text + "</option>");
	
	}

	//fillRegions();
}
 
function fillRegions() {
	$("#region").empty();
	/*for (var i = 0; i < JPaysToRegion.Regions.length; i++) {
		if (JPaysToRegion.Regions[i].idPays == $("select#pays option:selected").attr("value"))
			$("#region").append("<option value=" + JPaysToRegion.Regions[i].value + ">" + JPaysToRegion.Regions[i].text + "</option>");
	} */
		param = ['idPays', $("select#pays option:selected").attr("value")];
	PageMethod(pathJS + 'AjaxRequest.aspx/GetRegionsByPays', param, bindRegions, AjaxFailed);
	//$("#region option").each(function(){$(this).click(function() {buildParam(); countEtablissement(); $('#ville').attr("value", '');  })}); 
}

function bindRegions(msg){
  for (var i = 0; i < msg.d.length; i++) {
			$("#region").append("<option value=" + msg.d[i].idRegions + ">" +msg.d[i].label + "</option>");
	}                   
	
	buildParam();
  countEtablissement();
}




function menuCitiesAutoComplete() {
	$('#ville').autocomplete(pathJS + "AjaxAutoComplete.aspx", {
		extraParams: {
			idPays: function() { return $('select#pays option:selected').attr('value') },
			idRegions: function() { return $('select#region option:selected').attr('value') }
		},
		cacheLength: 0, minChars: 1, max:21,
		autoFill: false, mustMatch: false, matchContains: true,
		formatItem: function(row, i, max, term) {
			if( row[1]!='')
			return row[0] + "<span style='float:right'>(" + row[2] + ") " + row[1] + "</span>";
			else if(row[2]!=''&& row[2]!=undefined)
			return row[0] + "<span style='float:right'>(" + row[2] + ") </span>";
			else
			return row[0];
		},
		width: "300px"
	}).result(function(event, item) {
	     if(item[3]!=undefined)
		    $('#villeTemp').attr("value",item[0]+','+item[3]);
        else
        $('#villeTemp').attr("value",item[0]); 
		if (item[2]!=''){buildParam(item[0]+'|'+item[3]);} else buildParam(item[0]); 
	countEtablissement(); 
	});
}

//function RedirectResult(cible) {
//	if ($('#ville').attr("value") != "Ex. : Valence")
//		buildParam($('#ville').attr("value"));
//	else
//		buildParam();
//	location.href = pathJS + "sites/" + cible + "/result.aspx?" + $.serializedForGet(param);
//}


function RedirectResult(domaine) {
	var varville = '';
	if($('#villeTemp').attr("value")!='')
	 if($('#villeTemp').attr("value").split(',')[0]==$('#ville').attr("value"))
	   varville=$('#villeTemp').attr("value");
	else if ($('#ville').attr("value") != "Ex. : Valence")
		varville = ($('#ville').attr("value"));
	else
		varville = '';
	
	buildParam(varville);
	
	if(domaine=="blocsearch")
		domaine = $(":input[type='checkbox'][name='check-type'][checked='true']").attr('value');

	location.href = "http://"+domaine + "/result.aspx?" + $.serializedForGet(param);
	
}


function buildParam(ville) {
	param = ['idPays', $("select#pays option:selected").attr("value"),
'idReg', ($("select#region option:selected").attr("value") != '0') ? $("select#region option:selected").attr("value") : '', 'idDest',
(ville != null) ? ville : '','idTag',serializedTag(),
'uid',$("input#uid").attr("value")  ];
}


// Compte le nombre d'hotel
function countEtablissement() {
	if ($("#nbLocation").text() != '')
		PageMethod(pathJS + 'AjaxRequest.aspx/GetNumberEtablissement', param, countDisplay, AjaxFailed);
}

function countDisplay(msg) {
	$("#nbLocation").text('0');
	$("#nbHotel").text('0');
	$("#nbHote").text('0');
	$.each(msg.d, function() {
		if (!this.isGeo) param[7] = '';
		switch (this.idTypeEtablissement) {
			case '2': $("#nbLocation").text(this.count);
				break;
			case '3': $("#nbHotel").text(this.count);
				break;
			case '6': $("#nbHote").text(this.count);
				break;
		}
	})
	
	$("#nombre-hotels").fadeOut(100).fadeIn(500);  
	$("#nombre-maisons-hotes").fadeOut(100).fadeIn(1000); 
	$("#nombre-locations").fadeOut(100).fadeIn(1500);
}

function serializedTag(){
	var resultTag='';
	if($("#popin").css("display")=="none")
	$(":input[type='checkbox'][name='critereTag'][checked='true']").each( function(){
			resultTag += ","+$(this).attr("value");
		})
	else
	$(":input[type='checkbox'][name='chTags'][checked='true']").each( function(){
			resultTag += ","+$(this).attr("value");
		})
	
	resultTag = (resultTag.replace(',','')!='')?resultTag.replace(',',''):'';
	return resultTag;
}




//Liste des pays et regions pour la select box

var JPaysToRegion = {
	"Pays": [
			{ "text": "France", "value": "1" },
	//{"text":"Royaume-Unie","value":"2"},
			{"text": "Italie", "value": "3" },
			{ "text": "Espagne", "value": "4" }, 
	//{"text":"Allemagne","value":"5"},

			{"text": "Portugal", "value": "6" }
		],
	"Regions": [
			{ "value": "0", "idPays": "1", "idLangue": "1", "text": "Toutes les régions" },
			{ "value": "0", "idPays": "3", "idLangue": "1", "text": "Toutes les régions" },
			{ "value": "0", "idPays": "4", "idLangue": "1", "text": "Toutes les régions" },
			{ "value": "0", "idPays": "6", "idLangue": "1", "text": "Toutes les régions" },
			{ "value": "0", "idPays": "2", "idLangue": "1", "text": "Toutes les régions" },
			/*{ "value": "1", "idPays": "1", "idLangue": "1", "text": "Alsace-Lorraine" },
			{ "value": "2", "idPays": "1", "idLangue": "1", "text": "Aquitaine" },
			//{ "value": "3", "idPays": "1", "idLangue": "1", "text": "Auvergne" },
			{ "value": "3", "idPays": "1", "idLangue": "1", "text": "Auvergne-Limousin" },			
			{ "value": "4", "idPays": "1", "idLangue": "1", "text": "Bourgogne" },
			{ "value": "5", "idPays": "1", "idLangue": "1", "text": "Bretagne" },
			{ "value": "6", "idPays": "1", "idLangue": "1", "text": "Centre" },
			{ "value": "9", "idPays": "1", "idLangue": "1", "text": "Champagne-Ardennes" },
	//{"value":"9","idPays":"1","idLangue":"1","text":"Collectivités et territoires d'Outre-Mer"},
			{"value": "10", "idPays": "1", "idLangue": "1", "text": "Corse" },
	//{"value":"11","idPays":"1","idLangue":"1","text":"Départements d'Outre-Mer"},
	        //Franche-Comté non vide...
			{"value": "12", "idPays": "1", "idLangue": "1", "text": "Franche-Comté" },
			//{ "value": "13", "idPays": "1", "idLangue": "1", "text": "Haute-Normandie" },
			{ "value": "14", "idPays": "1", "idLangue": "1", "text": "Ile-de-France" },
			{ "value": "15", "idPays": "1", "idLangue": "1", "text": "Languedoc-Roussillon" },
			//{ "value": "16", "idPays": "1", "idLangue": "1", "text": "Limousin" },
			//{ "value": "17", "idPays": "1", "idLangue": "1", "text": "Lorraine" },
			{ "value": "18", "idPays": "1", "idLangue": "1", "text": "Midi-Pyrénées" },
			{ "value": "19", "idPays": "1", "idLangue": "1", "text": "Nord-Pas-de-Calais" },
			{ "value": "16", "idPays": "1", "idLangue": "1", "text": "Normandie" },
			{ "value": "20", "idPays": "1", "idLangue": "1", "text": "Pays de la Loire" },
			{ "value": "21", "idPays": "1", "idLangue": "1", "text": "Picardie" },
			{ "value": "22", "idPays": "1", "idLangue": "1", "text": "Poitou-Charentes" },
	//{"value":"23","idPays":"1","idLangue":"1","text":"Provence-Alpes-Côte-d'Azur"},
			{"value": "23", "idPays": "1", "idLangue": "1", "text": "Provence-Côte d'Azur" },
			{ "value": "24", "idPays": "1", "idLangue": "1", "text": "Rhône-Alpes" },
			
			{ "value": "45", "idPays": "3", "idLangue": "1", "text": "Basilicata-Calabrie" },
			//{ "value": "25", "idPays": "3", "idLangue": "1", "text": "Basilicate" },
			//{ "value": "26", "idPays": "3", "idLangue": "1", "text": "Calabre" },
			//{ "value": "53", "idPays": "3", "idLangue": "1", "text": "Campania" },
			{ "value": "27", "idPays": "3", "idLangue": "1", "text": "Campanie" },
			{ "value": "46", "idPays": "3", "idLangue": "1", "text": "Emilia-Romagna" },
			//{ "value": "28", "idPays": "3", "idLangue": "1", "text": "Emilie-Romagne" },
			{ "value": "54", "idPays": "3", "idLangue": "1", "text": "Latium-Abruzzes" },
			//{ "value": "44", "idPays": "3", "idLangue": "1", "text": "Latium" },
			//{ "value": "29", "idPays": "3", "idLangue": "1", "text": "Abruzzes" },
			{ "value": "47", "idPays": "3", "idLangue": "1", "text": "Ligurie" },
			{ "value": "55", "idPays": "3", "idLangue": "1", "text": "Lombardie" },
			{ "value": "48", "idPays": "3", "idLangue": "1", "text": "Marches" },			
			//{ "value": "30", "idPays": "3", "idLangue": "1", "text": "Molise" },
			//{ "value": "31", "idPays": "3", "idLangue": "1", "text": "Ligurie" },
			//{ "value": "32", "idPays": "3", "idLangue": "1", "text": "Lombardie" },
			//{ "value": "33", "idPays": "3", "idLangue": "1", "text": "Marches" },
			//{ "value": "34", "idPays": "3", "idLangue": "1", "text": "Ombrie" },
			//{ "value": "35", "idPays": "3", "idLangue": "1", "text": "Piémont" },
			//{ "value": "36", "idPays": "3", "idLangue": "1", "text": "Vald'Aoste" },
			//{ "value": "37", "idPays": "3", "idLangue": "1", "text": "Pouilles" },
			//{ "value": "38", "idPays": "3", "idLangue": "1", "text": "Sardaigne" },
			//{ "value": "39", "idPays": "3", "idLangue": "1", "text": "Sicile" },
			//{ "value": "40", "idPays": "3", "idLangue": "1", "text": "Toscane" },
			//{ "value": "41", "idPays": "3", "idLangue": "1", "text": "Trentin-Haut-Adige" },
			//{ "value": "42", "idPays": "3", "idLangue": "1", "text": "Vénétie" },
			//{ "value": "43", "idPays": "3", "idLangue": "1", "text": "Frioul" },	
			{ "value": "49", "idPays": "3", "idLangue": "1", "text": "Piemont-Val d’Aoste" },
			{ "value": "50", "idPays": "3", "idLangue": "1", "text": "Pouilles" },
			{ "value": "51", "idPays": "3", "idLangue": "1", "text": "Sicile" },
			{ "value": "52", "idPays": "3", "idLangue": "1", "text": "Trentin-Haut-Adige" },				
			{ "value": "56", "idPays": "3", "idLangue": "1", "text": "Ombrie" },
			{ "value": "57", "idPays": "3", "idLangue": "1", "text": "Sardaigne" },
			{ "value": "58", "idPays": "3", "idLangue": "1", "text": "Toscane" },
			{ "value": "59", "idPays": "3", "idLangue": "1", "text": "Vénétie-Frioul-Giulia" },
			
			//{ "value": "60", "idPays": "4", "idLangue": "1", "text": "Murcia" },
			{ "value": "61", "idPays": "4", "idLangue": "1", "text": "Andalousie" },
			{ "value": "62", "idPays": "4", "idLangue": "1", "text": "Aragon" },
			{ "value": "63", "idPays": "4", "idLangue": "1", "text": "Asturies-Cantabrie" },
			{ "value": "64", "idPays": "4", "idLangue": "1", "text": "Iles Baléares" },						
			{ "value": "65", "idPays": "4", "idLangue": "1", "text": "Castille-Leon" },
			{ "value": "66", "idPays": "4", "idLangue": "1", "text": "Castille-Manche" },
			{ "value": "67", "idPays": "4", "idLangue": "1", "text": "Catalogne" },
			//Estrémadure non vide...
			{ "value": "68", "idPays": "4", "idLangue": "1", "text": "Estrémadure" },
			//{ "value": "81", "idPays": "6", "idLangue": "1", "text": "Estrémadure" },
			{ "value": "69", "idPays": "4", "idLangue": "1", "text": "Galice" },			
			{ "value": "71", "idPays": "4", "idLangue": "1", "text": "Madrid" },
			//Navarre non vide...
			{ "value": "72", "idPays": "4", "idLangue": "1", "text": "Navarre" },
			{ "value": "73", "idPays": "4", "idLangue": "1", "text": "Pays Basque" },
			//{ "value": "74", "idPays": "4", "idLangue": "1", "text": "Principauté d’Andorre" },
			{ "value": "70", "idPays": "4", "idLangue": "1", "text": "La Rioja" },
			{ "value": "75", "idPays": "4", "idLangue": "1", "text": "Valence" },
			
			{ "value": "76", "idPays": "6", "idLangue": "1", "text": "Alentejo" },
			{ "value": "77", "idPays": "6", "idLangue": "1", "text": "Algarve" },
			{ "value": "78", "idPays": "6", "idLangue": "1", "text": "Açores" },
			{ "value": "79", "idPays": "6", "idLangue": "1", "text": "Beiras" },
			{ "value": "80", "idPays": "6", "idLangue": "1", "text": "Douro" },			
			{ "value": "82", "idPays": "6", "idLangue": "1", "text": "Madère" },
			{ "value": "83", "idPays": "6", "idLangue": "1", "text": "Minho" },
			{ "value": "84", "idPays": "6", "idLangue": "1", "text": "Ribatejo" },
			{ "value": "85", "idPays": "6", "idLangue": "1", "text": "Tras-os-montes" },
			{ "value": "86", "idPays": "2", "idLangue": "1", "text": "Londres" },*/
			
			
			
			{ "value": "1", "idPays": "1", "idLangue": "1", "text": "Alsace-Lorraine" },
            { "value": "2", "idPays": "1", "idLangue": "1", "text": "Aquitaine" },
            { "value": "3", "idPays": "1", "idLangue": "1", "text": "Auvergne-Limousin" },
            { "value": "4", "idPays": "1", "idLangue": "1", "text": "Bourgogne" },
            { "value": "5", "idPays": "1", "idLangue": "1", "text": "Bretagne" },
            { "value": "6", "idPays": "1", "idLangue": "1", "text": "Centre" },
            //{ "value": "7", "idPays": "1", "idLangue": "1", "text": "Collectivités et territoires d'Outre-Mer" },
            { "value": "8", "idPays": "1", "idLangue": "1", "text": "Corse" },
            { "value": "9", "idPays": "1", "idLangue": "1", "text": "Champagne-Ardenne" },
            //{ "value": "10", "idPays": "1", "idLangue": "1", "text": "Départements d''Outre-Mer" },
            { "value": "11", "idPays": "1", "idLangue": "1", "text": "Franche-Comté" },
            { "value": "12", "idPays": "1", "idLangue": "1", "text": "Île-de-France" },
            { "value": "13", "idPays": "1", "idLangue": "1", "text": "Languedoc-Roussillon" },
            { "value": "14", "idPays": "1", "idLangue": "1", "text": "Midi-Pyrénées" },
            { "value": "15", "idPays": "1", "idLangue": "1", "text": "Nord-Pas-de-Calais" },
            { "value": "16", "idPays": "1", "idLangue": "1", "text": "Normandie" },
            { "value": "17", "idPays": "1", "idLangue": "1", "text": "Pays de la Loire" },
            { "value": "18", "idPays": "1", "idLangue": "1", "text": "Picardie" },
            { "value": "19", "idPays": "1", "idLangue": "1", "text": "Poitou-Charentes" },
            //{ "value": "20", "idPays": "1", "idLangue": "1", "text": "Provence-Alpes-Côte d'Azur" },
            //{ "value": "20", "idPays": "1", "idLangue": "1", "text": "PACA" },
            { "value": "20", "idPays": "1", "idLangue": "1", "text": "Provence-Côte d'Azur" },
            { "value": "21", "idPays": "1", "idLangue": "1", "text": "Rhône-Alpes" },
            
            
            { "value": "25", "idPays": "3", "idLangue": "1", "text": "Basilicate-Calabre" },
            //{ "value": "26", "idPays": "3", "idLangue": "1", "text": "Calabre" },
            { "value": "27", "idPays": "3", "idLangue": "1", "text": "Campanie" },
            { "value": "28", "idPays": "3", "idLangue": "1", "text": "Émilie-Romagne" },
            //{ "value": "29", "idPays": "3", "idLangue": "1", "text": "Frioul-Vénétie Julienne" },
            { "value": "29", "idPays": "3", "idLangue": "1", "text": "Frioul" },
            //{ "value": "30", "idPays": "3", "idLangue": "1", "text": "Latium" },
            { "value": "22", "idPays": "3", "idLangue": "1", "text": "Latium-Abruzzes" },
            { "value": "31", "idPays": "3", "idLangue": "1", "text": "Ligurie" },
            { "value": "32", "idPays": "3", "idLangue": "1", "text": "Lombardie" },
            { "value": "33", "idPays": "3", "idLangue": "1", "text": "Marches" },
            //{ "value": "34", "idPays": "3", "idLangue": "1", "text": "Molise" },
            { "value": "39", "idPays": "3", "idLangue": "1", "text": "Ombrie" },            
            { "value": "23", "idPays": "3", "idLangue": "1", "text": "Piémont-Vallée d'Aoste" },
            { "value": "24", "idPays": "3", "idLangue": "1", "text": "Pouilles" },
            { "value": "35", "idPays": "3", "idLangue": "1", "text": "Sardaigne" },
            { "value": "36", "idPays": "3", "idLangue": "1", "text": "Sicile" },
            { "value": "37", "idPays": "3", "idLangue": "1", "text": "Trentin-Haut-Adige" },
            { "value": "38", "idPays": "3", "idLangue": "1", "text": "Toscane" },            
            //{ "value": "40", "idPays": "3", "idLangue": "1", "text": "Vénétie" },
            { "value": "41", "idPays": "4", "idLangue": "1", "text": "Andalousie" },
            { "value": "42", "idPays": "4", "idLangue": "1", "text": "Aragon" },
            { "value": "43", "idPays": "4", "idLangue": "1", "text": "Asturies-Cantabrie" },
            { "value": "44", "idPays": "4", "idLangue": "1", "text": "Castille-La Manche" },
            { "value": "45", "idPays": "4", "idLangue": "1", "text": "Castille-León" },
            { "value": "46", "idPays": "4", "idLangue": "1", "text": "Catalogne" },
            { "value": "47", "idPays": "4", "idLangue": "1", "text": "Estrémadure" },
            { "value": "48", "idPays": "4", "idLangue": "1", "text": "Galice" },
            { "value": "49", "idPays": "4", "idLangue": "1", "text": "Îles Baléares" },
            { "value": "50", "idPays": "4", "idLangue": "1", "text": "Madrid" },
            //{ "value": "51", "idPays": "4", "idLangue": "1", "text": "Murcie" },
            { "value": "52", "idPays": "4", "idLangue": "1", "text": "Navarre" },
            { "value": "53", "idPays": "4", "idLangue": "1", "text": "Pays Basque" },
            { "value": "54", "idPays": "4", "idLangue": "1", "text": "La Rioja" },
            { "value": "55", "idPays": "4", "idLangue": "1", "text": "Valence" },
            
            { "value": "56", "idPays": "5", "idLangue": "1", "text": "Bade-Wurtemberg" },
            { "value": "57", "idPays": "5", "idLangue": "1", "text": "Basse-Saxe" },
            { "value": "58", "idPays": "5", "idLangue": "1", "text": "Bavière" },
            { "value": "59", "idPays": "5", "idLangue": "1", "text": "Brandebourg" },
            { "value": "60", "idPays": "5", "idLangue": "1", "text": "Hesse" },
            { "value": "61", "idPays": "5", "idLangue": "1", "text": "Mecklembourg-Poméranie occidentale" },
            { "value": "62", "idPays": "5", "idLangue": "1", "text": "Rhénanie-du-Nord-Westphalie" },
            { "value": "63", "idPays": "5", "idLangue": "1", "text": "Rhénanie-Palatinat" },
            { "value": "64", "idPays": "5", "idLangue": "1", "text": "Sarre" },
            { "value": "65", "idPays": "5", "idLangue": "1", "text": "Saxe" },
            { "value": "66", "idPays": "5", "idLangue": "1", "text": "Saxe-Anhalt" },
            { "value": "67", "idPays": "5", "idLangue": "1", "text": "Schleswig-Holstein" },
            { "value": "68", "idPays": "5", "idLangue": "1", "text": "Thuringe" },
            { "value": "69", "idPays": "6", "idLangue": "1", "text": "Alentejo" },
            { "value": "70", "idPays": "6", "idLangue": "1", "text": "Algarve" },
            { "value": "71", "idPays": "6", "idLangue": "1", "text": "Açores" },
            { "value": "72", "idPays": "6", "idLangue": "1", "text": "Beiras" },
            { "value": "73", "idPays": "6", "idLangue": "1", "text": "Douro" },
            //Meme ID que pour Espagne normal ?
            { "value": "47", "idPays": "6", "idLangue": "1", "text": "Estrémadure" },
            { "value": "74", "idPays": "6", "idLangue": "1", "text": "Madère" },
            { "value": "75", "idPays": "6", "idLangue": "1", "text": "Minho" },
            { "value": "76", "idPays": "6", "idLangue": "1", "text": "Ribatejo" },
            { "value": "77", "idPays": "6", "idLangue": "1", "text": "Tras-os-montes" }
		]
}
	 
	
	
	
	
	