﻿/*<![CDATA[ */
/* jQuery Carousel 0.9.1
Copyright 2008-2009 Thomas Lanciaux and Pierre Bertet.
This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/>
*/
;(function($){
	
	$.fn.carousel = function(params){
		
		var params = $.extend({
			direction: "horizontal",
			loop: false,
			dispItems: 1,
			pagination: false,
			paginationPosition: "inside",
			nextBtn: '<span role="button">Next</span>',
			prevBtn: '<span role="button">Previous</span>',
			btnsPosition: "inside",
			nextBtnInsert: "appendTo",
			prevBtnInsert: "prependTo",
			nextBtnInsertFn: false,
			prevBtnInsertFn: false,
			autoSlide: false,
			autoSlideInterval: 3000,
			delayAutoSlide: false,
			combinedClasses: false,
			effect: "slide",
			slideEasing: "swing",
			animSpeed: "fast",
			equalWidths: "true",
			callback: function(){},
			useAddress: false,
			adressIdentifier: "carousel"
		}, params);
		
		// Buttons position
		if (params.btnsPosition == "outside"){
			params.prevBtnInsert = "insertBefore";
			params.nextBtnInsert = "insertAfter";
		}
		
		// Slide delay
		params.delayAutoSlide = params.delayAutoSlide || params.autoSlideInterval;
		
		return this.each(function(){
			
			// Env object
			var env = {
				$elts: {},
				params: params,
				launchOnLoad: []
			};
			
			// Carousel main container
			env.$elts.carousel = $(this).addClass("js");
			
			// Carousel content
			env.$elts.content = $(this).children().css({position: "absolute", "top": 0});
			
			// Content wrapper
			env.$elts.wrap = env.$elts.content.wrap('<div class="carousel-wrap"></div>').parent().css({overflow: "hidden", position: "relative"});
			
			// env.steps object
			env.steps = {
				first: 0, // First step
				count: env.$elts.content.children().length // Items count
			};
			
			// Last visible step
			env.steps.last = env.steps.count - 1;
			
			// Prev Button
			if ($.isFunction(env.params.prevBtnInsertFn)) {
				env.$elts.prevBtn = env.params.prevBtnInsertFn(env.$elts);
				
			} else { 
				env.$elts.prevBtn = $(params.prevBtn)[params.prevBtnInsert](env.$elts.carousel);
			}
			
			// Next Button
			if ($.isFunction(env.params.nextBtnInsertFn)) {
				env.$elts.nextBtn = env.params.nextBtnInsertFn(env.$elts);
				
			} else {
				env.$elts.nextBtn = $(params.nextBtn)[params.nextBtnInsert](env.$elts.carousel);
			}
			
			// Add buttons classes / data
			env.$elts.nextBtn.addClass("carousel-control next carousel-next");
			env.$elts.prevBtn.addClass("carousel-control previous carousel-previous");
			
			// Bind events on next / prev buttons
			initButtonsEvents(env);
			
			// Pagination
			if (env.params.pagination) {
				initPagination(env);
			}
			
			// Address plugin
			initAddress(env);
			
			// On document load...
			$(function(){
				
				// First item
				var $firstItem = env.$elts.content.children(":first");
				
				// Width 1/3 : Get default item width
				env.itemWidth = $firstItem.outerWidth();
				
				// Width 2/3 : Define content width
				if (params.direction == "vertical"){
					env.contentWidth = env.itemWidth;
					
				} else {
					
					if (params.equalWidths) {
						env.contentWidth = env.itemWidth * env.steps.count;
						
					} else {
						env.contentWidth = (function(){
								var totalWidth = 0;
								
								env.$elts.content.children().each(function(){
									totalWidth += $(this).outerWidth();
								});
								
								return totalWidth;
							})();
					}
				}
				
				// Width 3/3 : Set content width to container
				env.$elts.content.width( env.contentWidth );
				
				// Height 1/2 : Get default item height
				env.itemHeight = $firstItem.outerHeight();
				
				// Height 2/2 : Set content height to container
				if (params.direction == "vertical"){
					env.$elts.content.css({height:env.itemHeight * env.steps.count + "px"});
					env.$elts.content.parent().css({height:env.itemHeight * env.params.dispItems + "px"});
					
				} else {
					env.$elts.content.parent().css({height:env.itemHeight + "px"});
				}
				
				// Update Next / Prev buttons state
				updateButtonsState(env);
				
				// Launch function added to "document ready" event
				$.each(env.launchOnLoad, function(i,fn){
					fn();
				});
				
				// Launch autoslide
				if (env.params.autoSlide){
					window.setTimeout(function(){
						env.autoSlideInterval = window.setInterval(function(){
							goToStep( env, getRelativeStep(env, "next") );
						}, env.params.autoSlideInterval);
					}, env.params.delayAutoSlide);
				}
				
			});
			
		});
		
	};
	
	// Next / Prev buttons events only
	function initButtonsEvents(env){
		
		env.$elts.nextBtn.add(env.$elts.prevBtn)
			
			.bind("enable", function(){
				
				var $this = $(this)
					.unbind("click")
					.bind("click", function(){
						goToStep( env, getRelativeStep(env, ($this.is(".next")? "next" : "prev" )) );
						stopAutoSlide(env);
					})
					.removeClass("disabled");
				
				// Combined classes (IE6 compatibility)
				if (env.params.combinedClasses) {
					$this.removeClass("next-disabled previous-disabled");
				}
			})
			.bind("disable", function(){
				
				var $this = $(this).unbind("click").addClass("disabled");
				
				// Combined classes (IE6 compatibility)
				if (env.params.combinedClasses) {
					
					if ($this.is(".next")) {
						$this.addClass("next-disabled");
						
					} else if ($this.is(".previous")) {
						$this.addClass("previous-disabled");
						
					}
				}
			})
			.hover(function(){
				$(this).toggleClass("hover");
			});
	};
	
	// Pagination
	function initPagination(env){
		env.$elts.pagination = $('<div class="center-wrap"><div class="carousel-pagination"><p></p></div></div>')[((env.params.paginationPosition == "outside")? "insertAfter" : "appendTo")](env.$elts.carousel).find("p");
		
		env.$elts.paginationBtns = $([]);
		
		env.$elts.content.find("li").each(function(i){
			if (i % env.params.dispItems == 0) {
				env.$elts.paginationBtns = env.$elts.paginationBtns.add( $('<a role="button"><span>'+( env.$elts.paginationBtns.length + 1 )+'</span></a>').data("firstStep", i) );
			}
		});
		
		env.$elts.paginationBtns.appendTo(env.$elts.pagination);
		
		env.$elts.paginationBtns.slice(0,1).addClass("active");
		
		// Events
		env.launchOnLoad.push(function(){
			env.$elts.paginationBtns.click(function(e){
				goToStep( env, $(this).data("firstStep") );
				stopAutoSlide(env);
			});
		});
	};
	
	// Address plugin
	function initAddress(env) {
		
		if (env.params.useAddress && $.isFunction($.fn.address)) {
			
			$.address
				.init(function(e) {
					var pathNames = $.address.pathNames();
					if (pathNames[0] === env.params.adressIdentifier && !!pathNames[1]) {
						goToStep(env, pathNames[1]-1);
					} else {
						$.address.value('/'+ env.params.adressIdentifier +'/1');
					}
				})
				.change(function(e) {
					var pathNames = $.address.pathNames();
					if (pathNames[0] === env.params.adressIdentifier && !!pathNames[1]) {
						goToStep(env, pathNames[1]-1);
					}
				});
		} else {
			env.params.useAddress = false;
		}
	};
	
	function goToStep(env, step) {
	    // This should be done only when the action is performed in the big carousel
	    // Currently it is also done with a click on the best deals carousel :(
	    if(true)
	    {
    	    // Get the list of the full pictures and the corresponding img tag
            var imagesTag = $("#carousel").find("img");
		    // Change the image if it isn't the first (because it is already loaded, otherwise it reloads it a second time)
		    if(step != 0) $(imagesTag[step]).attr("src", $(imagesTag[step]).attr("longdesc"));
		}
		
		// TODO : distinguer le clic des deux carousels
		// Best deals part
		if(env.contentWidth == 792 && false)
		{
            var imagesTag = $("#bestdeals").find("img");
		    // Change the image if it wasn't already changed
		    if($(imagesTag[step]).attr("src") == "") $(imagesTag[step]).attr("src", $(imagesTag[step]).attr("longdesc"));
		}
		
		// Callback
		env.params.callback(step);
		
		// Launch animation
		transition(env, step);
		
		// Update first step
		env.steps.first = step;
		
		// Update buttons status
		updateButtonsState(env);
		
		// Update address (jQuery Address plugin)
		if ( env.params.useAddress ) {
			$.address.value('/'+ env.params.adressIdentifier +'/' + (step + 1));
		}
		
	};
	
	// Get next/prev step, useful for autoSlide
	function getRelativeStep(env, position) {
		if (position == "prev") {
			if ( (env.steps.first - env.params.dispItems) >= 0 ) {
				return env.steps.first - env.params.dispItems;
				
			} else {
				return ( (env.params.loop)? (env.steps.count - env.params.dispItems) : false );
			}
			
		} else if (position == "next") {
			
			if ( (env.steps.first + env.params.dispItems) < env.steps.count ) {
				return env.steps.first + env.params.dispItems;
				
			} else {
				return ( (env.params.loop)? 0 : false );
			}
		}
	};
	
	// Animation
	function transition(env, step) {
		
		// Effect
		switch (env.params.effect){
			
			// No effect
			case "no":
				if (env.params.direction == "vertical"){
					env.$elts.content.css("top", -(env.itemHeight * step) + "px");
				} else {
					env.$elts.content.css("left", -(env.itemWidth * step) + "px");
				}
				break;
			
			// Fade effect
			case "fade":
				if (env.params.direction == "vertical"){
					env.$elts.content.hide().css("top", -(env.itemHeight * step) + "px").fadeIn(env.params.animSpeed);
				} else {
					env.$elts.content.hide().css("left", -(env.itemWidth * step) + "px").fadeIn(env.params.animSpeed);
				}
				break;
			
			// Slide effect
			default:
				if (env.params.direction == "vertical"){
					env.$elts.content.stop().animate({
						top : -(env.itemHeight * step) + "px"
					}, env.params.animSpeed, env.params.slideEasing);
				} else {
					env.$elts.content.stop().animate({
						left : -(env.itemWidth * step) + "px"
					}, env.params.animSpeed, env.params.slideEasing);
				}
				break;
		}
		
	};
	
	// Update all buttons state : disabled or not
	function updateButtonsState(env){
		
		if (getRelativeStep(env, "prev") !== false) {
			env.$elts.prevBtn.trigger("enable");
			
		} else {
			env.$elts.prevBtn.trigger("disable");
		}
		
		if (getRelativeStep(env, "next") !== false) {
			env.$elts.nextBtn.trigger("enable");
			
		} else {
			env.$elts.nextBtn.trigger("disable");
		}
		
		if (env.params.pagination){
			env.$elts.paginationBtns.removeClass("active")
			.filter(function(){ return ($(this).data("firstStep") == env.steps.first) }).addClass("active");
		}
	};
	
	// Stop autoslide
	function stopAutoSlide(env) {
		if (!!env.autoSlideInterval){
			window.clearInterval(env.autoSlideInterval);
		}
	};

})(jQuery);
/*]]>*/
/*<![CDATA[ */
/* jQuery Produits */

$(document).ready(function() {
    s = new slider("#products", "#contener");
});

var slider = function(id, id2) {
    var self = this;
    this.NBul = 0;
    this.Largeur = 0;

    this.div = $(id);
    this.contener = this.div.find(id2);
    this.LargeurProduits = this.div.width();
    this.table = this.div.find(".table");
    this.td = this.div.find(".td");

    this.div.find('ul').each(function() {
        if ($(this).hasClass("group")) {
            self.Largeur += $(this).width();
            self.Largeur += parseInt($(this).css("padding-left"));
            self.Largeur += parseInt($(this).css("padding-right"));
            self.Largeur += parseInt($(this).css("margin-left"));
            self.Largeur += parseInt($(this).css("margin-right"));
            self.NBul++;
        }
    });

    /* Fix du width de la table pour IE*/
    $(this.table).css({ width: (this.Largeur) + "px" });

    //alert(this.table.width());

    /* Fin Fix */

    //this.NBul = 7;
    this.saut = this.Largeur / this.NBul;
    this.nav = this.div.find(".navigation");
    this.courant = 0;
    this.deb = this.nav.find(".first");
    this.prec = this.nav.find(".back");
    this.suiv = this.nav.find(".next");
    this.fin = this.nav.find(".last");
    this.numPage = this.nav.find(".step");


    $(this.numPage).empty();
    $(this.numPage).text((this.courant + 1) + "/" + this.NBul);
    $(this.deb).addClass("firstOff");
    $(this.prec).addClass("backOff");

    this.prec.click(function() {
        if (self.courant > 0) {
            self.courant--;
            $(self.suiv).removeClass("nextOff");
            $(self.fin).removeClass("lastOff");
            $(self.numPage).empty();
            setTimeout(function() { $(self.numPage).text((self.courant + 1) + "/" + self.NBul); }, 20);
            self.contener.animate({
                left: -self.courant * self.saut
            }, 1000);

            if (self.courant == 0) {
                $(this).addClass("backOff");
                $(self.deb).addClass("firstOff");
            }
        }
    })

    this.suiv.click(function() {
        if (self.courant < self.NBul - 1) {
            self.courant++;
            //$(this).css({color: "#000000"});
            //$(self.fin).css({color: "#000000"});
            $(self.deb).removeClass("firstOff");
            $(self.deb).addClass("first");
            $(self.prec).removeClass("backOff");
            $(self.prec).addClass("back");
            $(self.numPage).empty();
            setTimeout(function() { $(self.numPage).text((self.courant + 1) + "/" + self.NBul); }, 20);
            self.contener.animate({
                left: -self.courant * self.saut
            }, 1000);

            if (self.courant == self.NBul - 1) {
                $(self.suiv).addClass("nextOff");
                $(self.fin).addClass("lastOff");
            }
        }
    })

    this.fin.click(function() {
        if (self.courant < self.NBul - 1) {
            self.courant = self.NBul - 1;
            $(self.deb).removeClass("firstOff");
            $(self.prec).removeClass("backOff");
            $(this).addClass("lastOff");
            $(self.suiv).addClass("nextOff");
            $(self.numPage).empty();
            setTimeout(function() { $(self.numPage).text((self.courant + 1) + "/" + self.NBul); }, 20);
            self.contener.animate({
                left: -self.courant * self.saut
            }, 1000);
        }
    })

    this.deb.click(function() {
        if (self.courant >= 1) {
            self.courant = 0;
            $(self.suiv).removeClass("nextOff");
            $(self.fin).removeClass("lastOff");
            $(this).addClass("firstOff");
            $(self.prec).addClass("backOff");
            $(self.numPage).empty();
            setTimeout(function() { $(self.numPage).text((self.courant + 1) + "/" + self.NBul); }, 20);
            self.contener.animate({
                left: -self.courant * self.saut
            }, 1000);
        }
    })

}
/*]]>*/
/*<![CDATA[ */
// Function used to retrieve the value of a cookie, and return null if the cookie doesn't exist
function get_cookie(name)
{
    if ( document.cookie) // Is the cookie valid ?
    {
        index = document.cookie.indexOf( name);
        if ( index != -1)
        {
            nDeb = (document.cookie.indexOf( "=", index) + 1);
            nFin = document.cookie.indexOf( ";", index);
            if (nFin == -1) {nFin = document.cookie.length;}
            return unescape(document.cookie.substring(nDeb, nFin));
        } 
    }
    return null;
}

// Function used to retrieve the value of a cookie, and return a default value if the cookie doesn't exist
function get_cookie_or_default(name, defaultValue)
{
    if ( document.cookie) // Is the cookie valid ?
    {
        index = document.cookie.indexOf( name);
        if ( index != -1)
        {
            nDeb = (document.cookie.indexOf( "=", index) + 1);
            nFin = document.cookie.indexOf( ";", index);
            if (nFin == -1) {nFin = document.cookie.length;}
            return unescape(document.cookie.substring(nDeb, nFin));
        }
        index = document.cookie.indexOf( name.toUpperCase());
        if ( index != -1)
        {
            nDeb = (document.cookie.indexOf( "=", index) + 1);
            nFin = document.cookie.indexOf( ";", index);
            if (nFin == -1) {nFin = document.cookie.length;}
            return unescape(document.cookie.substring(nDeb, nFin));
        }
    }
    return defaultValue;
}

// Returns the date parameter using the following format : YYYY-MM-DD HH:MM:SS
// If there is no parameter, returns the current time
function get_date(date)
{
	if(date == null) date = new Date();
	var dateYear = date.getFullYear();
	var dateMonth = date.getMonth().valueOf() + 1;
	if (dateMonth.valueOf() < 10) dateMonth = "0" + dateMonth;
	var dateDay = date.getDate();
	if (dateDay.valueOf() < 10) dateDay = "0" + dateDay;
	var dateHour = new Date().getHours();
	if (dateHour.valueOf() < 10) dateHour = "0" + dateHour;
	var dateMinute = new Date().getMinutes();
	if (dateMinute.valueOf() < 10) dateMinute = "0" + dateMinute;
	var dateSecond = new Date().getSeconds();
	if (dateSecond.valueOf() < 10) dateSecond = "0" + dateSecond;
	return dateYear + '-' + dateMonth + '-' + dateDay + ' ' + dateHour + ':' + dateMinute + ':' + dateSecond;
}
/*]]>*/
/*<![CDATA[ */
// Used to validate the CDV form with Enter key
function addClickFunction(id)
{
    var b = document.getElementById(id);
    if (b && typeof(b.click) == 'undefined') b.click = function()
    {
        var result = true; if (b.onclick) result = b.onclick();
        if (typeof(result) == 'undefined' || result) 
        {
            eval(b.getAttribute('href'));
        }
    }
}

// Function used to clear the login TextBox
function clear_login(loginTextBox)
{
    if (loginTextBox.value == 'email')
        loginTextBox.value = '';
}

// Function used to clear the password TextBox
function clear_password(passwordTextBox)
{
    passwordTextBox.value = '';
}
/*]]>*/
/*<![CDATA[ */
var url = document.location.href;
var comparatorURL;
if (url.indexOf	("/TravelHorizon.WebFrontOffice/", 0) != -1)
	comparatorURL = "/TravelHorizon.WebFrontOffice/Comparator.aspx";
else
	comparatorURL = "/Comparator.aspx";

function RedirectionComparateur(strUrl)
{
	if(strUrl!='#')
		window.location.href=strUrl;
	else
	{
        var lang = get_cookie_or_default('LANG', 'gb').toUpperCase();
	    switch(lang)
		{
		    case 'DE' :
			alert('Sie müssen mindestens ein Produkt auswählen');
		    break;
		    case 'FR' :
			alert('Vous devez choisir au moins un produit');
		    break;
		    case 'GB' :
			alert('You must choose at least one accommodation');
		    break;
		    case 'IT' :
			alert('Dovete sceliere almeno un\'allogiamento');
		    break;
		    case 'DU' :
			alert('U dient minstens één accommodatie te selecteren');
		    break;
		    case 'SE' :
			alert('Du måste välja minst en boendeform');
		    break;
		    default :
			alert('You must choose at least one accommodation');
		    break;
		}
	}
}

function comparateur(sId, lang)
{
	if (document.getElementById("hid_nb_offres") != null)
	{
		// Si on click et qu'on a déjà 3 offres, on n'autorise pas l'ajout
		if (document.getElementById('cb_comparateur_' + sId).checked == true)
		{
			if (parseInt(document.getElementById("hid_nb_offres").value) < 3 )
				sendToWS(sId, lang);
			else
			{
				document.getElementById('cb_comparateur_' + sId).checked = false;
				switch(lang)
				{
				    case 'de-DE' :
    				alert('Es ist nicht möglich, mehr als 3 Unterkünfte miteinander zu vergleichen !');
				    break;
				    case 'fr-FR' :
    				alert('Vous ne pouvez pas comparer plus de 3 produits !');
				    break;
				    case 'en-GB' :
    				alert('You can only compare up to 3 offers !');
				    break;
				    case 'it-IT' :
    				alert('Non potete paragonare piu di 3 prodotti !');
				    break;
				    case 'nl-NL' :
    				alert('U kan maximum 3 producten vergelijken !');
				    break;
				    case 'sv-SE' :
    				alert('Du kan inte jämföra mer än 3 boenden !');
				    break;
				    default :
    				alert('You can only compare up to 3 offers !');
				    break;
				}
			}
		}
		else
			sendToWS(sId, lang);
	}
	else
		sendToWS(sId, lang);
}

// Same function as above, but this one is called when you click on the text instead of the checkbox
function comparateur2(sId, lang)
{
	document.getElementById('cb_comparateur_' + sId).checked = !document.getElementById('cb_comparateur_' + sId).checked;
	if (document.getElementById("hid_nb_offres") != null)
	{
		// Si on click et qu'on a déjà 3 offres, on n'autorise pas l'ajout
		if (document.getElementById('cb_comparateur_' + sId).checked == true)
		{
			if (parseInt(document.getElementById("hid_nb_offres").value) < 3 )
				sendToWS(sId, lang);
			else
			{
				document.getElementById('cb_comparateur_' + sId).checked = false;
				switch(lang)
				{
				    case 'de-DE' :
    				alert('Es ist nicht möglich, mehr als 3 Unterkünfte miteinander zu vergleichen !');
				    break;
				    case 'fr-FR' :
    				alert('Vous ne pouvez pas comparer plus de 3 produits !');
				    break;
				    case 'en-GB' :
    				alert('You can only compare up to 3 offers !');
				    break;
				    case 'it-IT' :
    				alert('Non potete paragonare piu di 3 prodotti !');
				    break;
				    case 'nl-NL' :
    				alert('U kan maximum 3 producten vergelijken !');
				    break;
				    case 'sv-SE' :
    				alert('Du kan inte jämföra mer än 3 boenden !');
				    break;
				    default :
    				alert('You can only compare up to 3 offers !');
				    break;
				}
			}
		}
		else
			sendToWS(sId, lang);
	}
	else
		sendToWS(sId, lang);
}

function sendToWS(sId_offre, lang)
{
	var params = document.getElementById('params_' + sId_offre).value + "&culture=" + lang;
	//var params = document.getElementById(sId_offre).value;

	var jquery = new jQuery.ajax({
		type: "GET",
		url: comparatorURL,
		cache: false,
		success : function(response) {
				onSendSuccess(response);
				return;
			},
		data: params,
		dataType: "html"
		});
}

function refreshComparator(culture)
{
    var lang = get_cookie_or_default('lang', 'fr');
    var version = get_cookie_or_default('version', '1');
    var partenaire = get_cookie_or_default('partenaire', '0');
    var partenaireAffichage = get_cookie_or_default('partenaireaffichage', '0');
    var comparatorCookie = 'comparator-' + lang + '-' + version + '-' + partenaire + '-' + partenaireAffichage;
    // The ajax query is done only if there is a comparator cookie
    if( get_cookie(comparatorCookie) != null )
    {
	    var jquery = new jQuery.ajax({
		    type: "GET",
		    url: comparatorURL,
		    cache: false,
		    success : function(response) {
				    onSendSuccess(response);
				    return;
			    },
			data: "culture=" + culture,
		    dataType: "html"
		    });
    }
}

function onSendSuccess(originalRequest)
{
//	alert('Ajax: Form has been transmit\n') ;
	
    var lang = get_cookie_or_default('LANG', 'fr');
	var btn_comparateur_h = document.getElementById('btn_comparateur_h');
	var btn_comparateur_b = document.getElementById('btn_comparateur_b');
	var a_comparer; 
	//var div_panier = $('div_panier')
	var div_panier = document.getElementById('div_panier');
	var href="#";
	
	if( div_panier )
	{
		var newDiv = document.createElement("div");
		newDiv.innerHTML = originalRequest;
		// Remove previous elements
		while( div_panier.hasChildNodes() )
			div_panier.removeChild(div_panier.lastChild);
		div_panier.appendChild(newDiv);
	}
	
	//permet de récupérer le lien du comparateur
	var regEx = new RegExp( "<a href=\"(.*)\" id=\"a_comparer\">", "g" ) ;
	var resultat = regEx.exec(originalRequest) ;
	if (resultat)
	{
		if(resultat.length>=2)
			href = resultat[1];
	}	
	
	href = "javascript:void(RedirectionComparateur('" + href + "'))";
	
	if(btn_comparateur_h != null)
		btn_comparateur_h.href = href;
	if(btn_comparateur_b != null)
		btn_comparateur_b.href = href;
}
/*]]>*/
/*<![CDATA[ */
var url = document.location.href;
var domain = url.substring(7, url.indexOf("/",7));
var subdomain = domain.substring(domain.indexOf(".", 0));
var sld = domain.substring(domain.indexOf(".", 0) + 1, domain.indexOf(".", domain.indexOf(".", 0) + 1)).toUpperCase();
var travelPathString = "/travel";
if (sld == "TRAVELHORIZON") {
    travelPathString = "";
}

function ajouter_favoris(intHEB_ID, intLIEU_ID, datDATE_DEBUT, intDUREE, intFORMULE_ID, intACTITYPE)
{
	var favourite_cookie = get_cookie_or_default('favoris', '0');
	var favouriteId = intHEB_ID + "_" +	intLIEU_ID + "_" +	datDATE_DEBUT + "_" + intDUREE + "_" + intFORMULE_ID;
	if( favourite_cookie.match(favouriteId) == null)
	{
		// It's a new favourite
		var expDate = new Date();
		expDate.setTime(expDate.getTime() + (30 * 24 * 3600 * 1000));
		document.cookie = "mesfavoris=" + favourite_cookie + "," + favouriteId + "_" + intACTITYPE + "_1_" + get_date() + ";expires=" + expDate.toGMTString() + ";path=/;domain=" + subdomain;
	}
	else
	{
		// The favourite already exists, the cookie is rewritten with the updated action and time
		var arr_favourites = favourite_cookie.split(',');
		var new_favourite_cookie = '0';
		for(var i = 1; i<arr_favourites.length; i++)
		{
			var arr_favourite = arr_favourites[i].split('_');
			if (arr_favourite[0] == intHEB_ID && arr_favourite[1] == intLIEU_ID && arr_favourite[2] == datDATE_DEBUT &&
				arr_favourite[3] == intDUREE && arr_favourite[4] == intFORMULE_ID)
				new_favourite_cookie = new_favourite_cookie + "," + favouriteId + "_" + intACTITYPE + "_1_" + get_date();
			else
				new_favourite_cookie = new_favourite_cookie + "," + arr_favourites[i];
		}
		var expDate = new Date();
		expDate.setTime(expDate.getTime() + (30 * 24 * 3600 * 1000));
		document.cookie = "mesfavoris=" + new_favourite_cookie + ";expires=" + expDate.toGMTString() + ";path=/;domain=" + subdomain;
	}
	
	var lang = get_cookie_or_default('lang', '').toLowerCase();
	if (lang == '') lang = get_cookie_or_default('LANG', 'gb').toLowerCase();
	switch (lang)
	{
		case 'de' :
		document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/de/recherche2/AffichageOffre.asp?favoris=1">Meine Favoriten (' + get_nb_favourites() + ')</a>';
		document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Aus meinen Favoriten löschen</a>';
		break;
		case 'du' :
		document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/du/recherche2/AffichageOffre.asp?favoris=1">Mijn favorieten (' + get_nb_favourites() + ')</a>';
		document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Verwijder mijn favorieten</a>';
		break;
		case 'fr' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/fr/recherche2/AffichageOffre.asp?favoris=1">Mes favoris (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Retirer de mes favoris</a>';
		break;
		case 'gb' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/gb/recherche2/AffichageOffre.asp?favoris=1">My favourites (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Remove from favourites</a>';
		break;
		case 'it' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/autre/recherche2/AffichageOffre.asp?favoris=1">Favoriti (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Rimuovi dai favoriti</a>';
		break;
		case 'se' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/se/recherche2/AffichageOffre.asp?favoris=1">Mina Favoriter (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Ta bort från mina favoriter</a>';
		break;
		default :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/gb/recherche2/AffichageOffre.asp?favoris=1">My favourites (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Remove from favourites</a>';
		break;
	}
	document.getElementById("entete_favoris").style.display = '';
	document.getElementById("picto_" + favouriteId).className = 'FavoritesRemove';
	// TODO : Gérer pageTracker
// response[7] = pays		// response[8] = nom station // response[9] = nom hebergement
//	pageTracker._trackPageview("/favoris/" + lang + "/" + response[7] + "/" + response[8] + "/" + response[9] + "/in");
//	pageTracker._trackEvent("favoris", "in", "/" + lang + "/" + response[7] + "/" + response[8] + "/" + response[9], response[1])
}

function supprimer_favoris(intHEB_ID, intLIEU_ID, datDATE_DEBUT, intDUREE, intFORMULE_ID, intACTITYPE)
{
	var favourite_cookie = get_cookie_or_default('favoris', '0');
	var favouriteId = intHEB_ID + "_" +	intLIEU_ID + "_" +	datDATE_DEBUT + "_" + intDUREE + "_" + intFORMULE_ID;
	var arr_favourites = favourite_cookie.split(',');
	var new_favourite_cookie = '0';
	for(var i = 1; i<arr_favourites.length; i++)
	{
		var arr_favourite = arr_favourites[i].split('_');
		if (arr_favourite[0] == intHEB_ID && arr_favourite[1] == intLIEU_ID && arr_favourite[2] == datDATE_DEBUT &&
			arr_favourite[3] == intDUREE && arr_favourite[4] == intFORMULE_ID)
			new_favourite_cookie = new_favourite_cookie + "," + favouriteId + "_" + intACTITYPE + "_0_" + get_date();
		else
			new_favourite_cookie = new_favourite_cookie + "," + arr_favourites[i];
	}
	var expDate = new Date();
	expDate.setTime(expDate.getTime() + (30 * 24 * 3600 * 1000));
	document.cookie = "mesfavoris=" + new_favourite_cookie + ";expires=" + expDate.toGMTString() + ";path=/;domain=" + subdomain;
	
	var lang = get_cookie_or_default('lang', '').toLowerCase();
	if (lang == '') lang = get_cookie_or_default('LANG', 'gb').toLowerCase();
	switch (lang)
	{
		case 'de' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/de/recherche2/AffichageOffre.asp?favoris=1">Meine Favoriten (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:ajouter_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" class="red">Zu meinen Favoriten hinzufügen</a>';
		break;
		case 'du' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/du/recherche2/AffichageOffre.asp?favoris=1">Mijn favorieten (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:ajouter_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Toevoegen aan mijn favorieten</a>';
		break;
		case 'fr' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/fr/recherche2/AffichageOffre.asp?favoris=1">Mes favoris (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:ajouter_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Ajouter à mes favoris</a>';
		break;
		case 'gb' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/gb/recherche2/AffichageOffre.asp?favoris=1">My favourites (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:ajouter_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Add to my favourites</a>';
		break;
		case 'it' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/autre/recherche2/AffichageOffre.asp?favoris=1">Favoriti (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:ajouter_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Aggiungi ai favoriti</a>';
		break;
		case 'se' :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/se/recherche2/AffichageOffre.asp?favoris=1">Mina Favoriter (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:ajouter_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Lägg till mina favoriter</a>';
		break;
		default :
		    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/gb/recherche2/AffichageOffre.asp?favoris=1">My favourites (' + get_nb_favourites() + ')</a>';
		    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:ajouter_favoris(' + intHEB_ID + "," + intLIEU_ID + ",'" + datDATE_DEBUT + "'," + intDUREE + "," + intFORMULE_ID + "," + intACTITYPE + ')" rel="nofollow">Add to my favourites</a>';
		break;
	}
	document.getElementById("entete_favoris").style.display = '';
	document.getElementById("picto_" + favouriteId).className = 'FavoritesAdd';
	// TODO : Gérer pageTracker
// response[7] = pays		// response[8] = nom station // response[9] = nom hebergement
//	pageTracker._trackPageview("/favoris/" + lang + "/" + response[7] + "/" + response[8] + "/" + response[9] + "/out");
//	pageTracker._trackEvent("favoris", "out", "/" + lang + "/" + response[7] + "/" + response[8] + "/" + response[9], response[1]);
	if(get_nb_favourites() == 0)
		document.getElementById("entete_favoris").style.display = 'none';
}

function changeLinks()
{
	var favouriteCookie = get_cookie('mesfavoris');
	// Do the following only if there is the mesfavoris cookie
	if (favouriteCookie != null)
	{
		var favouritesArray = favouriteCookie.split(',');
		// For each favourite in the cookie
		for( var i = 1; i<favouritesArray.length; i++)
		{
			var favourite = favouritesArray[i].split('_');
			var favouriteId = favourite[0] + "_" + favourite[1] + "_" + favourite[2] + "_" + favourite[3] + "_" + favourite[4];
			// If the favourite product has been added to the favourites (could be removed, where we do nothing)
			if( favourite[6] == "1")
			{
				// If the product is displayed on the page
				if( document.getElementById('addfav_' + favouriteId) )
				{
					// Replace the add to favourites by removes from favourites
					var lang = get_cookie_or_default('lang', '').toLowerCase();
					if (lang == '') lang = get_cookie_or_default('LANG', 'gb').toLowerCase();
					switch (lang)
					{
						case 'de' :
						    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + favourite[0] + "," + favourite[1] + ",'" + favourite[2] + "'," + favourite[3] + "," + favourite[4] + "," + favourite[5] + ')" rel="nofollow">Aus meinen Favoriten löschen</a>';
						break;
						case 'du' :
						    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + favourite[0] + "," + favourite[1] + ",'" + favourite[2] + "'," + favourite[3] + "," + favourite[4] + "," + favourite[5] + ')" rel="nofollow">Verwijder mijn favorieten</a>';
						break;
						case 'fr' :
						    document.getElementById("addfav_" + favouriteId).innerHTML = '<a hclass="favourites" ref="javascript:supprimer_favoris(' + favourite[0] + "," + favourite[1] + ",'" + favourite[2] + "'," + favourite[3] + "," + favourite[4] + "," + favourite[5] + ')" rel="nofollow">Retirer de mes favoris</a>';
						break;
						case 'gb' :
						    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + favourite[0] + "," + favourite[1] + ",'" + favourite[2] + "'," + favourite[3] + "," + favourite[4] + "," + favourite[5] + ')" rel="nofollow">Remove from favourites</a>';
						break;
						case 'it' :
						    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + favourite[0] + "," + favourite[1] + ",'" + favourite[2] + "'," + favourite[3] + "," + favourite[4] + "," + favourite[5] + ')" rel="nofollow">Rimuovi dai favoriti</a>';
						break;
						case 'se' :
						    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + favourite[0] + "," + favourite[1] + ",'" + favourite[2] + "'," + favourite[3] + "," + favourite[4] + "," + favourite[5] + ')" rel="nofollow">Ta bort från mina favoriter</a>';
						break;
						default :
						    document.getElementById("addfav_" + favouriteId).innerHTML = '<a class="favourites" href="javascript:supprimer_favoris(' + favourite[0] + "," + favourite[1] + ",'" + favourite[2] + "'," + favourite[3] + "," + favourite[4] + "," + favourite[5] + ')" rel="nofollow">Remove from favourites</a>';
						break;
					}
					document.getElementById("picto_" + favouriteId).className = 'FavoritesRemove';
				}
			}
		}
	}
}

function refresh_favourites_header()
{
	var favouriteCookie = get_cookie('mesfavoris');
	var nb_favourites = get_nb_favourites();
	if ( favouriteCookie != null && nb_favourites > 0 )
	{
		var favouritesArray = favouriteCookie.split(',');
		// For each favourite in the cookie
		var lang = get_cookie_or_default('lang', '').toLowerCase();
		if (lang == '') lang = get_cookie_or_default('LANG', 'gb').toLowerCase();
		switch (lang)
		{
			case 'de' :
			    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/de/recherche2/AffichageOffre.asp?favoris=1">Meine Favoriten (' + nb_favourites + ')</a>';
			break;
			case 'du' :
			    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/du/recherche2/AffichageOffre.asp?favoris=1">Mijn favorieten (' + nb_favourites + ')</a>';
			break;
			case 'fr' :
			    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/fr/recherche2/AffichageOffre.asp?favoris=1">Mes favoris (' + nb_favourites + ')</a>';
			break;
			case 'gb' :
			    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/gb/recherche2/AffichageOffre.asp?favoris=1">My favourites (' + nb_favourites + ')</a>';
			break;
			case 'it' :
			    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/autre/recherche2/AffichageOffre.asp?favoris=1">Favoriti (' + nb_favourites + ')</a>';
			break;
			case 'se' :
			    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/se/recherche2/AffichageOffre.asp?favoris=1">Mina Favoriter (' + nb_favourites + ')</a>';
			break;
			default :
			    document.getElementById("entete_favoris").innerHTML = '<a href="' + travelPathString + '/gb/recherche2/AffichageOffre.asp?favoris=1">My favourites (' + nb_favourites + ')</a>';
			break;
		}
	}
}

function get_nb_favourites()
{
	var favouriteCookie = get_cookie('mesfavoris');
	var nb_favourites = 0;
	// Do the following only if there is the mesfavoris cookie
	if (favouriteCookie != null)
	{
		var favouritesArray = favouriteCookie.split(',');
		// For each favourite in the cookie
		for( var i = 1; i<favouritesArray.length; i++)
		{
			var favourite = favouritesArray[i].split('_');
			if( favourite[6] == "1")
				nb_favourites++;
		}
	}
	return nb_favourites;
}
/*]]>*/
/*<![CDATA[ */
$(document).ready(function () {
    var toggletitles = $("a[id^='toggletitle']");
    if (toggletitles != null) {

        toggletitles.click(function () {
            collapsedElementClick(this);
        });

        $("div[id^='togglebutton']").click(function () {
            collapsedElementClick(this);
        });

        /*Get the cookie navdeploystatecookie to know the uncollapsed dimensions on the navigation bar */
        var cookieContent = getNavDeployCookie();
        if (cookieContent != null && cookieContent != "") {
            uncollapseElements(cookieContent);
        }
        else // create the cookie
        {
            setNavDeployCookie();
            cookieContent = getNavDeployCookie();
            uncollapseElements(cookieContent);
        }
    }

    function toggleElement(id, bforcetoggleclass) {
        $("div[id='togglecontent_" + id + "']").slideToggle();
        $("div[id='togglebutton_" + id + "']").toggleClass("toggle-button");
        if (bforcetoggleclass != null) {
            $("a[id='toggletitle_" + id + "']").toggleClass("uncollapsed", bforcetoggleclass);
        }
        else {
            $("a[id='toggletitle_" + id + "']").toggleClass("uncollapsed");
        }
    }

    function getNavDeployCookie() {
        return $.cookie('navdeploystatecookie');
    }

    function setNavDeployCookie() {
        var contentCookieValue = "";

        $(".toggle-title.uncollapsed").each(function () {
            var id = GetId(this);
            contentCookieValue += id + '|';
        });

        contentCookieValue = contentCookieValue.substring(0, contentCookieValue.length - 1);
        $.cookie('navdeploystatecookie', contentCookieValue);
    }

    function collapsedElementClick(element) {
        var id = GetId(element);
        toggleElement(id, null);
        setNavDeployCookie();
    }

    function GetId(element) {
        var obj = element.id.split('_');
        var id = obj[1];

        return id;
    }

    function uncollapseElements(ids) {
        $(".toggle-title.uncollapsed").each(function () {
            var id = GetId(this);
            $("a[id='toggletitle_" + id + "']").toggleClass("uncollapsed", false);
        });
        if (ids != null) {
            var dimensionsIdList = ids.split('|');
            for (var i = 0; i < dimensionsIdList.length; i++) {
                var id = dimensionsIdList[i];
                toggleElement(id, true);
            }
        }
    }
});
/*]]>*/ 

/*<![CDATA[ */
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/

/**
* Create a cookie with the given name and value and other optional parameters.
*
* @example $.cookie('the_cookie', 'the_value');
* @desc Set the value of a cookie.
* @example $.cookie('the_cookie', 'the_value', { expires: 7, path: '/', domain: 'jquery.com', secure: true });
* @desc Create a cookie with all available options.
* @example $.cookie('the_cookie', 'the_value');
* @desc Create a session cookie.
* @example $.cookie('the_cookie', null);
* @desc Delete a cookie by passing null as value. Keep in mind that you have to use the same path and domain
*       used when the cookie was set.
*
* @param String name The name of the cookie.
* @param String value The value of the cookie.
* @param Object options An object literal containing key/value pairs to provide optional cookie attributes.
* @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object.
*                             If a negative value is specified (e.g. a date in the past), the cookie will be deleted.
*                             If set to null or omitted, the cookie will be a session cookie and will not be retained
*                             when the the browser exits.
* @option String path The value of the path atribute of the cookie (default: path of page that created the cookie).
* @option String domain The value of the domain attribute of the cookie (default: domain of page that created the cookie).
* @option Boolean secure If true, the secure attribute of the cookie will be set and the cookie transmission will
*                        require a secure protocol (like HTTPS).
* @type undefined
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/

/**
* Get the value of a cookie with the given name.
*
* @example $.cookie('the_cookie');
* @desc Get the value of a cookie.
*
* @param String name The name of the cookie.
* @return The value of the cookie.
* @type String
*
* @name $.cookie
* @cat Plugins/Cookie
* @author Klaus Hartl/klaus.hartl@stilbuero.de
*/
jQuery.cookie = function(name, value, options) {
    if (typeof value != 'undefined') { // name and value given, set cookie
        options = options || {};
        if (value === null) {
            value = '';
            options.expires = -1;
        }
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
            var date;
            if (typeof options.expires == 'number') {
                date = new Date();
                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
            } else {
                date = options.expires;
            }
            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
        }
        // CAUTION: Needed to parenthesize options.path and options.domain
        // in the following expressions, otherwise they evaluate to undefined
        // in the packed version for some reason...
        var path = options.path ? '; path=' + (options.path) : '';
        var domain = options.domain ? '; domain=' + (options.domain) : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
    } else { // only name given, get cookie
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
};
/*]]>*/
/*<![CDATA[ */
/*	
Watermark plugin for jQuery
Version: 3.0.3
http://jquery-watermark.googlecode.com/

Copyright (c) 2009 Todd Northrop
http://www.speednet.biz/
	
November 30, 2009

Requires:  jQuery 1.2.3+
	
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version, subject to the following conditions:
	
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
	
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
------------------------------------------------------*/

(function ($) {

var
	// Will speed up references to undefined
	undefined,

	// String constants for data names
	dataFlag = "watermark",
	dataClass = "watermarkClass",
	dataFocus = "watermarkFocus",
	dataFormSubmit = "watermarkSubmit",
	dataMaxLen = "watermarkMaxLength",
	dataPassword = "watermarkPassword",
	dataText = "watermarkText",
	
	// Includes only elements with watermark defined
	selWatermarkDefined = ":data(" + dataFlag + ")",

	// Includes only elements capable of having watermark
	selWatermarkAble = ":text,:password,:search,textarea",
	
	// triggerFns:
	// Array of function names to look for in the global namespace.
	// Any such functions found will be hijacked to trigger a call to
	// hideAll() any time they are called.  The default value is the
	// ASP.NET function that validates the controls on the page
	// prior to a postback.
	// 
	// Am I missing other important trigger function(s) to look for?
	// Please leave me feedback:
	// http://code.google.com/p/jquery-watermark/issues/list
	triggerFns = [
		"Page_ClientValidate"
	],
	
	// Holds a value of true if a watermark was displayed since the last
	// hideAll() was executed. Avoids repeatedly calling hideAll().
	pageDirty = false;

// Extends jQuery with a custom selector - ":data(...)"
// :data(<name>)  Includes elements that have a specific name defined in the jQuery data collection. (Only the existence of the name is checked; the value is ignored.)
// :data(<name>=<value>)  Includes elements that have a specific jQuery data name defined, with a specific value associated with it.
// :data(<name>!=<value>)  Includes elements that have a specific jQuery data name defined, with a value that is not equal to the value specified.
// :data(<name>^=<value>)  Includes elements that have a specific jQuery data name defined, with a value that starts with the value specified.
// :data(<name>$=<value>)  Includes elements that have a specific jQuery data name defined, with a value that ends with the value specified.
// :data(<name>*=<value>)  Includes elements that have a specific jQuery data name defined, with a value that contains the value specified.
$.extend($.expr[":"], {
	"data": function (element, index, matches, set) {
		var data, parts = /^((?:[^=!^$*]|[!^$*](?!=))+)(?:([!^$*]?=)(.*))?$/.exec(matches[3]);
		if (parts) {
			data = $(element).data(parts[1]);
			
			if (data !== undefined) {

				if (parts[2]) {
					data = "" + data;
				
					switch (parts[2]) {
						case "=":
							return (data == parts[3]);
						case "!=":
							return (data != parts[3]);
						case "^=":
							return (data.slice(0, parts[3].length) == parts[3]);
						case "$=":
							return (data.slice(-parts[3].length) == parts[3]);
						case "*=":
							return (data.indexOf(parts[3]) !== -1);
					}
				}

				return true;
			}
		}
		
		return false;
	}
});

$.watermark = {

	// Current version number of the plugin
	version: "3.0.3",
		
	// Default options used when watermarks are instantiated.
	// Can be changed to affect the default behavior for all
	// new or updated watermarks.
	// BREAKING CHANGE:  The $.watermark.className
	// property that was present prior to version 3.0.2 must
	// be changed to $.watermark.options.className
	options: {
		
		// Default class name for all watermarks
		className: "watermark",
		
		// If true, plugin will detect and use native browser support for
		// watermarks, if available. (e.g., WebKit's placeholder attribute.)
		useNative: true
	},
	
	// Hide one or more watermarks by specifying any selector type
	// i.e., DOM element, string selector, jQuery matched set, etc.
	hide: function (selector) {
		$(selector).filter(selWatermarkDefined).each(
			function () {
				$.watermark._hide($(this));
			}
		);
	},
	
	// Internal use only.
	_hide: function ($input, focus) {
	
		if ($input.val() == $input.data(dataText)) {
			$input.val("");
			
			// Password type?
			if ($input.data(dataPassword)) {
				
				if ($input.attr("type") === "text") {
					var $pwd = $input.data(dataPassword), 
						$wrap = $input.parent();
						
					$wrap[0].removeChild($input[0]); // Can't use jQuery methods, because they destroy data
					$wrap[0].appendChild($pwd[0]);
					$input = $pwd;
				}
			}
			
			if ($input.data(dataMaxLen)) {
				$input.attr("maxLength", $input.data(dataMaxLen));
				$input.removeData(dataMaxLen);
			}
		
			if (focus) {
				$input.attr("autocomplete", "off");  // Avoid NS_ERROR_XPC_JS_THREW_STRING error in Firefox
				window.setTimeout(
					function () {
						$input.select();  // Fix missing cursor in IE
					}
				, 0);
			}
		}
		
		$input.removeClass($input.data(dataClass));
	},
	
	// Display one or more watermarks by specifying any selector type
	// i.e., DOM element, string selector, jQuery matched set, etc.
	// If conditions are not right for displaying a watermark, ensures that watermark is not shown.
	show: function (selector) {
		$(selector).filter(selWatermarkDefined).each(
			function () {
				$.watermark._show($(this));
			}
		);
	},
	
	// Internal use only.
	_show: function ($input) {
		var val = $input.val(),
			text = $input.data(dataText),
			type = $input.attr("type");

		if (((val.length == 0) || (val == text)) && (!$input.data(dataFocus))) {
			pageDirty = true;
		
			// Password type?
			if ($input.data(dataPassword)) {
				
				if (type === "password") {
					var $wm = $input.data(dataPassword),
						$wrap = $input.parent();
						
					$wrap[0].removeChild($input[0]); // Can't use jQuery methods, because they destroy data
					$wrap[0].appendChild($wm[0]);
					$input = $wm;
					$input.attr("maxLength", text.length);
				}
			}
		
			// Ensure maxLength big enough to hold watermark (input of type="text" or type="search" only)
			if ((type === "text") || (type === "search")) {
				var maxLen = $input.attr("maxLength");
				
				if ((maxLen > 0) && (text.length > maxLen)) {
					$input.data(dataMaxLen, maxLen);
					$input.attr("maxLength", text.length);
				}
			}
            
			$input.addClass($input.data(dataClass));
			$input.val(text);
		}
		else {
			$.watermark._hide($input);
		}
	},
	
	// Hides all watermarks on the current page.
	hideAll: function () {
		if (pageDirty) {
			$.watermark.hide(selWatermarkAble);
			pageDirty = false;
		}
	},
	
	// Displays all watermarks on the current page.
	showAll: function () {
		$.watermark.show(selWatermarkAble);
	}
};

$.fn.watermark = function (text, options) {
	///	<summary>
	///		Set watermark text and class name on all input elements of type="text/password/search" and
	/// 	textareas within the matched set. If className is not specified in options, the default is
	/// 	"watermark". Within the matched set, only input elements with type="text/password/search"
	/// 	and textareas are affected; all other elements are ignored.
	///	</summary>
	///	<returns type="jQuery">
	///		Returns the original jQuery matched set (not just the input and texarea elements).
	/// </returns>
	///	<param name="text" type="String">
	///		Text to display as a watermark when the input or textarea element has an empty value and does not
	/// 	have focus. The first time watermark() is called on an element, if this argument is empty (or not
	/// 	a String type), then the watermark will have the net effect of only changing the class name when
	/// 	the input or textarea element's value is empty and it does not have focus.
	///	</param>
	///	<param name="options" type="Object" optional="true">
	///		Provides the ability to override the default watermark options ($.watermark.options). For backward
	/// 	compatibility, if a string value is supplied, it is used as the class name that overrides the class
	/// 	name in $.watermark.options.className. Properties include:
	/// 		className: When the watermark is visible, the element will be styled using this class name.
	/// 		useNative (Boolean or Function): Specifies if native browser support for watermarks will supersede
	/// 			plugin functionality. If useNative is a function, the return value from the function will
	/// 			determine if native support is used. The function is passed one argument -- a jQuery object
	/// 			containing the element being tested as the only element in its matched set -- and the DOM
	/// 			element being tested is the object on which the function is invoked (the value of "this").
	///	</param>
	/// <remarks>
	///		The effect of changing the text and class name on an input element is called a watermark because
	///		typically light gray text is used to provide a hint as to what type of input is required. However,
	///		the appearance of the watermark can be something completely different: simply change the CSS style
	///		pertaining to the supplied class name.
	///		
	///		The first time watermark() is called on an element, the watermark text and class name are initialized,
	///		and the focus and blur events are hooked in order to control the display of the watermark.  Also, as
	/// 	of version 3.0, drag and drop events are hooked to guard against dropped text being appended to the
	/// 	watermark.  If native watermark support is provided by the browser, it is detected and used, unless
	/// 	the useNative option is set to false.
	///		
	///		Subsequently, watermark() can be called again on an element in order to change the watermark text
	///		and/or class name, and it can also be called without any arguments in order to refresh the display.
	///		
	///		For example, after changing the value of the input or textarea element programmatically, watermark()
	/// 	should be called without any arguments to refresh the display, because the change event is only
	/// 	triggered by user actions, not by programmatic changes to an input or textarea element's value.
	/// 	
	/// 	The one exception to programmatic updates is for password input elements:  you are strongly cautioned
	/// 	against changing the value of a password input element programmatically (after the page loads).
	/// 	The reason is that some fairly hairy code is required behind the scenes to make the watermarks bypass
	/// 	IE security and switch back and forth between clear text (for watermarks) and obscured text (for
	/// 	passwords).  It is *possible* to make programmatic changes, but it must be done in a certain way, and
	/// 	overall it is not recommended.
	/// </remarks>
	
	var hasText = (typeof(text) === "string"), hasClass;
	
	if (typeof(options) === "object") {
		hasClass = (typeof(options.className) === "string");
		options = $.extend({}, $.watermark.options, options);
	}
	else if (typeof(options) === "string") {
		hasClass = true;
		options = $.extend({}, $.watermark.options, {className: options});
	}
	else {
		options = $.watermark.options;
	}
	
	if (typeof(options.useNative) !== "function") {
		options.useNative = options.useNative? function () { return true; } : function () { return false; };
	}
	
	return this.each(
		function () {
			var $input = $(this);
			
			if (!$input.is(selWatermarkAble)) {
				return;
			}
			
			// Watermark already initialized?
			if ($input.data(dataFlag)) {
			
				// If re-defining text or class, first remove existing watermark, then make changes
				if (hasText || hasClass) {
					$.watermark._hide($input);
			
					if (hasText) {
						$input.data(dataText, text);
					}
					
					if (hasClass) {
						$input.data(dataClass, options.className);
					}
				}
			}
			else {
			
				// Detect and use native browser support, if enabled in options
				if (options.useNative.call(this, $input)) {
					
					// Placeholder attribute (WebKit)
					// Big thanks to Opera for the wacky test required
					if ((("" + $input.css("-webkit-appearance")).replace("undefined", "") !== "") && ($input.attr("tagName") !== "TEXTAREA")) {
						
						// className is not set because WebKit doesn't appear to have
						// a separate class name property for placeholders (watermarks).
						if (hasText) {
							$input.attr("placeholder", text);
						}
						
						// Only set data flag for non-native watermarks (purposely commented-out)
						// $input.data(dataFlag, 1);
						return;
					}
				}
				
				$input.data(dataText, hasText? text : "");
				$input.data(dataClass, options.className);
				$input.data(dataFlag, 1); // Flag indicates watermark was initialized
				
				// Special processing for password type
				if ($input.attr("type") === "password") {
					var $wrap = $input.wrap("<span>").parent();
					var $wm = $($wrap.html().replace(/type=["']?password["']?/i, 'type="text"'));
					
					$wm.data(dataText, $input.data(dataText));
					$wm.data(dataClass, $input.data(dataClass));
					$wm.data(dataFlag, 1);
					$wm.attr("maxLength", text.length);
					
					$wm.focus(
						function () {
							$.watermark._hide($wm, true);
						}
					).bind("dragenter",
						function () {
							$.watermark._hide($wm);
						}
					).bind("dragend",
						function () {
							window.setTimeout(function () { $wm.blur(); }, 1);
						}
					);
					$input.blur(
						function () {
							$.watermark._show($input);
						}
					).bind("dragleave",
						function () {
							$.watermark._show($input);
						}
					);
					
					$wm.data(dataPassword, $input);
					$input.data(dataPassword, $wm);
				}
				else {
					
					$input.focus(
						function () {
							$input.data(dataFocus, 1);
							$.watermark._hide($input, true);
						}
					).blur(
						function () {
							$input.data(dataFocus, 0);
							$.watermark._show($input);
						}
					).bind("dragenter",
						function () {
							$.watermark._hide($input);
						}
					).bind("dragleave",
						function () {
							$.watermark._show($input);
						}
					).bind("dragend",
						function () {
							window.setTimeout(function () { $.watermark._show($input); }, 1);
						}
					).bind("drop",
						// Firefox makes this lovely function necessary because the dropped text
						// is merged with the watermark before the drop event is called.
						function (evt) {
							var dropText = evt.originalEvent.dataTransfer.getData("Text");
							
							if ($input.val().replace(dropText, "") === $input.data(dataText)) {
								$input.val(dropText);
							}
							
							$input.focus();
						}
					);
				}
				
				// In order to reliably clear all watermarks before form submission,
				// we need to replace the form's submit function with our own
				// function.  Otherwise watermarks won't be cleared when the form
				// is submitted programmatically.
				if (this.form) {
					var form = this.form,
						$form = $(form);
					
					if (!$form.data(dataFormSubmit)) {
						$form.submit($.watermark.hideAll);
						
						// form.submit exists for all browsers except Google Chrome
						// (see "else" below for explanation)
						if (form.submit) {
							$form.data(dataFormSubmit, form.submit);
							
							form.submit = (function (f, $f) {
								return function () {
									var nativeSubmit = $f.data(dataFormSubmit);
									
									$.watermark.hideAll();
									
									if (nativeSubmit.apply) {
										nativeSubmit.apply(f, Array.prototype.slice.call(arguments));
									}
									else {
										nativeSubmit();
									}
								};
							})(form, $form);
						}
						else {
							$form.data(dataFormSubmit, 1);
							
							// This strangeness is due to the fact that Google Chrome's
							// form.submit function is not visible to JavaScript (identifies
							// as "undefined").  I had to invent a solution here because hours
							// of Googling (ironically) for an answer did not turn up anything
							// useful.  Within my own form.submit function I delete the form's
							// submit function, and then call the non-existent function --
							// which, in the world of Google Chrome, still exists.
							form.submit = (function (f) {
								return function () {
									$.watermark.hideAll();
									delete f.submit;
									f.submit();
								};
							})(form);
						}
					}
				}
			}
			
			$.watermark._show($input);
		}
	).end();
};

// Hijack any functions found in the triggerFns list
if (triggerFns.length) {

	// Wait until DOM is ready before searching
	$(function () {
		var i, name, fn;
	
		for (i=triggerFns.length-1; i>=0; i--) {
			name = triggerFns[i];
			fn = window[name];
			
			if (typeof(fn) === "function") {
				window[name] = (function (origFn) {
					return function () {
						$.watermark.hideAll();
						origFn.apply(null, Array.prototype.slice.call(arguments));
					};
				})(fn);
			}
		}
	});
}

})(jQuery);
/*]]>*/
// <![CDATA[

// Functions to switch the display to a specific engine
function hide(strId) {
    var objCalque = document.getElementById(strId);
    if (objCalque != null)
        objCalque.style.display = "none";
}

function display(strId) {
    var objCalque = document.getElementById(strId);
    if (objCalque != null)
        objCalque.style.display = "block";
}

function display_engine(n) {
    var list = new Array("sea_engine", "spa_engine", "ski_engine", "kvl_engine");
    for (var i = 0; i < list.length; i++)
    {
        if (i == n)
            display(list[i]);
        else
            hide(list[i]);
    }
}

//-----------------------------------------------------------------------
//  Affichage Critère DATE 
//  possibilité d'afficher la date complète JJ/MMAA (cas s==1 + s==2) 
//  ou juste MMAA (cas s==2)
function init_datefrm(dateForm) {
	var objformJJ = document.getElementById("JJ");
	var objformMMAAAA = document.getElementById("MMAAAA");

	// récupération du champs date à afficher dans le formulaire
	var s = dateForm;
	// Initialisation de la date par défaut à aujourd'hui + 15 jours
	DEFAUT_DATE_AVANCE = 15;
	// init jour-mois-année
	today = new Date();
	mois_courant = today.getMonth() + 1; // mois calendaire
	annee_courante = today.getFullYear(); yyyy_courante = new String(annee_courante); yy_courante = yyyy_courante.substr(2, 4);
	today.setDate(today.getDate() + DEFAUT_DATE_AVANCE);
	jour = today.getDay();
	mois = today.getMonth() + 1; // mois par défaut correspondant à date_avance
	annee = today.getFullYear();
	yyyy = new String(annee); yy = yyyy.substr(2, 4); //pour affichage annee format yy

	if (s == 1) { //  mettre jour menu déroulant
		for (var i = 1; i <= 31; i++) {
			objformJJ[i - 1] = new Option(i, i);
			if (i == jour) { objformJJ[i - 1].selected = true; }
		}
	}
	//	
	if (s == 2) { //mettre mois + année menu déroulant

		var moisCodes = new Array("", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12");
		var moisLib = new Array("", "Janv.", "Fév.", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Sept.", "Oct.", "Nov.", "Déc.");

		objformMMAAAA[0] = new Option("Indiff&eacute;rent", "");
		for (var i = mois_courant; i <= 12; i++) // à partir du mois courant, affiche tous les mois de l'année courante
		{      //alert(mois_courant+' <- courant /  + date_avance -> '+mois);
			objformMMAAAA[i - mois_courant] = new Option(moisLib[i] + ' ' + yy_courante, annee_courante + i);
			if (i == mois) { objformMMAAAA[i - mois_courant].selected = true; }
		}
		if ((mois_courant) || (mois) > 9) // à partir du mois d'octobre, affiche les m mois de l'année suivante
		{
			var SelLength = objformMMAAAA.options.length;
			if (annee_courante == annee) { annee += 1; }
			for (var i = 1; i < mois_courant; i++) {
				yyyy = new String(annee); yy = yyyy.substr(2, 4); //pour affichage annee format yy
				objformMMAAAA[i + SelLength - 1] = new Option(moisLib[i] + ' ' + yy, annee + i);
				if (i == mois) { objformMMAAAA[i + SelLength - 1].selected = true; }
			}
		}
	}
}

function init_date(dateForm) {
	// récupération du champs date à afficher dans le formulaire
	var s = dateForm;
	// Initialisation de la date par défaut à aujourd'hui + 15 jours
	DEFAUT_DATE_AVANCE = 15;
	// init jour-mois-année
	today = new Date();
	mois_courant = today.getMonth() + 1; // mois calendaire
	annee_courante = today.getFullYear(); yyyy_courante = new String(annee_courante); yy_courante = yyyy_courante.substr(2, 4);
	today.setDate(today.getDate() + DEFAUT_DATE_AVANCE);
	jour = today.getDate();
	mois = today.getMonth() + 1; // mois par défaut correspondant à date_avance
	annee = today.getFullYear();
	yyyy = new String(annee); yy = yyyy.substr(2, 4); //pour affichage annee format yy

	if (s == 1) { //  mettre jour menu déroulant
		for (var i = 1; i <= 31; i++) {
			document.write('<option value="' + i + '" ');
			if (i == jour) { document.write(' selected="selected"'); }
			document.write('>' + i + '</option>');
		}
	}
	//	
	if (s == 2) { //mettre mois + année menu déroulant

		var moisCodes = new Array("", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12");
		var moisLib = new Array("", "Janv.", "F&eacute;v.", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao&ucirc;t", "Sept.", "Oct.", "Nov.", "Déc.");

		document.write('<option value="">Indiff&eacute;rent</option>');
		for (var i = mois_courant; i <= 12; i++) // à partir du mois courant, affiche tous les mois de l'année courante
		{      //alert(mois_courant+' <- courant /  + date_avance -> '+mois);
			document.write('<option value="' + annee_courante + i + '"');
			if (i == mois) { document.write(' selected '); }
			document.write('>' + moisLib[i] + '&nbsp;' + yy_courante + '</option>');
		}
		if ((mois_courant) || (mois) > 9) // à partir du mois d'octobre, affiche les m mois de l'année suivante
		{
			if (annee_courante == annee) { annee += 1; }
			for (var i = 1; i < mois_courant; i++) {
				document.write('<option value="' + annee + i + '"');
				if (i == mois) { document.write(' selected="selected"'); }
				yyyy = new String(annee); yy = yyyy.substr(2, 4); //pour affichage annee format yy
				document.write('>' + moisLib[i] + '&nbsp;' + yy + '</option>');
			}
		}
	}
}

//-----------------------------------------------------------------------
//  Submit Button 
function rechercher(objform) {
	// Traitement de la recherche en fonction de la provenance 
	objform = document.forms[objform];
	urlPart = objform.urlpart.value;
	//--- url de redirection à Paramètrer ici
	urlForm = "http://" + urlPart + "";
	//   
	today = new Date();
	mois_courant = today.getMonth() + 1;
	// date saisie
	yyyy = objform.MMAAAA.value;
	JOUR = objform.JJ.value;
	MOIS = yyyy.substr(4, 2);
	ANNEE = yyyy.substr(0, 4);
	//   
	VILLEDEPART = objform.VILLEDEPART.value;
	DEST = objform.PAYS.value;
	THEME = objform.THEME.value;
	//   
	var bool = checkDate(JOUR, MOIS, ANNEE); /* Contrôler la date demandée */

	if (bool == 1) {
		/*--- Debut: ajout ---*/
		if (objform.nom_page) {
			nom_page = objform.nom_page.value;
		} else {
			nom_page = 'recherche.htm';
		}

		if (JOUR == "31" && MOIS * 1 != mois_courant) {
			JOUR = "30";
		}

		if (objform.site) {
			site = objform.site.value;
		} else {
			site = "";
		}
		if (objform.BUDMAX) {
			budget = objform.BUDMAX.value;
			arrbudget = budget.split(" - ");
			BUDMAX = arrbudget[0];
			BUDMIN = arrbudget[1];
		} else {
			BUDMAX = "9999999";
			BUDMIN = "0";
		}

		if (objform.DELTA) {
			DELTA = objform.DELTA.value;
		} else {
			DELTA = 4;
		}
		urlForm = urlForm + "/" + nom_page + "?pays=" + escape(DEST) + "&budmax=" + BUDMAX + "&budmin=" + BUDMIN + "&theme=" + THEME + "&mois=" + MOIS + "&site=" + site + "&jj=" + JOUR + "&mm=" + (MOIS < 10 ? "0" + MOIS : MOIS) + "&aaaa=" + ANNEE + "&delta=" + DELTA + "&villedepart=" + escape(VILLEDEPART);
		if (self.parent != null) {
			if (self.parent.location != null) {
				self.parent.location.href = urlForm + "&PMV_RECH_MOTEURpg=1";
			}
		} else if (top.location != null) {
			top.location = urlForm + "&PMV_RECH_MOTEURpg=1";
		} else {
			document.location = urlForm + "&PMV_RECH_MOTEURpg=1";
		}
		/*--- Fin: ajout ---*/

	} else {
		alert("Attention, la date demandée est antérieure à la date du jour !");
	}

}

function checkDate(J, M, A) {
	// Contrôle de la date choisie
	bool = 1;
	// init jour-mois-année
	today = new Date();
	mois_courant = today.getMonth() + 1; // mois calendaire
	annee_courante = today.getFullYear();
	jour = today.getDate();

	//alert(A+"-"+M+"-"+J); alert(annee_courante+"-"+mois_courant+"-"+jour);

	if (annee_courante == A) {
		if (M <= mois_courant) {
			if (J < jour) { bool = 0; }
		}
	}

	return bool;
}

function valide_form() {
	var form = document.form1;

	if (form.VILLEDEPART.value == "") {
		alert("Vous n\'avez pas précisé la ville de départ");
		return false;
	}
	if (form.PAYS.value == "0") {
		alert("Vous n\'avez pas précisé la destination");
		return false;
	}
	if (form.THEME.value == "0") {
		alert("Vous n\'avez pas précisé la durée du séjour");
		return false;
	}
	if (form.BUDMAX.value == "") {
		alert("Vous n\'avez pas précisé le budget");
		return false;
	}
	return true;
}

// ]]>

/*<![CDATA[ */
var _gaq = _gaq || [];

_gaq.push(['_setAccount', 'UA-6576314-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
_gaq.push(['_link()']);
_gaq.push(['_linkByPost()']);

(function()
{
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();
/*]]>*/
function getSelectedRadio(buttonGroup) {
 if (buttonGroup[0]) {
  for (var i=0; i<buttonGroup.length; i++) {
   if (buttonGroup[i].checked) {
    return i;
   }
  }
 }else {
  if (buttonGroup.checked) { return 0; }
 }
 return -1;
}
function getSelectedRadioValue(buttonGroup) {
 var i = getSelectedRadio(buttonGroup);
 if (i == -1) {
  return '';
 } else {
  if (buttonGroup[i]) {
   return buttonGroup[i].value;
  } else {
   return buttonGroup.value;
  }
 }
}
function FillListAllCountry(){  var libCountry = new Array('Andorra','Austria','France','Germany','Italy','Switzerland');  var  idCountry = new Array('4294936766','4294951215','4294951879','4294950141','4294951093','4294951641');  for (i = 0; i < libCountry.length; i++) {      var select = document.getElementById('Country');      select.options[select.options.length] = new Option(libCountry[i], idCountry[i]);}}
function FillListAllStation(){  var libStation = new Array('Abondance','Achenkirch','Adelboden','Afritz Am See','Alpbach','Altenmarkt-Zauchensee','Ancelle','Annaberg','Arêches Beaufort','Arosa','Artouste Fabrège','Arvieux En Queyras','Aschau Im Zillertal','Au Im Bregenzerwald','Auris-En-Oisans','Aussois','Autrans','Avoriaz','Ax Les Thermes','Bad Gastein','Bad Goisern','Bad Hofgastein','Bad Kleinkirchheim','Bad Mitterndorf','Bad Ragaz','Bardonecchia','Bellefontaine','Bellevaux','Bellwald','Berchtesgaden','Bernex','Berwang','Bessans','Besse - Super Besse','Blatten/belalp','Bludenz','Bodensdorf','Bolquère - Pyrénées 2000','Bourg Saint Maurice','Brides Les Bains','Brienz Am See','Brigels','Brixen Im Thale','Bruck','Campitello Di Fassa','Canazei','Cauterets','Ceillac','Chamonix','Champéry','Chamrousse','Chapelle Des Bois','Chatel','Chorges','Combloux','Corrençon En Vercors','Cortina D\'Ampezzo','Courchevel','Courmayeur','Crans Montana','Damüls','Davos','Dienten Am Hochkönig','Disentis','Divonne Les Bains','Ebbs','Ehrwald','Ellmau Am Wilden Kaiser','Engelberg','Evian','Excenevex','Féclaz','Feichten/kaunertal','Fendels','Fieberbrunn','Filzmoos','Finkenberg','Fiss','Flachau','Flaine','Flattach','Fliess Im Oberinntal','Flims','Font-Romeu','Fügen','Fulpmes','Fuschl Am See','Galtür','Gaschurn','Gerlos','Gnadenwald','Going Am Wilden Kaiser Village','Göstling An Der Ybbs','Götzens','Gourette','Grächen','Gresse En Vercors','Großarl','Gstaad','Guzet Neige','Hasliberg-Reuti','Haus Im Ennstal','Haute Nendaz','Hintertux','Hippach','Hohentauern','Igls','Imst','Innsbruck','Ischgl','Isola 2000','Jenbach','Jerzens','Jochberg','Kandersteg','Kappl','Kaprun','Kartitsch','Kirchberg','Kirchdorf In Tirol','Kitzbühel','Klosters','Kössen','Kramsach','Krimml','La Bresse- Hohneck','La Chapelle D\'Abondance','La Clusaz','La Grave','La Joue Du Loup','L\'Alpe D\'Huez','La Mongie','Längenfeld','La Norma','La Plagne','La Rosière','La Tania','La Toussuire','La Tzoumaz','Lech','Le Collet D\'Allevard','Le Corbier','Le Grand Bornand','Le Mont Dore','Leogang','Lermoos','Les Angles','Les Arcs','Les Cabannes','Les Carroz-D\'Araches','Les Collons / Thyon 2000','Les Contamines - Montjoie','Les Crosets','Les Deux Alpes','Les Diablerets','Les Estables','Les Gets','Les Houches','Les Karellis','Les Ménuires','Les Orres','Les Rousses','Les Saisies','Les Sept Laux','Leutasch','Leysin','Lioran','Lofer','Lourdes','Luchon-Superbagnères','Lugrin','Lüsai','Luz Saint Sauveur','Madonna Di Campiglio','Maisod','Mallnitz','Maria Alm','Matrei In Osttirol','Maurach','Mayrhofen','Megève','Meribel','Meribel - Mottaret','Mieders','Mittersill','Molines En Queyras','Montgenèvre','Monts Jura','Morgins','Morillon','Morzine','Mutters','Nauders','Neukirchen','Neustift Im Stubaital','Niederau','Notre Dame De Bellecombe','Obergurgl','Oberndorf','Obervellach','Orbey','Orcières','Orelle','Ötz Im Ötztal','Oz En Oisans (alpe D\'Huez)','Passo Tonale','Passy Plaine Joux','Peisey-Vallandry','Pelvoux','Pertisau','Peyragudes','Piesendorf','Plaine','Plainfaing','Ponte Di Legno','Pralognan La Vanoise','Praloup','Prato Nevoso','Praz De Lys-Sommand','Praz-Sur-Arly','Puy Saint Vincent','Ramsau','Ramsau Am Dachstein','Rauris','Reallon','Reith Bei Kitzbühel','Reith Im Alpbach','Risoul','Saalbach - Hinterglemm','Saales','Saalfelden','Saas Fee','Saas Grund','Saint Bonnet En Champsaur','Sainte Foy Tarentaise','Saint François Longchamp','Saint Gervais-Mont Blanc','Saint Jacques Des Blats','Saint Jean D\'Arves','Saint Jean D\'Aulps','Saint Jean De Montclar','Saint Julien Chapteuil','Saint Lary Soulan','Saint Léger Les Mélèzes','Saint Martin De Belleville','Saint Sorlin D\'Arves','Saint Vincent Les Forts','Samoëns','Sankt Anton Am Arlberg','Sankt Gallenkirch-Gortipohl','Sankt Jakob In Defereggen','Sankt Johann Im Pongau','Sankt Johann In Tirol','Sankt Lambrecht','Sankt Leonhard','Sankt Martin Bei Lofer','Sankt Michael Im Lungau','San Martino Di Castrozza','Sautens Im Ötztal','Savognin','Scheffau','Schladming','Seefeld','Seelisberg','Serfaus / Fiss / Ladis','Serre Chevalier','Sestriere','Sillian','Sölden','Soldeu','Söll','Stans','St. Moritz','Stumm','Superdévoluy','Tarrenz','Telfes Im Stubaital','Telfs','Temu','Termignon','Tesero','Thollon Les Mémises','Tignes','Turracher Höhe','Unterwasser','Uttendorf','Valberg','Val Cenis','Val D\'Allos','Val D\'Illiez','Val D\'Isère','Valfréjus','Val Gardena','Valloire','Vallorcine','Vallouise','Val Louron','Valmeinier','Valmorel','Val Thorens','Vars','Vaujany','Vent','Verbier','Veysonnaz','Villar D\'Arêne','Villard De Lans','Villars/gryon','Völs Am Schlern','Wagrain','Walchsee','Wängle','Wengen','Westendorf','Wildschönau','Willingen','Winterberg','Xonrupt','Zell Am See','Zell Am Ziller','Zermatt','Zürs');  var  idStation = new Array('4294910035','4294946502','4294910230','4294898369','4294950982','4294911542','4294946274','4294916537','4294910455','4294946494','4294911880','4294947337','4294898677','4294909920','4294939966','4294937209','4294947036','4294940557','4294950047','4294947314','4294898261','4294945893','4294944947','4294950966','4294897925','4294937330','4294909968','4294898034','4294902371','4294902589','4294911348','4294946157','4294947326','4294951397','4294897911','4294909726','4294902634','4294938149','4294939050','4294951431','4294897898','4294897850','4294944372','4294950267','4294911388','4294916159','4294948335','4294913171','4294947579','4294898551','4294915654','4294935901','4294910011','4294909845','4294951456','4294909767','4294911901','4294935787','4294915503','4294947263','4294898253','4294941833','4294945259','4294936589','4294947478','4294898908','4294936566','4294946233','4294938382','4294948633','4294906746','4294917074','4294898233','4294911283','4294941549','4294936974','4294910604','4294897831','4294946107','4294948266','4294910613','4294898217','4294912032','4294951476','4294947280','4294946095','4294897948','4294912241','4294942108','4294941924','4294945459','4294897810','4294897963','4294910511','4294916459','4294941689','4294944681','4294945968','4294910364','4294948088','4294910489','4294944365','4294914579','4294946031','4294945906','4294898443','4294950255','4294944009','4294948281','4294944668','4294940498','4294898476','4294910004','4294896759','4294902614','4294942301','4294941905','4294937008','4294945668','4294902399','4294947217','4294909709','4294902215','4294912330','4294945879','4294951683','4294910118','4294950204','4294916065','4294940197','4294949034','4294917244','4294910278','4294949282','4294940979','4294945680','4294940520','4294914768','4294948661','4294938419','4294913755','4294946398','4294911861','4294944992','4294945120','4294902167','4294914647','4294914826','4294913179','4294949205','4294945574','4294950440','4294898536','4294949184','4294951658','4294916968','4294939717','4294945709','4294938694','4294940574','4294940112','4294911792','4294937850','4294914233','4294946545','4294937050','4294947115','4294946521','4294950283','4294951743','4294903406','4294947016','4294951127','4294916209','4294913195','4294911931','4294902196','4294947597','4294951020','4294947223','4294946530','4294910133','4294910139','4294936023','4294950906','4294914570','4294945641','4294911660','4294916252','4294950420','4294940804','4294948626','4294947297','4294944724','4294946050','4294897698','4294936447','4294941321','4294897725','4294936263','4294945752','4294909981','4294909781','4294949328','4294909945','4294937744','4294909672','4294945062','4294947973','4294950654','4294948062','4294909753','4294909852','4294950327','4294909738','4294936375','4294949091','4294910377','4294911826','4294947076','4294938270','4294916357','4294942670','4294912514','4294945602','4294902102','4294949335','4294949873','4294950945','4294945148','4294945981','4294950543','4294909702','4294913205','4294899172','4294949600','4294949898','4294916962','4294939615','4294910176','4294949052','4294945198','4294949520','4294946287','4294947926','4294949250','4294909110','4294944960','4294948153','4294911269','4294945228','4294912155','4294911646','4294902654','4294950998','4294898013','4294945781','4294898641','4294945686','4294935511','4294912499','4294950567','4294947241','4294944866','4294910627','4294911912','4294936401','4294902148','4294949999','4294936784','4294912314','4294946020','4294898106','4294941423','4294915919','4294935643','4294899286','4294910317','4294910048','4294944566','4294911893','4294898502','4294948504','4294945865','4294898468','4294911633','4294910473','4294949647','4294911762','4294943949','4294948136','4294948247','4294898618','4294949139','4294910197','4294946262','4294938718','4294937719','4294939463','4294949300','4294948548','4294949231','4294941525','4294944026','4294944872','4294917039','4294945823','4294911810','4294910528','4294941885','4294913045','4294945489','4294950724','4294944832','4294944937','4294942385','4294940835','4294946680','4294951232','4294940718','4294941026','4294948303');  for (i = 0; i < libStation.length; i++) {      var select = document.getElementById('Station');      select.options[select.options.length] = new Option(libStation[i], idStation[i]);}}
function FillListDate(){  var libDate = new Array('Saturday 11 Sep 2010','Saturday 18 Sep 2010','Saturday 25 Sep 2010','Saturday 02 Oct 2010','Saturday 09 Oct 2010','Saturday 16 Oct 2010','Saturday 23 Oct 2010','Saturday 30 Oct 2010','Saturday 06 Nov 2010','Saturday 13 Nov 2010','Saturday 20 Nov 2010','Saturday 27 Nov 2010','Saturday 04 Dec 2010','Saturday 11 Dec 2010','Saturday 18/Sunday 19 Dec 2010','Saturday 25/Sunday 26 Dec 2010','Saturday 01/Sunday 02 Jan 2011','Saturday 08/Sunday 09 Jan 2011','Saturday 15 Jan 2011','Saturday 22 Jan 2011','Saturday 29 Jan 2011','Saturday 05 Feb 2011','Saturday 12 Feb 2011','Saturday 19 Feb 2011','Saturday 26 Feb 2011','Saturday 05 Mar 2011','Saturday 12 Mar 2011','Saturday 19 Mar 2011','Saturday 26 Mar 2011','Saturday 02 Apr 2011','Saturday 09 Apr 2011','Saturday 16 Apr 2011','Saturday 23 Apr 2011','Saturday 30 Apr 2011','Saturday 07 May 2011','Saturday 14 May 2011','Saturday 21 May 2011','Saturday 28 May 2011','Saturday 04 Jun 2011','Saturday 11 Jun 2011','Saturday 18 Jun 2011','Saturday 25 Jun 2011','Saturday 02 Jul 2011','Saturday 09 Jul 2011','Saturday 16 Jul 2011','Saturday 23 Jul 2011','Saturday 30 Jul 2011','Saturday 06 Aug 2011','Saturday 13 Aug 2011','Saturday 20 Aug 2011','Saturday 27 Aug 2011','Saturday 03 Sep 2011');  var  idDate = new Array('4294918435;4294916680','4294918433;4294916680','4294918442;4294916680','4294918469;4294918408','4294918467;4294918408','4294918466;4294918408','4294918465;4294918408','4294918464;4294918408','4294918462;4294911318','4294918461;4294911318','4294918459;4294911318','4294918458;4294911318','4294918438;4294909773','4294918435;4294909773','9126','9127','9128','9129','4294918434;4294909794','4294918443;4294909794','4294918441;4294909794','4294918446;4294909793','4294918454;4294909793','4294918452;4294909793','4294918451;4294909793','4294918446;4294909792','4294918454;4294909792','4294918452;4294909792','4294918451;4294909792','4294918469;4294909775','4294918467;4294909775','4294918466;4294909775','4294918465;4294909775','4294918464;4294909775','4294918437;4294904933','4294918449;4294904933','4294918448;4294904933','4294918447;4294904933','4294918438;4294902705','4294918435;4294902705','4294918433;4294902705','4294918442;4294902705','4294918469;4294898957','4294918467;4294898957','4294918466;4294898957','4294918465;4294898957','4294918464;4294898957','4294918462;4294898432','4294918461;4294898432','4294918459;4294898432','4294918458;4294898432','4294918456;4294897657');  for (i = 0; i < libDate.length; i++) {      var select = document.getElementById('Date');      select.options[select.options.length] = new Option(libDate[i], idDate[i]);}}
function FillListDuration(){  var libDuration = new Array('1 night','2 nights','3 nights','4 nights','5 nights','6 nights','1 week','8 nights','9 nights','10 nights','11 nights','12 nights','13 nights','2 weeks','3 weeks or more');  var  idDuration = new Array('8553','8555','8938','8939','8940','8941','8554','8751','8942','8943','8944','8945','8946','8556','8557');  for (i = 0; i < libDuration.length; i++) {      var select = document.getElementById('Duration');      select.options[select.options.length] = new Option(libDuration[i], idDuration[i]);      if (i==6) { select.options[select.options.length-1].selected = 'True'; }}}
function Submit(){currentUrl = new String(document.location);currentCulture = currentUrl.split('/')[3];leadingParam = currentUrl.split('?')[1];if (currentCulture == '#') currentUrl = currentUrl.substring(0,currentUrl.length -1 );var duree = document.getElementById('Duration').options[document.getElementById('Duration').selectedIndex].value;var country = '';if (document.getElementById('Country').selectedIndex > 0) country = '-' + document.getElementById('Country').options[document.getElementById('Country').selectedIndex].value;var station = '';if (document.getElementById('Station').selectedIndex > 0) station = '-' + document.getElementById('Station').options[document.getElementById('Station').selectedIndex].value;var formul = '';if (getSelectedRadioValue(document.form1.theme) != '') formul = '-' + getSelectedRadioValue(document.form1.theme);var date = '';if (document.getElementById('Date').selectedIndex > 0) {var month = document.getElementById('Date').options[document.getElementById('Date').selectedIndex].value.split(';')[1];var day = document.getElementById('Date').options[document.getElementById('Date').selectedIndex].value.split(';')[0];date = '-' + day;if (month != null) date = date + '-' + month;if ((day == '9126' || day == '9127') && duree == '8554') date = date + '-8751';if ((day == '9128' || day == '9129') && duree == '8554') date = date + '-8941';}var dsnav = '?dsNav=N:';if (leadingParam != null && leadingParam.length > 0) {dsnav = '&dsNav=N:';}window.location = currentUrl + dsnav + duree + country + station + formul + date;}
function Choix(){var i = document.getElementById('Country').selectedIndex;switch(i){case 0 : var libStation = new Array('Abondance','Achenkirch','Adelboden','Afritz Am See','Alpbach','Altenmarkt-Zauchensee','Ancelle','Annaberg','Arêches Beaufort','Arosa','Artouste Fabrège','Arvieux En Queyras','Aschau Im Zillertal','Au Im Bregenzerwald','Auris-En-Oisans','Aussois','Autrans','Avoriaz','Ax Les Thermes','Bad Gastein','Bad Goisern','Bad Hofgastein','Bad Kleinkirchheim','Bad Mitterndorf','Bad Ragaz','Bardonecchia','Bellefontaine','Bellevaux','Bellwald','Berchtesgaden','Bernex','Berwang','Bessans','Besse - Super Besse','Blatten/belalp','Bludenz','Bodensdorf','Bolquère - Pyrénées 2000','Bourg Saint Maurice','Brides Les Bains','Brienz Am See','Brigels','Brixen Im Thale','Bruck','Campitello Di Fassa','Canazei','Cauterets','Ceillac','Chamonix','Champéry','Chamrousse','Chapelle Des Bois','Chatel','Chorges','Combloux','Corrençon En Vercors','Cortina D\'Ampezzo','Courchevel','Courmayeur','Crans Montana','Damüls','Davos','Dienten Am Hochkönig','Disentis','Divonne Les Bains','Ebbs','Ehrwald','Ellmau Am Wilden Kaiser','Engelberg','Evian','Excenevex','Féclaz','Feichten/kaunertal','Fendels','Fieberbrunn','Filzmoos','Finkenberg','Fiss','Flachau','Flaine','Flattach','Fliess Im Oberinntal','Flims','Font-Romeu','Fügen','Fulpmes','Fuschl Am See','Galtür','Gaschurn','Gerlos','Gnadenwald','Going Am Wilden Kaiser Village','Göstling An Der Ybbs','Götzens','Gourette','Grächen','Gresse En Vercors','Großarl','Gstaad','Guzet Neige','Hasliberg-Reuti','Haus Im Ennstal','Haute Nendaz','Hintertux','Hippach','Hohentauern','Igls','Imst','Innsbruck','Ischgl','Isola 2000','Jenbach','Jerzens','Jochberg','Kandersteg','Kappl','Kaprun','Kartitsch','Kirchberg','Kirchdorf In Tirol','Kitzbühel','Klosters','Kössen','Kramsach','Krimml','La Bresse- Hohneck','La Chapelle D\'Abondance','La Clusaz','La Grave','La Joue Du Loup','L\'Alpe D\'Huez','La Mongie','Längenfeld','La Norma','La Plagne','La Rosière','La Tania','La Toussuire','La Tzoumaz','Lech','Le Collet D\'Allevard','Le Corbier','Le Grand Bornand','Le Mont Dore','Leogang','Lermoos','Les Angles','Les Arcs','Les Cabannes','Les Carroz-D\'Araches','Les Collons / Thyon 2000','Les Contamines - Montjoie','Les Crosets','Les Deux Alpes','Les Diablerets','Les Estables','Les Gets','Les Houches','Les Karellis','Les Ménuires','Les Orres','Les Rousses','Les Saisies','Les Sept Laux','Leutasch','Leysin','Lioran','Lofer','Lourdes','Luchon-Superbagnères','Lugrin','Lüsai','Luz Saint Sauveur','Madonna Di Campiglio','Maisod','Mallnitz','Maria Alm','Matrei In Osttirol','Maurach','Mayrhofen','Megève','Meribel','Meribel - Mottaret','Mieders','Mittersill','Molines En Queyras','Montgenèvre','Monts Jura','Morgins','Morillon','Morzine','Mutters','Nauders','Neukirchen','Neustift Im Stubaital','Niederau','Notre Dame De Bellecombe','Obergurgl','Oberndorf','Obervellach','Orbey','Orcières','Orelle','Ötz Im Ötztal','Oz En Oisans (alpe D\'Huez)','Passo Tonale','Passy Plaine Joux','Peisey-Vallandry','Pelvoux','Pertisau','Peyragudes','Piesendorf','Plaine','Plainfaing','Ponte Di Legno','Pralognan La Vanoise','Praloup','Prato Nevoso','Praz De Lys-Sommand','Praz-Sur-Arly','Puy Saint Vincent','Ramsau','Ramsau Am Dachstein','Rauris','Reallon','Reith Bei Kitzbühel','Reith Im Alpbach','Risoul','Saalbach - Hinterglemm','Saales','Saalfelden','Saas Fee','Saas Grund','Saint Bonnet En Champsaur','Sainte Foy Tarentaise','Saint François Longchamp','Saint Gervais-Mont Blanc','Saint Jacques Des Blats','Saint Jean D\'Arves','Saint Jean D\'Aulps','Saint Jean De Montclar','Saint Julien Chapteuil','Saint Lary Soulan','Saint Léger Les Mélèzes','Saint Martin De Belleville','Saint Sorlin D\'Arves','Saint Vincent Les Forts','Samoëns','Sankt Anton Am Arlberg','Sankt Gallenkirch-Gortipohl','Sankt Jakob In Defereggen','Sankt Johann Im Pongau','Sankt Johann In Tirol','Sankt Lambrecht','Sankt Leonhard','Sankt Martin Bei Lofer','Sankt Michael Im Lungau','San Martino Di Castrozza','Sautens Im Ötztal','Savognin','Scheffau','Schladming','Seefeld','Seelisberg','Serfaus / Fiss / Ladis','Serre Chevalier','Sestriere','Sillian','Sölden','Soldeu','Söll','Stans','St. Moritz','Stumm','Superdévoluy','Tarrenz','Telfes Im Stubaital','Telfs','Temu','Termignon','Tesero','Thollon Les Mémises','Tignes','Turracher Höhe','Unterwasser','Uttendorf','Valberg','Val Cenis','Val D\'Allos','Val D\'Illiez','Val D\'Isère','Valfréjus','Val Gardena','Valloire','Vallorcine','Vallouise','Val Louron','Valmeinier','Valmorel','Val Thorens','Vars','Vaujany','Vent','Verbier','Veysonnaz','Villar D\'Arêne','Villard De Lans','Villars/gryon','Völs Am Schlern','Wagrain','Walchsee','Wängle','Wengen','Westendorf','Wildschönau','Willingen','Winterberg','Xonrupt','Zell Am See','Zell Am Ziller','Zermatt','Zürs');var  idStation = new Array('4294910035','4294946502','4294910230','4294898369','4294950982','4294911542','4294946274','4294916537','4294910455','4294946494','4294911880','4294947337','4294898677','4294909920','4294939966','4294937209','4294947036','4294940557','4294950047','4294947314','4294898261','4294945893','4294944947','4294950966','4294897925','4294937330','4294909968','4294898034','4294902371','4294902589','4294911348','4294946157','4294947326','4294951397','4294897911','4294909726','4294902634','4294938149','4294939050','4294951431','4294897898','4294897850','4294944372','4294950267','4294911388','4294916159','4294948335','4294913171','4294947579','4294898551','4294915654','4294935901','4294910011','4294909845','4294951456','4294909767','4294911901','4294935787','4294915503','4294947263','4294898253','4294941833','4294945259','4294936589','4294947478','4294898908','4294936566','4294946233','4294938382','4294948633','4294906746','4294917074','4294898233','4294911283','4294941549','4294936974','4294910604','4294897831','4294946107','4294948266','4294910613','4294898217','4294912032','4294951476','4294947280','4294946095','4294897948','4294912241','4294942108','4294941924','4294945459','4294897810','4294897963','4294910511','4294916459','4294941689','4294944681','4294945968','4294910364','4294948088','4294910489','4294944365','4294914579','4294946031','4294945906','4294898443','4294950255','4294944009','4294948281','4294944668','4294940498','4294898476','4294910004','4294896759','4294902614','4294942301','4294941905','4294937008','4294945668','4294902399','4294947217','4294909709','4294902215','4294912330','4294945879','4294951683','4294910118','4294950204','4294916065','4294940197','4294949034','4294917244','4294910278','4294949282','4294940979','4294945680','4294940520','4294914768','4294948661','4294938419','4294913755','4294946398','4294911861','4294944992','4294945120','4294902167','4294914647','4294914826','4294913179','4294949205','4294945574','4294950440','4294898536','4294949184','4294951658','4294916968','4294939717','4294945709','4294938694','4294940574','4294940112','4294911792','4294937850','4294914233','4294946545','4294937050','4294947115','4294946521','4294950283','4294951743','4294903406','4294947016','4294951127','4294916209','4294913195','4294911931','4294902196','4294947597','4294951020','4294947223','4294946530','4294910133','4294910139','4294936023','4294950906','4294914570','4294945641','4294911660','4294916252','4294950420','4294940804','4294948626','4294947297','4294944724','4294946050','4294897698','4294936447','4294941321','4294897725','4294936263','4294945752','4294909981','4294909781','4294949328','4294909945','4294937744','4294909672','4294945062','4294947973','4294950654','4294948062','4294909753','4294909852','4294950327','4294909738','4294936375','4294949091','4294910377','4294911826','4294947076','4294938270','4294916357','4294942670','4294912514','4294945602','4294902102','4294949335','4294949873','4294950945','4294945148','4294945981','4294950543','4294909702','4294913205','4294899172','4294949600','4294949898','4294916962','4294939615','4294910176','4294949052','4294945198','4294949520','4294946287','4294947926','4294949250','4294909110','4294944960','4294948153','4294911269','4294945228','4294912155','4294911646','4294902654','4294950998','4294898013','4294945781','4294898641','4294945686','4294935511','4294912499','4294950567','4294947241','4294944866','4294910627','4294911912','4294936401','4294902148','4294949999','4294936784','4294912314','4294946020','4294898106','4294941423','4294915919','4294935643','4294899286','4294910317','4294910048','4294944566','4294911893','4294898502','4294948504','4294945865','4294898468','4294911633','4294910473','4294949647','4294911762','4294943949','4294948136','4294948247','4294898618','4294949139','4294910197','4294946262','4294938718','4294937719','4294939463','4294949300','4294948548','4294949231','4294941525','4294944026','4294944872','4294917039','4294945823','4294911810','4294910528','4294941885','4294913045','4294945489','4294950724','4294944832','4294944937','4294942385','4294940835','4294946680','4294951232','4294940718','4294941026','4294948303');break;case 1 : var libStation = new Array('Soldeu');var idStation = new Array('4294936784');break;case 2 : var libStation = new Array('Achenkirch','Afritz Am See','Alpbach','Altenmarkt-Zauchensee','Annaberg','Aschau Im Zillertal','Au Im Bregenzerwald','Bad Gastein','Bad Goisern','Bad Hofgastein','Bad Kleinkirchheim','Bad Mitterndorf','Berwang','Bludenz','Bodensdorf','Brixen Im Thale','Bruck','Damüls','Dienten Am Hochkönig','Ebbs','Ehrwald','Ellmau Am Wilden Kaiser','Feichten/kaunertal','Fendels','Fieberbrunn','Filzmoos','Finkenberg','Fiss','Flachau','Flattach','Fliess Im Oberinntal','Fügen','Fulpmes','Fuschl Am See','Galtür','Gaschurn','Gerlos','Gnadenwald','Going Am Wilden Kaiser Village','Göstling An Der Ybbs','Götzens','Großarl','Haus Im Ennstal','Hintertux','Hippach','Hohentauern','Igls','Imst','Innsbruck','Ischgl','Jenbach','Jerzens','Jochberg','Kappl','Kaprun','Kartitsch','Kirchberg','Kirchdorf In Tirol','Kitzbühel','Kössen','Kramsach','Krimml','Längenfeld','Lech','Leogang','Lermoos','Leutasch','Lofer','Mallnitz','Maria Alm','Matrei In Osttirol','Maurach','Mayrhofen','Mieders','Mittersill','Mutters','Nauders','Neukirchen','Neustift Im Stubaital','Niederau','Obergurgl','Oberndorf','Obervellach','Ötz Im Ötztal','Pertisau','Piesendorf','Ramsau','Ramsau Am Dachstein','Rauris','Reith Bei Kitzbühel','Reith Im Alpbach','Saalbach - Hinterglemm','Saalfelden','Sankt Anton Am Arlberg','Sankt Gallenkirch-Gortipohl','Sankt Jakob In Defereggen','Sankt Johann Im Pongau','Sankt Johann In Tirol','Sankt Lambrecht','Sankt Leonhard','Sankt Martin Bei Lofer','Sankt Michael Im Lungau','Sautens Im Ötztal','Scheffau','Schladming','Seefeld','Serfaus / Fiss / Ladis','Sillian','Sölden','Söll','Stans','Stumm','Tarrenz','Telfes Im Stubaital','Telfs','Turracher Höhe','Uttendorf','Vent','Wagrain','Walchsee','Wängle','Westendorf','Wildschönau','Zell Am See','Zell Am Ziller','Zürs');var idStation = new Array('4294946502','4294898369','4294950982','4294911542','4294916537','4294898677','4294909920','4294947314','4294898261','4294945893','4294944947','4294950966','4294946157','4294909726','4294902634','4294944372','4294950267','4294898253','4294945259','4294898908','4294936566','4294946233','4294898233','4294911283','4294941549','4294936974','4294910604','4294897831','4294946107','4294910613','4294898217','4294947280','4294946095','4294897948','4294912241','4294942108','4294941924','4294945459','4294897810','4294897963','4294910511','4294945968','4294944365','4294946031','4294945906','4294898443','4294950255','4294944009','4294948281','4294944668','4294898476','4294910004','4294896759','4294942301','4294941905','4294937008','4294945668','4294902399','4294947217','4294902215','4294912330','4294945879','4294910278','4294938419','4294945120','4294902167','4294946545','4294946521','4294911931','4294902196','4294947597','4294951020','4294947223','4294936023','4294950906','4294948626','4294947297','4294944724','4294946050','4294897698','4294941321','4294897725','4294936263','4294949328','4294950654','4294909753','4294916357','4294942670','4294912514','4294902102','4294949335','4294950945','4294945981','4294948153','4294911269','4294945228','4294912155','4294911646','4294902654','4294950998','4294898013','4294945781','4294945686','4294912499','4294950567','4294947241','4294910627','4294902148','4294949999','4294912314','4294946020','4294941423','4294935643','4294899286','4294910317','4294945865','4294911633','4294941525','4294941885','4294913045','4294945489','4294944832','4294944937','4294951232','4294940718','4294948303');break;case 3 : var libStation = new Array('Abondance','Ancelle','Arêches Beaufort','Artouste Fabrège','Arvieux En Queyras','Auris-En-Oisans','Aussois','Autrans','Avoriaz','Ax Les Thermes','Bellefontaine','Bellevaux','Bernex','Bessans','Besse - Super Besse','Bolquère - Pyrénées 2000','Bourg Saint Maurice','Brides Les Bains','Cauterets','Ceillac','Chamonix','Chamrousse','Chapelle Des Bois','Chatel','Chorges','Combloux','Corrençon En Vercors','Courchevel','Divonne Les Bains','Evian','Excenevex','Féclaz','Flaine','Font-Romeu','Gourette','Gresse En Vercors','Guzet Neige','Isola 2000','La Bresse- Hohneck','La Chapelle D\'Abondance','La Clusaz','La Grave','La Joue Du Loup','L\'Alpe D\'Huez','La Mongie','La Norma','La Plagne','La Rosière','La Tania','La Toussuire','La Tzoumaz','Le Collet D\'Allevard','Le Corbier','Le Grand Bornand','Le Mont Dore','Les Angles','Les Arcs','Les Cabannes','Les Carroz-D\'Araches','Les Contamines - Montjoie','Les Deux Alpes','Les Estables','Les Gets','Les Houches','Les Karellis','Les Ménuires','Les Orres','Les Rousses','Les Saisies','Les Sept Laux','Lioran','Lourdes','Luchon-Superbagnères','Lugrin','Luz Saint Sauveur','Maisod','Megève','Meribel','Meribel - Mottaret','Molines En Queyras','Montgenèvre','Monts Jura','Morillon','Morzine','Notre Dame De Bellecombe','Orbey','Orcières','Orelle','Oz En Oisans (alpe D\'Huez)','Passy Plaine Joux','Peisey-Vallandry','Pelvoux','Peyragudes','Plaine','Plainfaing','Pralognan La Vanoise','Praloup','Praz De Lys-Sommand','Praz-Sur-Arly','Puy Saint Vincent','Reallon','Risoul','Saales','Saint Bonnet En Champsaur','Sainte Foy Tarentaise','Saint François Longchamp','Saint Gervais-Mont Blanc','Saint Jacques Des Blats','Saint Jean D\'Arves','Saint Jean D\'Aulps','Saint Jean De Montclar','Saint Julien Chapteuil','Saint Lary Soulan','Saint Léger Les Mélèzes','Saint Martin De Belleville','Saint Sorlin D\'Arves','Saint Vincent Les Forts','Samoëns','Serre Chevalier','Superdévoluy','Termignon','Thollon Les Mémises','Tignes','Valberg','Val Cenis','Val D\'Allos','Val D\'Isère','Valfréjus','Valloire','Vallorcine','Vallouise','Val Louron','Valmeinier','Valmorel','Val Thorens','Vars','Vaujany','Villar D\'Arêne','Villard De Lans','Xonrupt');var idStation = new Array('4294910035','4294946274','4294910455','4294911880','4294947337','4294939966','4294937209','4294947036','4294940557','4294950047','4294909968','4294898034','4294911348','4294947326','4294951397','4294938149','4294939050','4294951431','4294948335','4294913171','4294947579','4294915654','4294935901','4294910011','4294909845','4294951456','4294909767','4294935787','4294947478','4294948633','4294906746','4294917074','4294948266','4294951476','4294916459','4294944681','4294948088','4294940498','4294951683','4294910118','4294950204','4294916065','4294940197','4294949034','4294917244','4294949282','4294940979','4294945680','4294940520','4294914768','4294948661','4294913755','4294946398','4294911861','4294944992','4294914647','4294914826','4294913179','4294949205','4294950440','4294949184','4294916968','4294939717','4294945709','4294938694','4294940574','4294940112','4294911792','4294937850','4294914233','4294947115','4294950283','4294951743','4294903406','4294951127','4294913195','4294946530','4294910133','4294910139','4294914570','4294945641','4294911660','4294950420','4294940804','4294936447','4294945752','4294909981','4294909781','4294909945','4294909672','4294945062','4294947973','4294948062','4294909852','4294950327','4294936375','4294949091','4294911826','4294947076','4294938270','4294945602','4294949873','4294945148','4294913205','4294899172','4294949600','4294949898','4294916962','4294939615','4294910176','4294949052','4294945198','4294949520','4294946287','4294947926','4294949250','4294909110','4294944960','4294911912','4294915919','4294944566','4294898502','4294948504','4294910473','4294949647','4294911762','4294948136','4294948247','4294949139','4294910197','4294946262','4294938718','4294937719','4294939463','4294949300','4294948548','4294949231','4294917039','4294945823','4294946680');break;case 4 : var libStation = new Array('Berchtesgaden','Willingen','Winterberg');var idStation = new Array('4294902589','4294942385','4294940835');break;case 5 : var libStation = new Array('Bardonecchia','Campitello Di Fassa','Canazei','Cortina D\'Ampezzo','Courmayeur','Madonna Di Campiglio','Passo Tonale','Ponte Di Legno','Prato Nevoso','San Martino Di Castrozza','Sestriere','Temu','Tesero','Val Gardena','Völs Am Schlern');var idStation = new Array('4294937330','4294911388','4294916159','4294911901','4294915503','4294916209','4294937744','4294909738','4294910377','4294898641','4294936401','4294910048','4294911893','4294898618','4294910528');break;case 6 : var libStation = new Array('Adelboden','Arosa','Bad Ragaz','Bellwald','Blatten/belalp','Brienz Am See','Brigels','Champéry','Crans Montana','Davos','Disentis','Engelberg','Flims','Grächen','Gstaad','Hasliberg-Reuti','Haute Nendaz','Kandersteg','Klosters','La Tzoumaz','Les Collons / Thyon 2000','Les Crosets','Les Diablerets','Leysin','Lüsai','Morgins','Saas Fee','Saas Grund','Savognin','Seelisberg','St. Moritz','Unterwasser','Val D\'Illiez','Verbier','Veysonnaz','Villars/gryon','Wengen','Zermatt');var idStation = new Array('4294910230','4294946494','4294897925','4294902371','4294897911','4294897898','4294897850','4294898551','4294947263','4294941833','4294936589','4294938382','4294912032','4294941689','4294910364','4294910489','4294914579','4294902614','4294909709','4294948661','4294945574','4294898536','4294951658','4294937050','4294947016','4294916252','4294950543','4294909702','4294935511','4294944866','4294898106','4294898468','4294943949','4294944026','4294944872','4294911810','4294950724','4294941026');break;}while (document.getElementById('Station').length > 1) {document.getElementById('Station').options[1] = null;}for (i = 0; i < libStation.length; i++) {var select = document.getElementById('Station');select.options[select.options.length] = new Option(libStation[i], idStation[i]);}}
function FillListTheme(){  var libTheme = new Array('Seaside And Countryside','Spa And Wellness','Mountain');  var  idTheme = new Array('9061','9062','9063');  for (i = 0; i < libTheme.length; i++) {      var select = document.getElementById('Theme');      var radioText = document.createElement('span');      radioText.innerHTML = libTheme[i];      var li = document.createElement('li');      li.innerHTML = '<input type="radio" onclick="display_engine('+i+')" name="theme" value="'+idTheme[i]+'" id="'+idTheme[i]+'">';      li.appendChild(radioText);      select.appendChild(li);}}
function FillListAllCountryTHSea(){  var libCountry = new Array('Cyprus','France','Germany','Italy','Morocco','Portugal','Spain','Tunisia');  var  idCountry = new Array('4294898342','4294951879','4294950141','4294951093','4294941941','4294898274','4294951690','4294947832');  for (i = 0; i < libCountry.length; i++) {      var select = document.getElementById('CountryTHSea');      select.options[select.options.length] = new Option(libCountry[i], idCountry[i]);}}
function FillListAllStationTHSea(){  var libStation = new Array('Abzac','Aclou','Agadir','Agay','Agde','Aiguillon Sur Mer','Aiguines','Aillas Le Grand','Aix En Provence','Aix Les Bains','Aizenay','Ajaccio','Ajat','Albé','Alcoceber','Alcossebre','Alénya','Aleria','Alicante','Allemans','Alleyras','Altea','Amboise','Ambon','Ametlla De Mar','Ammerschwihr','Andel','Andernos','Angles','Anglet','Angoulins-Sur-Mer','Antibes','Apt','Arcachon','Arcangues','Ardon','Arès','Argelès Sur Mer','Argeliers','Argentat','Argol','Arles','Ars En Ré','Artolsheim','Arzon','Ascain','Assas','Aubagne','Aubeguimont','Aubignan','Aubigny-Sur-Nère','Audenge','Audierne','Aulus Les Bains','Aureilhan','Auriac Sur Dropt','Auribeau','Autun','Avignon','Avrille','Ayen','Azay Le Rideau','Azille','Azur','Bad Dürrheim','Badesi','Bagat En Quercy','Bagnoles De L\'Orne','Bagnols En Foret','Baillargues','Balanzac','Balaruc Les Bains','Bandol','Bannalec','Banyuls Sur Mer','Barbaste','Barbotan','Bardos','Barjac','Bassignac','Bassussary','Batz Sur Mer','Beaulieu Sur Dordogne','Beaumes De Venise','Beaumont Du Lac','Beaumont Du Périgord','Beaumont Du Ventoux','Beaune','Beaupouyet','Beausoleil','Beauvoir','Beauvoisin','Bedarrides','Beg Meil','Belgodère','Bellegarde','Belle Ile','Belves','Benidorm','Bénodet','Bergerac','Bergheim','Berre Les Alpes','Beynat En Corrèze','Béziers','Biarritz','Bidart','Binic','Biot','Biscarosse','Bitche','Bizanet','Blanes','Blauzac','Boe','Bohal','Bollwiller','Bonmont','Bonnieux','Bon Secours Anduze','Boofzheim','Borgo','Boulleville','Bourbon-Lancy','Bourbriac','Bourgougnague','Bourg Sur Gironde','Branville','Bras','Bravone','Breitenbach','Brem-Sur-Mer','Brétignolles Sur Mer','Bréville-Les-Monts','Brie Sous Mortagne','Brignogan-Plage','Brignoles','Brillac','Brion','Brioude','Brusque','Bueil En Touraine','Buis Les Baronnies','Burie','Cabourg','Cabrieres D\'Avignon','Cabris','Cadenet','Cagnes Sur Mer','Cairanne','Cajarc','Cala Capra','Calcatoggio','Caldes D\'Estrach','Calella','Callas','Callian','Calpe','Calvi','Calvisson','Cambrils','Cancale','Canchy','Cande St Martin','Canet En Roussillon','Cangey','Cannes','Cannigione','Cantaron','Capbreton','Cap Coz','Cap D\'Agde','Cap D\'Ail','Cap Ferret (le)','Cap Fréhel','Carantec','Carcans','Carcassonne','Cargèse','Carhaix','Carnac','Carnon','Carnoules','Carnoux En Provence','Carpentras','Carqueiranne','Carro - La Couronne','Cassano Allo Jonio','Cassen','Casteljaloux','Casteljau','Castellare Di Casinca','Castelmoron Sur Lot','Castelnau-De-Montmiral','Castries','Cattolica','Caumont L\'Evente','Cavalaire','Cayeux Sur Mer','Céaux','Cerbere','Cerisy La Salle','Chalais','Chambonas','Champagne Fontaine','Champtercier','Chateau D\'Olonne','Châteauneuf Du Faou','Châteauneuf-Sur-Isère','Châteaurenard','Chatelaillon Plage','Châtel-Censoir','Chaudes Aigues','Chazemais','Chemillé Sur Indrois','Cherrueix','Cheval Blanc','Ciboure','Civray De Touraine','Clapiers','Clohars-Carnoet','Cogolin','Collinee','Collioure','Collonges-La-Rouge','Colombiers','Coly','Comarruga','Comps','Corneilla La Riviere','Couiza','Courthezon','Courtils','Crestet','Cricqueboeuf','Crozon','Cuers','Cuges Les Pins','Cunit','Curbans','Curzon','Cussay','Cuvat','Dame Marie Les Bois','Damgan','Deauville','Delta Del Ebre','Denia','Die','Dignes Les Bains','Dinan','Dinard','Dives Sur Mer','Djerba','Dol De Bretagne','Domme','Donzenac','Douarnenez','Drachenbronn','Draguignan','Dreuzy','Durfort','Eauze','Eccica Suarella','Egletons','Eguisheim','Eguzon Chantôme','El Jadida','Els Masos De Pals','Empuriabrava','Ennery','Entraygues Sur Truyère','Eppe-Sauvage','Equemauville','Erdeven','Escassefort','Espalion','Essaouira','Estang','Estartit','Estepona','Estipouy','Evran','Excideuil','Eygurande','Eymet','Eyragues','Eze','Fabrègues','Favieres','Fayence','Fendeille','Flassans Sur Issole','Fleac Sur Seugne','Fleurac','Fleurance','Florac','Florence','Fontaine De Vaucluse','Fontanes','Forcalquier','Forges-Les-Eaux','Fort Mahon Plage','Fouesnant','Fouras','Fourques','Fransu','Fréjus','Frontignan Plage','Fumel','Gailhan','Gallargues-Le-Montueux','Gapennes','Gargas','Gassin','Gatuzieres','Gaujac','Ghisonaccia','Gimouille','Golfe Juan','Gondrin','Gondrin En Armagnac','Gonneville Sur Honfleur','Gordes','Gouesnac\'H','Grandcamp-Maisy','Grand Landes','Grand Laviers','Grasse','Gréoux Les Bains','Grimaud','Groix','Grospierres','Grues','Gruissan','Guengat','Guérande','Guidel','Guillaumes','Gujan Mestras','Guzargues','Hammamet','Hasparren','Henansal','Hendaye','Homps','Houlgate','Hourtin','Hyères','Ile De Noirmoutier','Ile De Ré','Ile D\'Oleron','Ile Rousse','Inguiniel','Isigny Sur Mer','Island Of Cavallo','Isle Sur La Sorgue','Isola Rossa','Issac','Istres','Jard Sur Mer','Javea','Jonquerettes','Jonzac','Jouques','Juan Les Pins','Jungholtz','La Azohia','La Barouge','La Bastide Clairence','La Bastide De Sérou','La Baule','Labenne Océan','La Brillanne','La Bussière','La Cadière D\'Azur','La Calmette','Lacanau','La Chapelle Cecelin','La Chapelle Faucher','La Ciotat','La Colle Sur Loup','La Coquille','Lacoste','La Croix Valmer','La Faute Sur Mer','La Forêt-Fouesnant','La Garde Freinet','La Gaude','Lagnes','Lagrand','La Grande Motte','L\'Aiguillon Sur Vie','Lairoux','La Londe Les Maures','La Mole','Lamonzie St Martin','La Motte En Provence','Lanet','Languidic','Lanvaudan','La Palmyre','Lapenty','La Pommeraye','La Rochelle','La Roque D\'Anthéron','La Roque- Gageac','La Roque-Sur-Pernes','La Roquette Sur Siagne','La Salvetat','La Serpent','La Seyne Sur Mer','La Tranche Sur Mer','La Trinité Sur Mer','Lattes','La Turballe','Laurac En Vivarais','Laval De Cere','La Valette Du Var','La Voute Chilhac','Le Barcarès','Le Beausset','Le Bois Plage En Ré','Le Bono','Le Bugue','Le Canet - Sainte Marie','Le Cannet','Le Change','Le Croisic','Le Crotoy','Le Grau Du Roi','Le Guilvinec','Le Lavandou','Le Ledat','Le Longeron','Le Neubourg','Leon','Le Porge','Le Pouldu','Le Pouliguen','Le Pradet','Les Adrets De L\'Esterel','Les Aires','Les Arcs Sur Argens','Les Baux De Provence','L\'Escala','Les Issambres','Les Mathes','Les Montils','Les Moutiers-En-Retz','Les Sables D\'Olonne','Les Saintes Maries De La Mer','Le Teich','Le Thor','Le Thoronet','Le Tignet','Le Touquet','Le Trayas','Le Tronchet','Leucate','Le Vaudelnay','Le Verdon Sur Mer','Licy Clignon','Ligre','L\'Ile Aux Moines','L\'Ile D\'Aix','Limassol','Lloret De Mar','Loches','Locmaria-Plouzane','Locqueltas','Locquirec','Loctudy','Longeville Sur Mer','Lorignac','Lourmarin','Luvigny','Macinaggio','Madrid','Mahdia','Malataverne/lussan','Malaucene','Malgrat De Mar','Mallemort','Mandelieu La Napoule','Manilva','Maniquerville','Manosques','Marans','Marbella','Marciac','Marignane','Marina Di Ginosa','Marinella Di Cutro','Marrakech','Marseillan','Martel-Gluges','Martigny','Martigues','Marvejols','Masquieres','Masseube','Maubec','Maupertuis','Mauriac','Mauvezin','Mazan','Meillac','Mejannes Les Ales','Mellieres','Ménerbes','Menton','Merindol','Mesnil Saint Père','Messanges','Meymac','Meyrueis','Méze','Mézin','Miami Playa','Migron','Mijas Costa','Millau','Millieres','Mimizan','Mirabeau','Moelan Sur Mer','Moliets','Monclar De Quercy','Moncontour','Moncoutant','Monestier','Monfaucon','Monflanquin','Monnaie','Monpazier','Montagnac','Montagnac Montpezat','Montagrier','Montaren Et St Mediers','Montauroux','Montbellet','Montblanc','Montbrun Les Bains','Montendre Les Pins','Montesilvano','Monteux','Montfrin','Monticello','Montignac','Montigny En Morvan','Montpellier','Montreal','Montréal Du Gers','Mont-Roig','Mont-Roig Del Camp','Montsoreau','Mooslargue','Morgat','Morieres Les Avignon','Mortagne','Mouans Sartoux','Mougins','Mouries','Moussac','Moutiers Les Mauxfaits','Moyon','Murs','Najac','Nant','Narbonne Plage','Navajas','Nedde','Neoules','Nérac','Neuille','Neuvic D\'Ussel','Neuwiller Les Saverne','Nice','Nîmes','Nolay','Nontron','Norrey En Auge','Notre Dame De Cenilly','Notre Dame De Monts','Noves','Nyons','Oberbronn','Obermodern','Obernai','Olmeto','Ondres','Onesse-Et-Laharie','Oppèdes','Orange','Ornaissons','Orouet','Ouistreham','Ozolles','Palamos','Palau','Palavas Les Flots','Parcoul','Pardeillan','Parent','Parentis En Born','Paris','Partinello','Pau','Payzac','Paziols','Pego','Pénestin','Peniscola','Pentrez Plage','Perigueux','Pernes Les Fontaines','Pérols','Perros Guirec','Pertuis','Pezilla La Riviere','Pineda De Mar','Pineuilh','Piolenc','Placassier','Plan De La Tour','Platja D\'Aro','Playa De Pals','Pleboulle','Plenee Jugon','Plescop','Pleslin-Trigavou','Pleubian','Pleudihen','Plobannalec','Ploemeur','Ploeuc Sur Lie','Plogastel St Germain','Plomelin','Plomeur','Ploubazlanec','Plouezec','Plougasnou','Plougescant','Plougonvelin','Poggio Mezzana','Pompignan','Pontaillac','Pont Aven','Pont De Salars','Pont Royal','Pornic','Pornichet','Port-Bail','Port Barcarès','Port Camargue','Port Cogolin','Port Crouesty','Port D\'Albret','Port El Kantaoui','Port En Bessin','Port Fréjus','Porticcio','Portiragne','Port La Nouvelle','Porto','Porto Pollo','Porto Vecchio','Portoverde Di Misano Adriatico','Port Ste Foy','Prats-De-Mollo-La-Preste','Prayssac','Prigonrieux','Puch D\'Agenais','Puget','Puymeras','Pyla Sur Mer','Quiberon','Quinson','Rambouillet','Régusse','Reipertswiller','Reminiac','Réquista','Riccione','Richelieu','Ricourt','Rignac','Rillé','Rimini','Rivedoux Plage','Riviere','Rivières','Robion','Rocamadour','Rochefort En Terre','Rocheserviere','Roguefort Les Pins','Roiffé Fontevraud','Romegoux','Romescamps','Ronce-Les-Bains','Roquebrune','Roquebrune Cap-Martin','Roquebrune Sur Argens','Rosas','Roscanvel','Roscoff','Rousset','Royan','Royat','Roz Landrieux','Roz-Sur-Couesnon','Saint André Des Eaux','Saint Aygulf','Saint Beauzeil','Saint Blaise','Saint Brevin Les Pins','Saint Brevin L\'Océan','Saint Briac','Saint Cannat','Saint Cezaire','Saint Cyprien','Saint Cyr','Sainte Cécile Les Vignes','Sainte Féréole','Sainte-Lucie-De-Porto-Vecchio','Sainte Marie De Ré','Sainte Maxime','Sainte Suzanne','Saint Etienne De Baïgorry','Saint Etienne Les Orgues','Saint Gast Le Guildo','Saint Geniès','Saint Geniez D\'Olt','Saint Georges De Didonne','Saint Georges D\'Oleron','Saint Germain De Calberte','Saint Girons Plage','Saint Hilaire De Riez','Saint Jacut De La Mer','Saint Jean D\'Ardières','Saint Jean De Luz','Saint Jean De Monts','Saint Jean D\'Illac','Saint Jean Du Bruel','Saint Jean La Vetre','Saint Jean Pied De Port','Saint Julien En Born','Saint Laurent De La Cabrerisse','Saint Laurent Du Var','Saint Malo','Saint Mandrier Sur Mer','Saint Martial De Nabirat','Saint Martin D\'Ardèche','Saint Maurice D\'Ardèche','Saint Michel Chef Chef','Saint Palais Sur Mer','Saint Paul De Vence','Saint Pierre La Mer','Saint Pol De Léon','Saint Rabier','Saint Raphael','Saint Remy De Provence','Saint Rémy Sur Durolle','Saint-Salvy De La Balme','Saint Saturnin Les Apt','Saint Saturnin Les Avignon','Saint Simon','Saint Trinit','Saint Trojan Les Bains','Saint Tropez','Saint Vincent Sur Jard','Saint Yvi','Saissac','Salignac Eyvigues','Salleles D\'Aude','Salles Curan','Salou','Salperwick','Samodães','Sanary','San Nicolao','Santa Maria Poggio','Santa Susanna','Santa Teresa Di Gallura','Sant Carles De La Rapita','Sant Feliu De Guíxols','Sare','Sarlat La Caneda','Sarzeau','Saumur','Sauve','Sauveterre De Bearn','Scaer','Seguret','Seillans','Seine-Port','Senechas','Senonches','Serra Di Ferro','Servian','Sète','Sigean','Signes','Sigonce','Six Fours','Solaize','Solenzara','Solliès-Toucas','Sorede','Sorges-En-Périgord','Souillac','Soulac-Sur-Mer','Souraïde','Sourdeval','Sourzac','Sousse','Soustons Plage','St Anne Du Castellet','St Antoine','St Astier','St Augustin S/mer','St Avit Senieur','St Bauzille De Montmel','St Bonnet Du Gard','St Chamas','St Denis De Vaux','Ste Flaive Des Loups','Ste Orse','St Evarzec','St Fort St Jean D\'Angle','St Génies De Comolas','St Genies De Malgoires','St Georges Sur Loire','St Germain De La Riviere','St Germain Du Pert','St Gervais','St Gilles','St Honorine Du Fay','St Jean De Beugne','St Jean De Duras','St Jean D\'Eyraud','St Jean La Poterie','St Julien De Crempse','St Julien Les Rosiers','St Just Luzac','St Marcellin Les Vaison','St Mars La Reorthe','St Martin Des Champs','St Mathurin','St Maurice En Cotentin','St Medard','St Mitre Les Remparts','St Pantaleon','St Paul En Foret','St Paul La Coste','St Pee Sur Nivelle','St Pierre D\'Irube','St Projet','St Quentin De Caplong','St Radegonde Des Noyers','Strasbourg','St Reverend','St Saud Lacoussiere','St Savinien','St Siffret','St Sulpice','St Vivien De Monsegur','Sundhouse','Taden','Talais','Talmont.gironde','Talmont Saint Hilaire','Tamarit','Tarragona','Taulis','Taupont','Tautavel','Tavant','Tayac','Tence','Tenerife','Terrasson','Tetouan','Thenac','Thenon','Théoule','Thones','Thury','Tizzano','Tonnay Boutonne','Torre Canne Di Fasano','Torreilles','Tossa Del Mar','Touet Sur Var','Toulon','Toulouse','Tourouzelle','Tourrettes','Tourves','Tozeur','Trébas Les Bains','Trégastel','Tréguier','Trégunc','Tremolat','Triaize','Trinita D\'Agultu','Trogues','Trouville','Urbeis','Urrugne','Uzès','Vacqueyras','Vaire','Vaison La Romaine','Val D\'Azur','Valencay','Valence','Valescure','Vallon Pont D\'Arc','Valras Plage','Vandré','Varreddes','Vauban','Velaux','Velturno / Feldthurns','Venaco','Venansault','Venasque','Vence','Vendres','Venise','Vensac','Verargues','Verdun-En-Lauragais','Versailles','Veules-Les-Roses','Vias','Vichy','Vic La Gardiole','Vico','Vidauban','Vieux Boucau','Vilanova','Villac','Villamblard','Villars','Villars Les Bois','Villecroze Les Grottes','Villefranche Du Perigord','Villefranche Sur Mer','Villegusien Le Lac','Villelongue De La Salanque','Villeneuve-Les-Avignon','Villeneuve Loubet','Villerach','Villeréal','Villers Sur Mer','Villespassans','Villetelle','Vinaissan','Vinca','Volonne','Zarzis','Zonza');  var  idStation = new Array('4294900406','4294901376','4294941097','4294949458','4294908118','4294943963','4294946942','4294901038','4294946849','4294899120','4294900666','4294945848','4294901856','4294907967','4294948016','4294908835','4294950408','4294944692','4294949665','4294900515','4294907156','4294903038','4294951778','4294908654','4294945282','4294948408','4294900719','4294950009','4294899759','4294951050','4294902857','4294951308','4294899488','4294951032','4294944494','4294902351','4294950849','4294949471','4294901499','4294944404','4294945920','4294949939','4294945900','4294899663','4294900116','4294900733','4294900931','4294902476','4294901435','4294944578','4294945320','4294944176','4294947089','4294907996','4294947141','4294899531','4294901516','4294947132','4294947447','4294899822','4294944593','4294947161','4294945249','4294899899','4294942505','4294898305','4294899986','4294941735','4294901986','4294950090','4294900784','4294948846','4294941467','4294900881','4294907302','4294946986','4294950225','4294899913','4294899292','4294908285','4294906419','4294948991','4294902459','4294899634','4294901915','4294944042','4294901612','4294945946','4294900193','4294907902','4294948351','4294903270','4294900349','4294950699','4294946698','4294900843','4294946417','4294906705','4294945126','4294948176','4294946471','4294947048','4294903217','4294946833','4294948967','4294950682','4294907718','4294908071','4294946889','4294948570','4294945167','4294901328','4294945987','4294903298','4294950774','4294900094','4294951899','4294949445','4294944923','4294901582','4294945373','4294948833','4294947727','4294901952','4294901849','4294900060','4294900464','4294949925','4294902523','4294947508','4294900989','4294945327','4294949793','4294950310','4294900770','4294946240','4294949703','4294944359','4294899869','4294944320','4294908278','4294901892','4294947757','4294900124','4294948374','4294901243','4294900916','4294901094','4294908818','4294898418','4294947154','4294906925','4294908049','4294907206','4294946620','4294949715','4294909005','4294945940','4294951171','4294906676','4294947514','4294944500','4294901151','4294901635','4294950164','4294899774','4294950354','4294906918','4294901670','4294948110','4294945657','4294949412','4294949439','4294908933','4294908560','4294950816','4294950082','4294946706','4294944809','4294901538','4294950076','4294950736','4294900827','4294949103','4294900392','4294903224','4294946725','4294902848','4294944757','4294947690','4294945367','4294943982','4294907427','4294908843','4294947733','4294908009','4294901691','4294951254','4294946793','4294902074','4294950760','4294900696','4294903104','4294907958','4294901575','4294907329','4294946536','4294945267','4294909032','4294903231','4294908056','4294945788','4294908152','4294946113','4294944294','4294901720','4294900588','4294949496','4294899693','4294946327','4294899429','4294899606','4294899597','4294950070','4294908271','4294905510','4294947412','4294946743','4294901031','4294903195','4294903277','4294903166','4294946013','4294900178','4294899057','4294902556','4294899386','4294901492','4294945994','4294908095','4294900900','4294901017','4294901003','4294901165','4294907487','4294949390','4294948857','4294945961','4294945210','4294950362','4294902722','4294941442','4294949359','4294947848','4294950170','4294900909','4294944300','4294949405','4294899472','4294903140','4294901101','4294944048','4294908689','4294907798','4294908042','4294947354','4294908801','4294898076','4294908793','4294950458','4294898872','4294947684','4294908676','4294898404','4294944905','4294900053','4294908226','4294898947','4294944603','4294948901','4294945651','4294944314','4294900763','4294899717','4294908858','4294899950','4294899613','4294906732','4294944388','4294901180','4294908635','4294900046','4294899401','4294900508','4294900834','4294908308','4294908301','4294951109','4294900874','4294903188','4294944191','4294944794','4294948564','4294899573','4294949153','4294907814','4294901200','4294950401','4294948368','4294901074','4294907829','4294945017','4294901187','4294901010','4294950064','4294901265','4294948415','4294945530','4294899017','4294907084','4294899979','4294945465','4294905501','4294946843','4294901749','4294908035','4294899539','4294945361','4294944634','4294907193','4294949116','4294945355','4294947095','4294900363','4294947629','4294901642','4294946369','4294945387','4294947637','4294949109','4294899958','4294942073','4294900595','4294901524','4294949489','4294945101','4294949825','4294950876','4294951265','4294944482','4294950636','4294950882','4294946141','4294903111','4294901116','4294945088','4294950601','4294948688','4294900530','4294903284','4294946338','4294909138','4294900820','4294949399','4294903291','4294950298','4294898193','4294944079','4294902919','4294950912','4294945034','4294949843','4294944433','4294901060','4294908159','4294944326','4294900342','4294950474','4294901130','4294899937','4294946934','4294907937','4294899502','4294900471','4294950292','4294902037','4294946457','4294900133','4294898049','4294901420','4294908338','4294951324','4294947662','4294900659','4294944917','4294907124','4294901531','4294902004','4294901656','4294900270','4294901506','4294949721','4294901478','4294946857','4294949541','4294906759','4294899781','4294907895','4294899413','4294948894','4294901605','4294907148','4294950594','4294948070','4294945417','4294908983','4294906857','4294944306','4294900420','4294945835','4294946465','4294900680','4294951193','4294901485','4294945379','4294949761','4294950753','4294900996','4294946351','4294946423','4294950380','4294908617','4294950341','4294899737','4294900638','4294901390','4294948104','4294899456','4294949787','4294948380','4294949168','4294901812','4294899724','4294899349','4294948973','4294908887','4294949851','4294909012','4294899480','4294944170','4294949569','4294946922','4294946805','4294901457','4294948314','4294901081','4294949563','4294899371','4294905494','4294950688','4294900968','4294948888','4294900074','4294901257','4294950788','4294949919','4294898354','4294949318','4294949383','4294947745','4294901053','4294901980','4294948510','4294949748','4294900798','4294903239','4294900710','4294944704','4294902793','4294942001','4294903313','4294901406','4294908871','4294949528','4294951238','4294908967','4294946690','4294900747','4294946863','4294945333','4294949483','4294901727','4294908642','4294902903','4294908397','4294941222','4294908324','4294901449','4294946964','4294945841','4294901367','4294944552','4294899890','4294900457','4294944267','4294945132','4294900429','4294901899','4294903321','4294901343','4294899378','4294949432','4294900673','4294908345','4294948670','4294946913','4294908211','4294906864','4294944880','4294947430','4294899559','4294906664','4294946975','4294901272','4294950864','4294899767','4294948094','4294950628','4294947702','4294899256','4294950028','4294899944','4294900208','4294948212','4294901158','4294906764','4294908896','4294906753','4294901398','4294902570','4294947148','4294900436','4294945873','4294908240','4294946902','4294902937','4294900157','4294900602','4294951149','4294948839','4294948929','4294950676','4294899627','4294946736','4294945591','4294945216','4294901314','4294944056','4294949727','4294903210','4294900791','4294949346','4294901559','4294946714','4294901621','4294901770','4294899814','4294908331','4294945041','4294905136','4294948979','4294906626','4294906652','4294900923','4294946672','4294900960','4294905030','4294900377','4294948191','4294907859','4294901067','4294946665','4294901024','4294899965','4294948400','4294903256','4294947168','4294944530','4294900551','4294908173','4294947345','4294947719','4294909122','4294903365','4294946608','4294900067','4294900492','4294907738','4294901878','4294908879','4294898664','4294948421','4294901799','4294899685','4294908187','4294947370','4294946593','4294944846','4294946300','4294900559','4294899884','4294944776','4294949741','4294948008','4294946813','4294901335','4294900356','4294950747','4294947765','4294903158','4294901885','4294947386','4294901545','4294900014','4294900609','4294948957','4294945952','4294947392','4294900703','4294899701','4294908028','4294899806','4294901087','4294900450','4294901471','4294906778','4294901307','4294901677','4294900327','4294900254','4294899524','4294900443','4294944911','4294898139','4294947739','4294944899','4294903181','4294949813','4294900335','4294946763','4294948642','4294951160','4294950918','4294945349','4294950550','4294948427','4294945928','4294948393','4294945393','4294907218','4294949368','4294942252','4294950261','4294948617','4294948203','4294944739','4294951143','4294951361','4294946786','4294900975','4294908219','4294948882','4294900859','4294901684','4294901427','4294900624','4294907133','4294949353','4294908064','4294944198','4294908959','4294900982','4294901871','4294944818','4294947623','4294944640','4294901413','4294947042','4294944488','4294945303','4294905473','4294899829','4294907782','4294901835','4294947711','4294950316','4294899580','4294899510','4294899263','4294901820','4294900246','4294950333','4294899906','4294950395','4294950730','4294948935','4294903126','4294947811','4294946658','4294907710','4294944184','4294903133','4294908695','4294906932','4294948357','4294944545','4294899421','4294944410','4294905487','4294950832','4294944979','4294900740','4294950802','4294901742','4294947502','4294907989','4294908378','4294908925','4294950612','4294908233','4294908194','4294948985','4294908941','4294908102','4294950670','4294948453','4294950888','4294945009','4294907983','4294948997','4294901591','4294947203','4294948218','4294949806','4294947418','4294906870','4294908180','4294944092','4294899356','4294945736','4294948185','4294948231','4294945186','4294906905','4294908125','4294906897','4294948386','4294949800','4294902514','4294947961','4294944536','4294898167','4294950389','4294946577','4294943955','4294902988','4294902801','4294950808','4294907091','4294903045','4294908111','4294903392','4294949754','4294907140','4294908316','4294946602','4294907375','4294908084','4294948077','4294946037','4294898286','4294949003','4294951056','4294907976','4294946614','4294898318','4294907806','4294907212','4294945082','4294947949','4294949779','4294946044','4294950843','4294899546','4294901568','4294900384','4294901293','4294907951','4294907852','4294908570','4294946819','4294900150','4294944033','4294944770','4294908662','4294947648','4294949424','4294898042','4294907174','4294946870','4294907098','4294908352','4294902483','4294950794','4294949834','4294901706','4294900566','4294902357','4294948002','4294903372','4294901763','4294899678','4294899843','4294900200','4294899710','4294903263','4294900500','4294901214','4294899566','4294900851','4294900225','4294901285','4294900300','4294903328','4294901842','4294899649','4294900581','4294899791','4294907822','4294899836','4294899464','4294900726','4294901321','4294900101','4294900537','4294900652','4294901383','4294901713','4294900645','4294899730','4294901250','4294902531','4294900108','4294907836','4294901278','4294901300','4294899860','4294899449','4294900142','4294899993','4294901698','4294900631','4294946319','4294899876','4294900086','4294900805','4294899495','4294900889','4294901756','4294899656','4294901442','4294901228','4294899972','4294949547','4294906726','4294899339','4294900277','4294907764','4294905143','4294901792','4294900007','4294908865','4294907389','4294899751','4294941959','4294900777','4294900573','4294949579','4294900239','4294901221','4294898962','4294945243','4294944470','4294948433','4294949451','4294907790','4294945538','4294907365','4294900544','4294947655','4294900022','4294906685','4294903014','4294947055','4294949147','4294902048','4294901663','4294898124','4294944453','4294899591','4294949375','4294899670','4294949477','4294906878','4294900292','4294901236','4294902751','4294899853','4294908145','4294899233','4294949418','4294948951','4294950705','4294948445','4294902175','4294901207','4294898131','4294902884','4294948610','4294902497','4294903306','4294901552','4294951271','4294941346','4294902547','4294900478','4294945204','4294944511','4294946007','4294949161','4294941509','4294948439','4294945399','4294902490','4294949465','4294944891','4294900867','4294901784','4294901806','4294899744','4294903342','4294945341','4294944398','4294950578','4294900370','4294908018','4294949767','4294899553','4294906788','4294949819','4294899620','4294901777','4294899517','4294901827','4294907117','4294940998','4294909177');  for (i = 0; i < libStation.length; i++) {      var select = document.getElementById('StationTHSea');      select.options[select.options.length] = new Option(libStation[i], idStation[i]);}}
function FillListDateTHSea(){  var libDate = new Array('Saturday 11 Sep 2010','Saturday 18 Sep 2010','Saturday 25 Sep 2010','Saturday 02 Oct 2010','Saturday 09 Oct 2010','Saturday 16 Oct 2010','Saturday 23 Oct 2010','Saturday 30 Oct 2010','Saturday 06 Nov 2010','Saturday 13 Nov 2010','Saturday 20 Nov 2010','Saturday 27 Nov 2010','Saturday 04 Dec 2010','Saturday 11 Dec 2010','Saturday 18 Dec 2010','Saturday 25 Dec 2010','Saturday 01 Jan 2011','Saturday 08 Jan 2011','Saturday 15 Jan 2011','Saturday 22 Jan 2011','Saturday 29 Jan 2011','Saturday 05 Feb 2011','Saturday 12 Feb 2011','Saturday 19 Feb 2011','Saturday 26 Feb 2011','Saturday 05 Mar 2011','Saturday 12 Mar 2011','Saturday 19 Mar 2011','Saturday 26 Mar 2011','Saturday 02 Apr 2011','Saturday 09 Apr 2011','Saturday 16 Apr 2011','Saturday 23 Apr 2011','Saturday 30 Apr 2011','Saturday 07 May 2011','Saturday 14 May 2011','Saturday 21 May 2011','Saturday 28 May 2011','Saturday 04 Jun 2011','Saturday 11 Jun 2011','Saturday 18 Jun 2011','Saturday 25 Jun 2011','Saturday 02 Jul 2011','Saturday 09 Jul 2011','Saturday 16 Jul 2011','Saturday 23 Jul 2011','Saturday 30 Jul 2011','Saturday 06 Aug 2011','Saturday 13 Aug 2011','Saturday 20 Aug 2011','Saturday 27 Aug 2011','Saturday 03 Sep 2011');  var  idDate = new Array('4294918435;4294916680','4294918433;4294916680','4294918442;4294916680','4294918469;4294918408','4294918467;4294918408','4294918466;4294918408','4294918465;4294918408','4294918464;4294918408','4294918462;4294911318','4294918461;4294911318','4294918459;4294911318','4294918458;4294911318','4294918438;4294909773','4294918435;4294909773','4294918433;4294909773','4294918442;4294909773','4294918439;4294909794','4294918436;4294909794','4294918434;4294909794','4294918443;4294909794','4294918441;4294909794','4294918446;4294909793','4294918454;4294909793','4294918452;4294909793','4294918451;4294909793','4294918446;4294909792','4294918454;4294909792','4294918452;4294909792','4294918451;4294909792','4294918469;4294909775','4294918467;4294909775','4294918466;4294909775','4294918465;4294909775','4294918464;4294909775','4294918437;4294904933','4294918449;4294904933','4294918448;4294904933','4294918447;4294904933','4294918438;4294902705','4294918435;4294902705','4294918433;4294902705','4294918442;4294902705','4294918469;4294898957','4294918467;4294898957','4294918466;4294898957','4294918465;4294898957','4294918464;4294898957','4294918462;4294898432','4294918461;4294898432','4294918459;4294898432','4294918458;4294898432','4294918456;4294897657');  for (i = 0; i < libDate.length; i++) {      var select = document.getElementById('DateTHSea');      select.options[select.options.length] = new Option(libDate[i], idDate[i]);}}
function FillListDurationTHSea(){  var libDuration = new Array('1 night','2 nights','3 nights','4 nights','5 nights','6 nights','1 week','8 nights','9 nights','10 nights','11 nights','12 nights','13 nights','2 weeks','3 weeks or more');  var  idDuration = new Array('8553','8555','8938','8939','8940','8941','8554','8751','8942','8943','8944','8945','8946','8556','8557');  for (i = 0; i < libDuration.length; i++) {      var select = document.getElementById('DurationTHSea');      select.options[select.options.length] = new Option(libDuration[i], idDuration[i]);      if (i==6) { select.options[select.options.length-1].selected = 'True'; }}}
function SubmitTHSea(){currentUrl = new String(document.location);currentCulture = currentUrl.split('/')[3];leadingParam = currentUrl.split('?')[1];if (currentCulture == '#') currentUrl = currentUrl.substring(0,currentUrl.length -1 );var duree = document.getElementById('DurationTHSea').options[document.getElementById('DurationTHSea').selectedIndex].value;var country = '';if (document.getElementById('CountryTHSea').selectedIndex > 0) country = '-' + document.getElementById('CountryTHSea').options[document.getElementById('CountryTHSea').selectedIndex].value;var station = '';if (document.getElementById('StationTHSea').selectedIndex > 0) station = '-' + document.getElementById('StationTHSea').options[document.getElementById('StationTHSea').selectedIndex].value;var theme = '';if (getSelectedRadioValue(document.form1.theme) != '') theme = '-' + getSelectedRadioValue(document.form1.theme);var date = '';if (document.getElementById('DateTHSea').selectedIndex > 0) {var month = document.getElementById('DateTHSea').options[document.getElementById('DateTHSea').selectedIndex].value.split(';')[1];var day = document.getElementById('DateTHSea').options[document.getElementById('DateTHSea').selectedIndex].value.split(';')[0];date = '-' + month + '-' + day;}var dsnav = '?dsNav=N:';if (leadingParam != null && leadingParam.length > 0) {dsnav = '&dsNav=N:';}window.location = currentUrl + dsnav + duree + country + station + theme + date;}
function ChoixTHSea(){var i = document.getElementById('CountryTHSea').selectedIndex;switch(i){case 0 : var libStation = new Array('Abzac','Aclou','Agadir','Agay','Agde','Aiguillon Sur Mer','Aiguines','Aillas Le Grand','Aix En Provence','Aix Les Bains','Aizenay','Ajaccio','Ajat','Albé','Alcoceber','Alcossebre','Alénya','Aleria','Alicante','Allemans','Alleyras','Altea','Amboise','Ambon','Ametlla De Mar','Ammerschwihr','Andel','Andernos','Angles','Anglet','Angoulins-Sur-Mer','Antibes','Apt','Arcachon','Arcangues','Ardon','Arès','Argelès Sur Mer','Argeliers','Argentat','Argol','Arles','Ars En Ré','Artolsheim','Arzon','Ascain','Assas','Aubagne','Aubeguimont','Aubignan','Aubigny-Sur-Nère','Audenge','Audierne','Aulus Les Bains','Aureilhan','Auriac Sur Dropt','Auribeau','Autun','Avignon','Avrille','Ayen','Azay Le Rideau','Azille','Azur','Bad Dürrheim','Badesi','Bagat En Quercy','Bagnoles De L\'Orne','Bagnols En Foret','Baillargues','Balanzac','Balaruc Les Bains','Bandol','Bannalec','Banyuls Sur Mer','Barbaste','Barbotan','Bardos','Barjac','Bassignac','Bassussary','Batz Sur Mer','Beaulieu Sur Dordogne','Beaumes De Venise','Beaumont Du Lac','Beaumont Du Périgord','Beaumont Du Ventoux','Beaune','Beaupouyet','Beausoleil','Beauvoir','Beauvoisin','Bedarrides','Beg Meil','Belgodère','Bellegarde','Belle Ile','Belves','Benidorm','Bénodet','Bergerac','Bergheim','Berre Les Alpes','Beynat En Corrèze','Béziers','Biarritz','Bidart','Binic','Biot','Biscarosse','Bitche','Bizanet','Blanes','Blauzac','Boe','Bohal','Bollwiller','Bonmont','Bonnieux','Bon Secours Anduze','Boofzheim','Borgo','Boulleville','Bourbon-Lancy','Bourbriac','Bourgougnague','Bourg Sur Gironde','Branville','Bras','Bravone','Breitenbach','Brem-Sur-Mer','Brétignolles Sur Mer','Bréville-Les-Monts','Brie Sous Mortagne','Brignogan-Plage','Brignoles','Brillac','Brion','Brioude','Brusque','Bueil En Touraine','Buis Les Baronnies','Burie','Cabourg','Cabrieres D\'Avignon','Cabris','Cadenet','Cagnes Sur Mer','Cairanne','Cajarc','Cala Capra','Calcatoggio','Caldes D\'Estrach','Calella','Callas','Callian','Calpe','Calvi','Calvisson','Cambrils','Cancale','Canchy','Cande St Martin','Canet En Roussillon','Cangey','Cannes','Cannigione','Cantaron','Capbreton','Cap Coz','Cap D\'Agde','Cap D\'Ail','Cap Ferret (le)','Cap Fréhel','Carantec','Carcans','Carcassonne','Cargèse','Carhaix','Carnac','Carnon','Carnoules','Carnoux En Provence','Carpentras','Carqueiranne','Carro - La Couronne','Cassano Allo Jonio','Cassen','Casteljaloux','Casteljau','Castellare Di Casinca','Castelmoron Sur Lot','Castelnau-De-Montmiral','Castries','Cattolica','Caumont L\'Evente','Cavalaire','Cayeux Sur Mer','Céaux','Cerbere','Cerisy La Salle','Chalais','Chambonas','Champagne Fontaine','Champtercier','Chateau D\'Olonne','Châteauneuf Du Faou','Châteauneuf-Sur-Isère','Châteaurenard','Chatelaillon Plage','Châtel-Censoir','Chaudes Aigues','Chazemais','Chemillé Sur Indrois','Cherrueix','Cheval Blanc','Ciboure','Civray De Touraine','Clapiers','Clohars-Carnoet','Cogolin','Collinee','Collioure','Collonges-La-Rouge','Colombiers','Coly','Comarruga','Comps','Corneilla La Riviere','Couiza','Courthezon','Courtils','Crestet','Cricqueboeuf','Crozon','Cuers','Cuges Les Pins','Cunit','Curbans','Curzon','Cussay','Cuvat','Dame Marie Les Bois','Damgan','Deauville','Delta Del Ebre','Denia','Die','Dignes Les Bains','Dinan','Dinard','Dives Sur Mer','Djerba','Dol De Bretagne','Domme','Donzenac','Douarnenez','Drachenbronn','Draguignan','Dreuzy','Durfort','Eauze','Eccica Suarella','Egletons','Eguisheim','Eguzon Chantôme','El Jadida','Els Masos De Pals','Empuriabrava','Ennery','Entraygues Sur Truyère','Eppe-Sauvage','Equemauville','Erdeven','Escassefort','Espalion','Essaouira','Estang','Estartit','Estepona','Estipouy','Evran','Excideuil','Eygurande','Eymet','Eyragues','Eze','Fabrègues','Favieres','Fayence','Fendeille','Flassans Sur Issole','Fleac Sur Seugne','Fleurac','Fleurance','Florac','Florence','Fontaine De Vaucluse','Fontanes','Forcalquier','Forges-Les-Eaux','Fort Mahon Plage','Fouesnant','Fouras','Fourques','Fransu','Fréjus','Frontignan Plage','Fumel','Gailhan','Gallargues-Le-Montueux','Gapennes','Gargas','Gassin','Gatuzieres','Gaujac','Ghisonaccia','Gimouille','Golfe Juan','Gondrin','Gondrin En Armagnac','Gonneville Sur Honfleur','Gordes','Gouesnac\'H','Grandcamp-Maisy','Grand Landes','Grand Laviers','Grasse','Gréoux Les Bains','Grimaud','Groix','Grospierres','Grues','Gruissan','Guengat','Guérande','Guidel','Guillaumes','Gujan Mestras','Guzargues','Hammamet','Hasparren','Henansal','Hendaye','Homps','Houlgate','Hourtin','Hyères','Ile De Noirmoutier','Ile De Ré','Ile D\'Oleron','Ile Rousse','Inguiniel','Isigny Sur Mer','Island Of Cavallo','Isle Sur La Sorgue','Isola Rossa','Issac','Istres','Jard Sur Mer','Javea','Jonquerettes','Jonzac','Jouques','Juan Les Pins','Jungholtz','La Azohia','La Barouge','La Bastide Clairence','La Bastide De Sérou','La Baule','Labenne Océan','La Brillanne','La Bussière','La Cadière D\'Azur','La Calmette','Lacanau','La Chapelle Cecelin','La Chapelle Faucher','La Ciotat','La Colle Sur Loup','La Coquille','Lacoste','La Croix Valmer','La Faute Sur Mer','La Forêt-Fouesnant','La Garde Freinet','La Gaude','Lagnes','Lagrand','La Grande Motte','L\'Aiguillon Sur Vie','Lairoux','La Londe Les Maures','La Mole','Lamonzie St Martin','La Motte En Provence','Lanet','Languidic','Lanvaudan','La Palmyre','Lapenty','La Pommeraye','La Rochelle','La Roque D\'Anthéron','La Roque- Gageac','La Roque-Sur-Pernes','La Roquette Sur Siagne','La Salvetat','La Serpent','La Seyne Sur Mer','La Tranche Sur Mer','La Trinité Sur Mer','Lattes','La Turballe','Laurac En Vivarais','Laval De Cere','La Valette Du Var','La Voute Chilhac','Le Barcarès','Le Beausset','Le Bois Plage En Ré','Le Bono','Le Bugue','Le Canet - Sainte Marie','Le Cannet','Le Change','Le Croisic','Le Crotoy','Le Grau Du Roi','Le Guilvinec','Le Lavandou','Le Ledat','Le Longeron','Le Neubourg','Leon','Le Porge','Le Pouldu','Le Pouliguen','Le Pradet','Les Adrets De L\'Esterel','Les Aires','Les Arcs Sur Argens','Les Baux De Provence','L\'Escala','Les Issambres','Les Mathes','Les Montils','Les Moutiers-En-Retz','Les Sables D\'Olonne','Les Saintes Maries De La Mer','Le Teich','Le Thor','Le Thoronet','Le Tignet','Le Touquet','Le Trayas','Le Tronchet','Leucate','Le Vaudelnay','Le Verdon Sur Mer','Licy Clignon','Ligre','L\'Ile Aux Moines','L\'Ile D\'Aix','Limassol','Lloret De Mar','Loches','Locmaria-Plouzane','Locqueltas','Locquirec','Loctudy','Longeville Sur Mer','Lorignac','Lourmarin','Luvigny','Macinaggio','Madrid','Mahdia','Malataverne/lussan','Malaucene','Malgrat De Mar','Mallemort','Mandelieu La Napoule','Manilva','Maniquerville','Manosques','Marans','Marbella','Marciac','Marignane','Marina Di Ginosa','Marinella Di Cutro','Marrakech','Marseillan','Martel-Gluges','Martigny','Martigues','Marvejols','Masquieres','Masseube','Maubec','Maupertuis','Mauriac','Mauvezin','Mazan','Meillac','Mejannes Les Ales','Mellieres','Ménerbes','Menton','Merindol','Mesnil Saint Père','Messanges','Meymac','Meyrueis','Méze','Mézin','Miami Playa','Migron','Mijas Costa','Millau','Millieres','Mimizan','Mirabeau','Moelan Sur Mer','Moliets','Monclar De Quercy','Moncontour','Moncoutant','Monestier','Monfaucon','Monflanquin','Monnaie','Monpazier','Montagnac','Montagnac Montpezat','Montagrier','Montaren Et St Mediers','Montauroux','Montbellet','Montblanc','Montbrun Les Bains','Montendre Les Pins','Montesilvano','Monteux','Montfrin','Monticello','Montignac','Montigny En Morvan','Montpellier','Montreal','Montréal Du Gers','Mont-Roig','Mont-Roig Del Camp','Montsoreau','Mooslargue','Morgat','Morieres Les Avignon','Mortagne','Mouans Sartoux','Mougins','Mouries','Moussac','Moutiers Les Mauxfaits','Moyon','Murs','Najac','Nant','Narbonne Plage','Navajas','Nedde','Neoules','Nérac','Neuille','Neuvic D\'Ussel','Neuwiller Les Saverne','Nice','Nîmes','Nolay','Nontron','Norrey En Auge','Notre Dame De Cenilly','Notre Dame De Monts','Noves','Nyons','Oberbronn','Obermodern','Obernai','Olmeto','Ondres','Onesse-Et-Laharie','Oppèdes','Orange','Ornaissons','Orouet','Ouistreham','Ozolles','Palamos','Palau','Palavas Les Flots','Parcoul','Pardeillan','Parent','Parentis En Born','Paris','Partinello','Pau','Payzac','Paziols','Pego','Pénestin','Peniscola','Pentrez Plage','Perigueux','Pernes Les Fontaines','Pérols','Perros Guirec','Pertuis','Pezilla La Riviere','Pineda De Mar','Pineuilh','Piolenc','Placassier','Plan De La Tour','Platja D\'Aro','Playa De Pals','Pleboulle','Plenee Jugon','Plescop','Pleslin-Trigavou','Pleubian','Pleudihen','Plobannalec','Ploemeur','Ploeuc Sur Lie','Plogastel St Germain','Plomelin','Plomeur','Ploubazlanec','Plouezec','Plougasnou','Plougescant','Plougonvelin','Poggio Mezzana','Pompignan','Pontaillac','Pont Aven','Pont De Salars','Pont Royal','Pornic','Pornichet','Port-Bail','Port Barcarès','Port Camargue','Port Cogolin','Port Crouesty','Port D\'Albret','Port El Kantaoui','Port En Bessin','Port Fréjus','Porticcio','Portiragne','Port La Nouvelle','Porto','Porto Pollo','Porto Vecchio','Portoverde Di Misano Adriatico','Port Ste Foy','Prats-De-Mollo-La-Preste','Prayssac','Prigonrieux','Puch D\'Agenais','Puget','Puymeras','Pyla Sur Mer','Quiberon','Quinson','Rambouillet','Régusse','Reipertswiller','Reminiac','Réquista','Riccione','Richelieu','Ricourt','Rignac','Rillé','Rimini','Rivedoux Plage','Riviere','Rivières','Robion','Rocamadour','Rochefort En Terre','Rocheserviere','Roguefort Les Pins','Roiffé Fontevraud','Romegoux','Romescamps','Ronce-Les-Bains','Roquebrune','Roquebrune Cap-Martin','Roquebrune Sur Argens','Rosas','Roscanvel','Roscoff','Rousset','Royan','Royat','Roz Landrieux','Roz-Sur-Couesnon','Saint André Des Eaux','Saint Aygulf','Saint Beauzeil','Saint Blaise','Saint Brevin Les Pins','Saint Brevin L\'Océan','Saint Briac','Saint Cannat','Saint Cezaire','Saint Cyprien','Saint Cyr','Sainte Cécile Les Vignes','Sainte Féréole','Sainte-Lucie-De-Porto-Vecchio','Sainte Marie De Ré','Sainte Maxime','Sainte Suzanne','Saint Etienne De Baïgorry','Saint Etienne Les Orgues','Saint Gast Le Guildo','Saint Geniès','Saint Geniez D\'Olt','Saint Georges De Didonne','Saint Georges D\'Oleron','Saint Germain De Calberte','Saint Girons Plage','Saint Hilaire De Riez','Saint Jacut De La Mer','Saint Jean D\'Ardières','Saint Jean De Luz','Saint Jean De Monts','Saint Jean D\'Illac','Saint Jean Du Bruel','Saint Jean La Vetre','Saint Jean Pied De Port','Saint Julien En Born','Saint Laurent De La Cabrerisse','Saint Laurent Du Var','Saint Malo','Saint Mandrier Sur Mer','Saint Martial De Nabirat','Saint Martin D\'Ardèche','Saint Maurice D\'Ardèche','Saint Michel Chef Chef','Saint Palais Sur Mer','Saint Paul De Vence','Saint Pierre La Mer','Saint Pol De Léon','Saint Rabier','Saint Raphael','Saint Remy De Provence','Saint Rémy Sur Durolle','Saint-Salvy De La Balme','Saint Saturnin Les Apt','Saint Saturnin Les Avignon','Saint Simon','Saint Trinit','Saint Trojan Les Bains','Saint Tropez','Saint Vincent Sur Jard','Saint Yvi','Saissac','Salignac Eyvigues','Salleles D\'Aude','Salles Curan','Salou','Salperwick','Samodães','Sanary','San Nicolao','Santa Maria Poggio','Santa Susanna','Santa Teresa Di Gallura','Sant Carles De La Rapita','Sant Feliu De Guíxols','Sare','Sarlat La Caneda','Sarzeau','Saumur','Sauve','Sauveterre De Bearn','Scaer','Seguret','Seillans','Seine-Port','Senechas','Senonches','Serra Di Ferro','Servian','Sète','Sigean','Signes','Sigonce','Six Fours','Solaize','Solenzara','Solliès-Toucas','Sorede','Sorges-En-Périgord','Souillac','Soulac-Sur-Mer','Souraïde','Sourdeval','Sourzac','Sousse','Soustons Plage','St Anne Du Castellet','St Antoine','St Astier','St Augustin S/mer','St Avit Senieur','St Bauzille De Montmel','St Bonnet Du Gard','St Chamas','St Denis De Vaux','Ste Flaive Des Loups','Ste Orse','St Evarzec','St Fort St Jean D\'Angle','St Génies De Comolas','St Genies De Malgoires','St Georges Sur Loire','St Germain De La Riviere','St Germain Du Pert','St Gervais','St Gilles','St Honorine Du Fay','St Jean De Beugne','St Jean De Duras','St Jean D\'Eyraud','St Jean La Poterie','St Julien De Crempse','St Julien Les Rosiers','St Just Luzac','St Marcellin Les Vaison','St Mars La Reorthe','St Martin Des Champs','St Mathurin','St Maurice En Cotentin','St Medard','St Mitre Les Remparts','St Pantaleon','St Paul En Foret','St Paul La Coste','St Pee Sur Nivelle','St Pierre D\'Irube','St Projet','St Quentin De Caplong','St Radegonde Des Noyers','Strasbourg','St Reverend','St Saud Lacoussiere','St Savinien','St Siffret','St Sulpice','St Vivien De Monsegur','Sundhouse','Taden','Talais','Talmont.gironde','Talmont Saint Hilaire','Tamarit','Tarragona','Taulis','Taupont','Tautavel','Tavant','Tayac','Tence','Tenerife','Terrasson','Tetouan','Thenac','Thenon','Théoule','Thones','Thury','Tizzano','Tonnay Boutonne','Torre Canne Di Fasano','Torreilles','Tossa Del Mar','Touet Sur Var','Toulon','Toulouse','Tourouzelle','Tourrettes','Tourves','Tozeur','Trébas Les Bains','Trégastel','Tréguier','Trégunc','Tremolat','Triaize','Trinita D\'Agultu','Trogues','Trouville','Urbeis','Urrugne','Uzès','Vacqueyras','Vaire','Vaison La Romaine','Val D\'Azur','Valencay','Valence','Valescure','Vallon Pont D\'Arc','Valras Plage','Vandré','Varreddes','Vauban','Velaux','Velturno / Feldthurns','Venaco','Venansault','Venasque','Vence','Vendres','Venise','Vensac','Verargues','Verdun-En-Lauragais','Versailles','Veules-Les-Roses','Vias','Vichy','Vic La Gardiole','Vico','Vidauban','Vieux Boucau','Vilanova','Villac','Villamblard','Villars','Villars Les Bois','Villecroze Les Grottes','Villefranche Du Perigord','Villefranche Sur Mer','Villegusien Le Lac','Villelongue De La Salanque','Villeneuve-Les-Avignon','Villeneuve Loubet','Villerach','Villeréal','Villers Sur Mer','Villespassans','Villetelle','Vinaissan','Vinca','Volonne','Zarzis','Zonza');var  idStation = new Array('4294900406','4294901376','4294941097','4294949458','4294908118','4294943963','4294946942','4294901038','4294946849','4294899120','4294900666','4294945848','4294901856','4294907967','4294948016','4294908835','4294950408','4294944692','4294949665','4294900515','4294907156','4294903038','4294951778','4294908654','4294945282','4294948408','4294900719','4294950009','4294899759','4294951050','4294902857','4294951308','4294899488','4294951032','4294944494','4294902351','4294950849','4294949471','4294901499','4294944404','4294945920','4294949939','4294945900','4294899663','4294900116','4294900733','4294900931','4294902476','4294901435','4294944578','4294945320','4294944176','4294947089','4294907996','4294947141','4294899531','4294901516','4294947132','4294947447','4294899822','4294944593','4294947161','4294945249','4294899899','4294942505','4294898305','4294899986','4294941735','4294901986','4294950090','4294900784','4294948846','4294941467','4294900881','4294907302','4294946986','4294950225','4294899913','4294899292','4294908285','4294906419','4294948991','4294902459','4294899634','4294901915','4294944042','4294901612','4294945946','4294900193','4294907902','4294948351','4294903270','4294900349','4294950699','4294946698','4294900843','4294946417','4294906705','4294945126','4294948176','4294946471','4294947048','4294903217','4294946833','4294948967','4294950682','4294907718','4294908071','4294946889','4294948570','4294945167','4294901328','4294945987','4294903298','4294950774','4294900094','4294951899','4294949445','4294944923','4294901582','4294945373','4294948833','4294947727','4294901952','4294901849','4294900060','4294900464','4294949925','4294902523','4294947508','4294900989','4294945327','4294949793','4294950310','4294900770','4294946240','4294949703','4294944359','4294899869','4294944320','4294908278','4294901892','4294947757','4294900124','4294948374','4294901243','4294900916','4294901094','4294908818','4294898418','4294947154','4294906925','4294908049','4294907206','4294946620','4294949715','4294909005','4294945940','4294951171','4294906676','4294947514','4294944500','4294901151','4294901635','4294950164','4294899774','4294950354','4294906918','4294901670','4294948110','4294945657','4294949412','4294949439','4294908933','4294908560','4294950816','4294950082','4294946706','4294944809','4294901538','4294950076','4294950736','4294900827','4294949103','4294900392','4294903224','4294946725','4294902848','4294944757','4294947690','4294945367','4294943982','4294907427','4294908843','4294947733','4294908009','4294901691','4294951254','4294946793','4294902074','4294950760','4294900696','4294903104','4294907958','4294901575','4294907329','4294946536','4294945267','4294909032','4294903231','4294908056','4294945788','4294908152','4294946113','4294944294','4294901720','4294900588','4294949496','4294899693','4294946327','4294899429','4294899606','4294899597','4294950070','4294908271','4294905510','4294947412','4294946743','4294901031','4294903195','4294903277','4294903166','4294946013','4294900178','4294899057','4294902556','4294899386','4294901492','4294945994','4294908095','4294900900','4294901017','4294901003','4294901165','4294907487','4294949390','4294948857','4294945961','4294945210','4294950362','4294902722','4294941442','4294949359','4294947848','4294950170','4294900909','4294944300','4294949405','4294899472','4294903140','4294901101','4294944048','4294908689','4294907798','4294908042','4294947354','4294908801','4294898076','4294908793','4294950458','4294898872','4294947684','4294908676','4294898404','4294944905','4294900053','4294908226','4294898947','4294944603','4294948901','4294945651','4294944314','4294900763','4294899717','4294908858','4294899950','4294899613','4294906732','4294944388','4294901180','4294908635','4294900046','4294899401','4294900508','4294900834','4294908308','4294908301','4294951109','4294900874','4294903188','4294944191','4294944794','4294948564','4294899573','4294949153','4294907814','4294901200','4294950401','4294948368','4294901074','4294907829','4294945017','4294901187','4294901010','4294950064','4294901265','4294948415','4294945530','4294899017','4294907084','4294899979','4294945465','4294905501','4294946843','4294901749','4294908035','4294899539','4294945361','4294944634','4294907193','4294949116','4294945355','4294947095','4294900363','4294947629','4294901642','4294946369','4294945387','4294947637','4294949109','4294899958','4294942073','4294900595','4294901524','4294949489','4294945101','4294949825','4294950876','4294951265','4294944482','4294950636','4294950882','4294946141','4294903111','4294901116','4294945088','4294950601','4294948688','4294900530','4294903284','4294946338','4294909138','4294900820','4294949399','4294903291','4294950298','4294898193','4294944079','4294902919','4294950912','4294945034','4294949843','4294944433','4294901060','4294908159','4294944326','4294900342','4294950474','4294901130','4294899937','4294946934','4294907937','4294899502','4294900471','4294950292','4294902037','4294946457','4294900133','4294898049','4294901420','4294908338','4294951324','4294947662','4294900659','4294944917','4294907124','4294901531','4294902004','4294901656','4294900270','4294901506','4294949721','4294901478','4294946857','4294949541','4294906759','4294899781','4294907895','4294899413','4294948894','4294901605','4294907148','4294950594','4294948070','4294945417','4294908983','4294906857','4294944306','4294900420','4294945835','4294946465','4294900680','4294951193','4294901485','4294945379','4294949761','4294950753','4294900996','4294946351','4294946423','4294950380','4294908617','4294950341','4294899737','4294900638','4294901390','4294948104','4294899456','4294949787','4294948380','4294949168','4294901812','4294899724','4294899349','4294948973','4294908887','4294949851','4294909012','4294899480','4294944170','4294949569','4294946922','4294946805','4294901457','4294948314','4294901081','4294949563','4294899371','4294905494','4294950688','4294900968','4294948888','4294900074','4294901257','4294950788','4294949919','4294898354','4294949318','4294949383','4294947745','4294901053','4294901980','4294948510','4294949748','4294900798','4294903239','4294900710','4294944704','4294902793','4294942001','4294903313','4294901406','4294908871','4294949528','4294951238','4294908967','4294946690','4294900747','4294946863','4294945333','4294949483','4294901727','4294908642','4294902903','4294908397','4294941222','4294908324','4294901449','4294946964','4294945841','4294901367','4294944552','4294899890','4294900457','4294944267','4294945132','4294900429','4294901899','4294903321','4294901343','4294899378','4294949432','4294900673','4294908345','4294948670','4294946913','4294908211','4294906864','4294944880','4294947430','4294899559','4294906664','4294946975','4294901272','4294950864','4294899767','4294948094','4294950628','4294947702','4294899256','4294950028','4294899944','4294900208','4294948212','4294901158','4294906764','4294908896','4294906753','4294901398','4294902570','4294947148','4294900436','4294945873','4294908240','4294946902','4294902937','4294900157','4294900602','4294951149','4294948839','4294948929','4294950676','4294899627','4294946736','4294945591','4294945216','4294901314','4294944056','4294949727','4294903210','4294900791','4294949346','4294901559','4294946714','4294901621','4294901770','4294899814','4294908331','4294945041','4294905136','4294948979','4294906626','4294906652','4294900923','4294946672','4294900960','4294905030','4294900377','4294948191','4294907859','4294901067','4294946665','4294901024','4294899965','4294948400','4294903256','4294947168','4294944530','4294900551','4294908173','4294947345','4294947719','4294909122','4294903365','4294946608','4294900067','4294900492','4294907738','4294901878','4294908879','4294898664','4294948421','4294901799','4294899685','4294908187','4294947370','4294946593','4294944846','4294946300','4294900559','4294899884','4294944776','4294949741','4294948008','4294946813','4294901335','4294900356','4294950747','4294947765','4294903158','4294901885','4294947386','4294901545','4294900014','4294900609','4294948957','4294945952','4294947392','4294900703','4294899701','4294908028','4294899806','4294901087','4294900450','4294901471','4294906778','4294901307','4294901677','4294900327','4294900254','4294899524','4294900443','4294944911','4294898139','4294947739','4294944899','4294903181','4294949813','4294900335','4294946763','4294948642','4294951160','4294950918','4294945349','4294950550','4294948427','4294945928','4294948393','4294945393','4294907218','4294949368','4294942252','4294950261','4294948617','4294948203','4294944739','4294951143','4294951361','4294946786','4294900975','4294908219','4294948882','4294900859','4294901684','4294901427','4294900624','4294907133','4294949353','4294908064','4294944198','4294908959','4294900982','4294901871','4294944818','4294947623','4294944640','4294901413','4294947042','4294944488','4294945303','4294905473','4294899829','4294907782','4294901835','4294947711','4294950316','4294899580','4294899510','4294899263','4294901820','4294900246','4294950333','4294899906','4294950395','4294950730','4294948935','4294903126','4294947811','4294946658','4294907710','4294944184','4294903133','4294908695','4294906932','4294948357','4294944545','4294899421','4294944410','4294905487','4294950832','4294944979','4294900740','4294950802','4294901742','4294947502','4294907989','4294908378','4294908925','4294950612','4294908233','4294908194','4294948985','4294908941','4294908102','4294950670','4294948453','4294950888','4294945009','4294907983','4294948997','4294901591','4294947203','4294948218','4294949806','4294947418','4294906870','4294908180','4294944092','4294899356','4294945736','4294948185','4294948231','4294945186','4294906905','4294908125','4294906897','4294948386','4294949800','4294902514','4294947961','4294944536','4294898167','4294950389','4294946577','4294943955','4294902988','4294902801','4294950808','4294907091','4294903045','4294908111','4294903392','4294949754','4294907140','4294908316','4294946602','4294907375','4294908084','4294948077','4294946037','4294898286','4294949003','4294951056','4294907976','4294946614','4294898318','4294907806','4294907212','4294945082','4294947949','4294949779','4294946044','4294950843','4294899546','4294901568','4294900384','4294901293','4294907951','4294907852','4294908570','4294946819','4294900150','4294944033','4294944770','4294908662','4294947648','4294949424','4294898042','4294907174','4294946870','4294907098','4294908352','4294902483','4294950794','4294949834','4294901706','4294900566','4294902357','4294948002','4294903372','4294901763','4294899678','4294899843','4294900200','4294899710','4294903263','4294900500','4294901214','4294899566','4294900851','4294900225','4294901285','4294900300','4294903328','4294901842','4294899649','4294900581','4294899791','4294907822','4294899836','4294899464','4294900726','4294901321','4294900101','4294900537','4294900652','4294901383','4294901713','4294900645','4294899730','4294901250','4294902531','4294900108','4294907836','4294901278','4294901300','4294899860','4294899449','4294900142','4294899993','4294901698','4294900631','4294946319','4294899876','4294900086','4294900805','4294899495','4294900889','4294901756','4294899656','4294901442','4294901228','4294899972','4294949547','4294906726','4294899339','4294900277','4294907764','4294905143','4294901792','4294900007','4294908865','4294907389','4294899751','4294941959','4294900777','4294900573','4294949579','4294900239','4294901221','4294898962','4294945243','4294944470','4294948433','4294949451','4294907790','4294945538','4294907365','4294900544','4294947655','4294900022','4294906685','4294903014','4294947055','4294949147','4294902048','4294901663','4294898124','4294944453','4294899591','4294949375','4294899670','4294949477','4294906878','4294900292','4294901236','4294902751','4294899853','4294908145','4294899233','4294949418','4294948951','4294950705','4294948445','4294902175','4294901207','4294898131','4294902884','4294948610','4294902497','4294903306','4294901552','4294951271','4294941346','4294902547','4294900478','4294945204','4294944511','4294946007','4294949161','4294941509','4294948439','4294945399','4294902490','4294949465','4294944891','4294900867','4294901784','4294901806','4294899744','4294903342','4294945341','4294944398','4294950578','4294900370','4294908018','4294949767','4294899553','4294906788','4294949819','4294899620','4294901777','4294899517','4294901827','4294907117','4294940998','4294909177');break;case 1 : var libStation = new Array('Limassol');var idStation = new Array('4294898354');break;case 2 : var libStation = new Array('Abzac','Aclou','Agay','Agde','Aiguillon Sur Mer','Aiguines','Aillas Le Grand','Aix En Provence','Aix Les Bains','Aizenay','Ajaccio','Ajat','Albé','Alénya','Aleria','Allemans','Alleyras','Amboise','Ambon','Ammerschwihr','Andel','Andernos','Angles','Anglet','Angoulins-Sur-Mer','Antibes','Apt','Arcachon','Arcangues','Ardon','Arès','Argelès Sur Mer','Argeliers','Argentat','Argol','Arles','Ars En Ré','Artolsheim','Arzon','Ascain','Assas','Aubagne','Aubeguimont','Aubignan','Aubigny-Sur-Nère','Audenge','Audierne','Aulus Les Bains','Aureilhan','Auriac Sur Dropt','Auribeau','Autun','Avignon','Avrille','Ayen','Azay Le Rideau','Azille','Azur','Bagat En Quercy','Bagnoles De L\'Orne','Bagnols En Foret','Baillargues','Balanzac','Balaruc Les Bains','Bandol','Bannalec','Banyuls Sur Mer','Barbaste','Barbotan','Bardos','Barjac','Bassignac','Bassussary','Batz Sur Mer','Beaulieu Sur Dordogne','Beaumes De Venise','Beaumont Du Lac','Beaumont Du Périgord','Beaumont Du Ventoux','Beaune','Beaupouyet','Beausoleil','Beauvoir','Beauvoisin','Bedarrides','Beg Meil','Belgodère','Bellegarde','Belle Ile','Belves','Bénodet','Bergerac','Bergheim','Berre Les Alpes','Beynat En Corrèze','Béziers','Biarritz','Bidart','Binic','Biot','Biscarosse','Bitche','Bizanet','Blauzac','Boe','Bohal','Bollwiller','Bonnieux','Bon Secours Anduze','Boofzheim','Borgo','Boulleville','Bourbon-Lancy','Bourbriac','Bourgougnague','Bourg Sur Gironde','Branville','Bras','Bravone','Breitenbach','Brem-Sur-Mer','Brétignolles Sur Mer','Bréville-Les-Monts','Brie Sous Mortagne','Brignogan-Plage','Brignoles','Brillac','Brion','Brioude','Brusque','Bueil En Touraine','Buis Les Baronnies','Burie','Cabourg','Cabrieres D\'Avignon','Cabris','Cadenet','Cagnes Sur Mer','Cairanne','Cajarc','Calcatoggio','Callas','Callian','Calvi','Calvisson','Cancale','Canchy','Cande St Martin','Canet En Roussillon','Cangey','Cannes','Cantaron','Capbreton','Cap Coz','Cap D\'Agde','Cap D\'Ail','Cap Ferret (le)','Cap Fréhel','Carantec','Carcans','Carcassonne','Cargèse','Carhaix','Carnac','Carnon','Carnoules','Carnoux En Provence','Carpentras','Carqueiranne','Carro - La Couronne','Cassen','Casteljaloux','Casteljau','Castellare Di Casinca','Castelmoron Sur Lot','Castelnau-De-Montmiral','Castries','Caumont L\'Evente','Cavalaire','Cayeux Sur Mer','Céaux','Cerbere','Cerisy La Salle','Chalais','Chambonas','Champagne Fontaine','Champtercier','Chateau D\'Olonne','Châteauneuf Du Faou','Châteauneuf-Sur-Isère','Châteaurenard','Chatelaillon Plage','Châtel-Censoir','Chaudes Aigues','Chazemais','Chemillé Sur Indrois','Cherrueix','Cheval Blanc','Ciboure','Civray De Touraine','Clapiers','Clohars-Carnoet','Cogolin','Collinee','Collioure','Collonges-La-Rouge','Colombiers','Coly','Comps','Corneilla La Riviere','Couiza','Courthezon','Courtils','Crestet','Cricqueboeuf','Crozon','Cuers','Cuges Les Pins','Curbans','Curzon','Cussay','Cuvat','Dame Marie Les Bois','Damgan','Deauville','Die','Dignes Les Bains','Dinan','Dinard','Dives Sur Mer','Dol De Bretagne','Domme','Donzenac','Douarnenez','Drachenbronn','Draguignan','Dreuzy','Durfort','Eauze','Eccica Suarella','Egletons','Eguisheim','Eguzon Chantôme','Ennery','Entraygues Sur Truyère','Eppe-Sauvage','Equemauville','Erdeven','Escassefort','Espalion','Estang','Estipouy','Evran','Excideuil','Eygurande','Eymet','Eyragues','Eze','Fabrègues','Favieres','Fayence','Fendeille','Flassans Sur Issole','Fleac Sur Seugne','Fleurac','Fleurance','Florac','Fontaine De Vaucluse','Fontanes','Forcalquier','Forges-Les-Eaux','Fort Mahon Plage','Fouesnant','Fouras','Fourques','Fransu','Fréjus','Frontignan Plage','Fumel','Gailhan','Gallargues-Le-Montueux','Gapennes','Gargas','Gassin','Gatuzieres','Gaujac','Ghisonaccia','Gimouille','Golfe Juan','Gondrin','Gondrin En Armagnac','Gonneville Sur Honfleur','Gordes','Gouesnac\'H','Grandcamp-Maisy','Grand Landes','Grand Laviers','Grasse','Gréoux Les Bains','Grimaud','Groix','Grospierres','Grues','Gruissan','Guengat','Guérande','Guidel','Guillaumes','Gujan Mestras','Guzargues','Hasparren','Henansal','Hendaye','Homps','Houlgate','Hourtin','Hyères','Ile De Noirmoutier','Ile De Ré','Ile D\'Oleron','Ile Rousse','Inguiniel','Isigny Sur Mer','Island Of Cavallo','Isle Sur La Sorgue','Issac','Istres','Jard Sur Mer','Jonquerettes','Jonzac','Jouques','Juan Les Pins','Jungholtz','La Barouge','La Bastide Clairence','La Bastide De Sérou','La Baule','Labenne Océan','La Brillanne','La Bussière','La Cadière D\'Azur','La Calmette','Lacanau','La Chapelle Cecelin','La Chapelle Faucher','La Ciotat','La Colle Sur Loup','La Coquille','Lacoste','La Croix Valmer','La Faute Sur Mer','La Forêt-Fouesnant','La Garde Freinet','La Gaude','Lagnes','Lagrand','La Grande Motte','L\'Aiguillon Sur Vie','Lairoux','La Londe Les Maures','La Mole','Lamonzie St Martin','La Motte En Provence','Lanet','Languidic','Lanvaudan','La Palmyre','Lapenty','La Pommeraye','La Rochelle','La Roque D\'Anthéron','La Roque- Gageac','La Roque-Sur-Pernes','La Roquette Sur Siagne','La Salvetat','La Serpent','La Seyne Sur Mer','La Tranche Sur Mer','La Trinité Sur Mer','Lattes','La Turballe','Laurac En Vivarais','Laval De Cere','La Valette Du Var','La Voute Chilhac','Le Barcarès','Le Beausset','Le Bois Plage En Ré','Le Bono','Le Bugue','Le Canet - Sainte Marie','Le Cannet','Le Change','Le Croisic','Le Crotoy','Le Grau Du Roi','Le Guilvinec','Le Lavandou','Le Ledat','Le Longeron','Le Neubourg','Leon','Le Porge','Le Pouldu','Le Pouliguen','Le Pradet','Les Adrets De L\'Esterel','Les Aires','Les Arcs Sur Argens','Les Baux De Provence','Les Issambres','Les Mathes','Les Montils','Les Moutiers-En-Retz','Les Sables D\'Olonne','Les Saintes Maries De La Mer','Le Teich','Le Thor','Le Thoronet','Le Tignet','Le Touquet','Le Trayas','Le Tronchet','Leucate','Le Vaudelnay','Le Verdon Sur Mer','Licy Clignon','Ligre','L\'Ile Aux Moines','L\'Ile D\'Aix','Loches','Locmaria-Plouzane','Locqueltas','Locquirec','Loctudy','Longeville Sur Mer','Lorignac','Lourmarin','Luvigny','Macinaggio','Malataverne/lussan','Malaucene','Mallemort','Mandelieu La Napoule','Maniquerville','Manosques','Marans','Marciac','Marignane','Marseillan','Martel-Gluges','Martigny','Martigues','Marvejols','Masquieres','Masseube','Maubec','Maupertuis','Mauriac','Mauvezin','Mazan','Meillac','Mejannes Les Ales','Mellieres','Ménerbes','Menton','Merindol','Mesnil Saint Père','Messanges','Meymac','Meyrueis','Méze','Mézin','Migron','Millau','Millieres','Mimizan','Mirabeau','Moelan Sur Mer','Moliets','Monclar De Quercy','Moncontour','Moncoutant','Monestier','Monfaucon','Monflanquin','Monnaie','Monpazier','Montagnac','Montagnac Montpezat','Montagrier','Montaren Et St Mediers','Montauroux','Montbellet','Montbrun Les Bains','Montendre Les Pins','Monteux','Montfrin','Monticello','Montignac','Montigny En Morvan','Montpellier','Montreal','Montréal Du Gers','Montsoreau','Mooslargue','Morgat','Morieres Les Avignon','Mortagne','Mouans Sartoux','Mougins','Mouries','Moussac','Moutiers Les Mauxfaits','Moyon','Murs','Najac','Nant','Narbonne Plage','Nedde','Neoules','Nérac','Neuille','Neuvic D\'Ussel','Neuwiller Les Saverne','Nice','Nîmes','Nolay','Nontron','Norrey En Auge','Notre Dame De Cenilly','Notre Dame De Monts','Noves','Nyons','Oberbronn','Obermodern','Obernai','Olmeto','Ondres','Onesse-Et-Laharie','Oppèdes','Orange','Ornaissons','Orouet','Ouistreham','Ozolles','Palavas Les Flots','Parcoul','Pardeillan','Parent','Parentis En Born','Paris','Partinello','Pau','Payzac','Paziols','Pénestin','Pentrez Plage','Perigueux','Pernes Les Fontaines','Pérols','Perros Guirec','Pertuis','Pezilla La Riviere','Pineuilh','Piolenc','Placassier','Plan De La Tour','Pleboulle','Plenee Jugon','Plescop','Pleslin-Trigavou','Pleubian','Pleudihen','Plobannalec','Ploemeur','Ploeuc Sur Lie','Plogastel St Germain','Plomelin','Plomeur','Ploubazlanec','Plouezec','Plougasnou','Plougescant','Plougonvelin','Poggio Mezzana','Pompignan','Pontaillac','Pont Aven','Pont De Salars','Pont Royal','Pornic','Pornichet','Port-Bail','Port Barcarès','Port Camargue','Port Cogolin','Port Crouesty','Port D\'Albret','Port En Bessin','Port Fréjus','Porticcio','Portiragne','Port La Nouvelle','Porto','Porto Pollo','Porto Vecchio','Port Ste Foy','Prats-De-Mollo-La-Preste','Prayssac','Prigonrieux','Puch D\'Agenais','Puget','Puymeras','Pyla Sur Mer','Quiberon','Quinson','Rambouillet','Régusse','Reipertswiller','Reminiac','Réquista','Richelieu','Ricourt','Rignac','Rillé','Rivedoux Plage','Riviere','Rivières','Robion','Rocamadour','Rochefort En Terre','Rocheserviere','Roguefort Les Pins','Roiffé Fontevraud','Romegoux','Romescamps','Ronce-Les-Bains','Roquebrune','Roquebrune Cap-Martin','Roquebrune Sur Argens','Roscanvel','Roscoff','Rousset','Royan','Royat','Roz Landrieux','Roz-Sur-Couesnon','Saint André Des Eaux','Saint Aygulf','Saint Beauzeil','Saint Blaise','Saint Brevin Les Pins','Saint Brevin L\'Océan','Saint Briac','Saint Cannat','Saint Cezaire','Saint Cyprien','Saint Cyr','Sainte Cécile Les Vignes','Sainte Féréole','Sainte-Lucie-De-Porto-Vecchio','Sainte Marie De Ré','Sainte Maxime','Sainte Suzanne','Saint Etienne De Baïgorry','Saint Etienne Les Orgues','Saint Gast Le Guildo','Saint Geniès','Saint Geniez D\'Olt','Saint Georges De Didonne','Saint Georges D\'Oleron','Saint Germain De Calberte','Saint Girons Plage','Saint Hilaire De Riez','Saint Jacut De La Mer','Saint Jean D\'Ardières','Saint Jean De Luz','Saint Jean De Monts','Saint Jean D\'Illac','Saint Jean Du Bruel','Saint Jean La Vetre','Saint Jean Pied De Port','Saint Julien En Born','Saint Laurent De La Cabrerisse','Saint Laurent Du Var','Saint Malo','Saint Mandrier Sur Mer','Saint Martial De Nabirat','Saint Martin D\'Ardèche','Saint Maurice D\'Ardèche','Saint Michel Chef Chef','Saint Palais Sur Mer','Saint Paul De Vence','Saint Pierre La Mer','Saint Pol De Léon','Saint Rabier','Saint Raphael','Saint Remy De Provence','Saint Rémy Sur Durolle','Saint-Salvy De La Balme','Saint Saturnin Les Apt','Saint Saturnin Les Avignon','Saint Simon','Saint Trinit','Saint Trojan Les Bains','Saint Tropez','Saint Vincent Sur Jard','Saint Yvi','Saissac','Salignac Eyvigues','Salleles D\'Aude','Salles Curan','Salperwick','Sanary','San Nicolao','Santa Maria Poggio','Sare','Sarlat La Caneda','Sarzeau','Saumur','Sauve','Sauveterre De Bearn','Scaer','Seguret','Seillans','Seine-Port','Senechas','Senonches','Serra Di Ferro','Servian','Sète','Sigean','Signes','Sigonce','Six Fours','Solaize','Solenzara','Solliès-Toucas','Sorede','Sorges-En-Périgord','Souillac','Soulac-Sur-Mer','Souraïde','Sourdeval','Sourzac','Soustons Plage','St Anne Du Castellet','St Antoine','St Astier','St Augustin S/mer','St Avit Senieur','St Bauzille De Montmel','St Bonnet Du Gard','St Chamas','St Denis De Vaux','Ste Flaive Des Loups','Ste Orse','St Evarzec','St Fort St Jean D\'Angle','St Génies De Comolas','St Genies De Malgoires','St Georges Sur Loire','St Germain De La Riviere','St Germain Du Pert','St Gervais','St Gilles','St Honorine Du Fay','St Jean De Beugne','St Jean De Duras','St Jean D\'Eyraud','St Jean La Poterie','St Julien De Crempse','St Julien Les Rosiers','St Just Luzac','St Marcellin Les Vaison','St Mars La Reorthe','St Martin Des Champs','St Mathurin','St Maurice En Cotentin','St Medard','St Mitre Les Remparts','St Pantaleon','St Paul En Foret','St Paul La Coste','St Pee Sur Nivelle','St Pierre D\'Irube','St Projet','St Quentin De Caplong','St Radegonde Des Noyers','Strasbourg','St Reverend','St Saud Lacoussiere','St Savinien','St Siffret','St Sulpice','St Vivien De Monsegur','Sundhouse','Taden','Talais','Talmont.gironde','Talmont Saint Hilaire','Taulis','Taupont','Tautavel','Tavant','Tayac','Tence','Terrasson','Thenac','Thenon','Théoule','Thones','Thury','Tizzano','Tonnay Boutonne','Torreilles','Touet Sur Var','Toulon','Toulouse','Tourouzelle','Tourrettes','Tourves','Trébas Les Bains','Trégastel','Tréguier','Trégunc','Tremolat','Triaize','Trogues','Trouville','Urbeis','Urrugne','Uzès','Vacqueyras','Vaire','Vaison La Romaine','Val D\'Azur','Valencay','Valence','Valescure','Vallon Pont D\'Arc','Valras Plage','Vandré','Varreddes','Vauban','Velaux','Venaco','Venansault','Venasque','Vence','Vendres','Vensac','Verargues','Verdun-En-Lauragais','Versailles','Veules-Les-Roses','Vias','Vichy','Vic La Gardiole','Vico','Vidauban','Vieux Boucau','Villac','Villamblard','Villars','Villars Les Bois','Villecroze Les Grottes','Villefranche Du Perigord','Villefranche Sur Mer','Villegusien Le Lac','Villelongue De La Salanque','Villeneuve-Les-Avignon','Villeneuve Loubet','Villerach','Villeréal','Villers Sur Mer','Villespassans','Villetelle','Vinaissan','Vinca','Volonne','Zonza');var idStation = new Array('4294900406','4294901376','4294949458','4294908118','4294943963','4294946942','4294901038','4294946849','4294899120','4294900666','4294945848','4294901856','4294907967','4294950408','4294944692','4294900515','4294907156','4294951778','4294908654','4294948408','4294900719','4294950009','4294899759','4294951050','4294902857','4294951308','4294899488','4294951032','4294944494','4294902351','4294950849','4294949471','4294901499','4294944404','4294945920','4294949939','4294945900','4294899663','4294900116','4294900733','4294900931','4294902476','4294901435','4294944578','4294945320','4294944176','4294947089','4294907996','4294947141','4294899531','4294901516','4294947132','4294947447','4294899822','4294944593','4294947161','4294945249','4294899899','4294899986','4294941735','4294901986','4294950090','4294900784','4294948846','4294941467','4294900881','4294907302','4294946986','4294950225','4294899913','4294899292','4294908285','4294906419','4294948991','4294902459','4294899634','4294901915','4294944042','4294901612','4294945946','4294900193','4294907902','4294948351','4294903270','4294900349','4294950699','4294946698','4294900843','4294946417','4294906705','4294948176','4294946471','4294947048','4294903217','4294946833','4294948967','4294950682','4294907718','4294908071','4294946889','4294948570','4294945167','4294901328','4294903298','4294950774','4294900094','4294951899','4294944923','4294901582','4294945373','4294948833','4294947727','4294901952','4294901849','4294900060','4294900464','4294949925','4294902523','4294947508','4294900989','4294945327','4294949793','4294950310','4294900770','4294946240','4294949703','4294944359','4294899869','4294944320','4294908278','4294901892','4294947757','4294900124','4294948374','4294901243','4294900916','4294901094','4294908818','4294898418','4294947154','4294908049','4294949715','4294909005','4294951171','4294906676','4294944500','4294901151','4294901635','4294950164','4294899774','4294950354','4294901670','4294948110','4294945657','4294949412','4294949439','4294908933','4294908560','4294950816','4294950082','4294946706','4294944809','4294901538','4294950076','4294950736','4294900827','4294949103','4294900392','4294903224','4294946725','4294944757','4294947690','4294945367','4294943982','4294907427','4294908843','4294947733','4294901691','4294951254','4294946793','4294902074','4294950760','4294900696','4294903104','4294907958','4294901575','4294907329','4294946536','4294945267','4294909032','4294903231','4294908056','4294945788','4294908152','4294946113','4294944294','4294901720','4294900588','4294949496','4294899693','4294946327','4294899429','4294899606','4294899597','4294950070','4294908271','4294905510','4294947412','4294901031','4294903195','4294903277','4294903166','4294946013','4294900178','4294899057','4294902556','4294899386','4294901492','4294908095','4294900900','4294901017','4294901003','4294901165','4294907487','4294949390','4294945210','4294950362','4294902722','4294941442','4294949359','4294950170','4294900909','4294944300','4294949405','4294899472','4294903140','4294901101','4294944048','4294908689','4294907798','4294908042','4294947354','4294908801','4294898872','4294947684','4294908676','4294898404','4294944905','4294900053','4294908226','4294944603','4294944314','4294900763','4294899717','4294908858','4294899950','4294899613','4294906732','4294944388','4294901180','4294908635','4294900046','4294899401','4294900508','4294900834','4294908308','4294908301','4294900874','4294903188','4294944191','4294944794','4294948564','4294899573','4294949153','4294907814','4294901200','4294950401','4294948368','4294901074','4294907829','4294945017','4294901187','4294901010','4294950064','4294901265','4294948415','4294945530','4294899017','4294907084','4294899979','4294945465','4294905501','4294946843','4294901749','4294908035','4294899539','4294945361','4294944634','4294907193','4294949116','4294945355','4294947095','4294900363','4294947629','4294901642','4294946369','4294945387','4294947637','4294949109','4294899958','4294900595','4294901524','4294949489','4294945101','4294949825','4294950876','4294951265','4294944482','4294950636','4294950882','4294946141','4294903111','4294901116','4294945088','4294950601','4294900530','4294903284','4294946338','4294900820','4294949399','4294903291','4294950298','4294898193','4294902919','4294950912','4294945034','4294949843','4294944433','4294901060','4294908159','4294944326','4294900342','4294950474','4294901130','4294899937','4294946934','4294907937','4294899502','4294900471','4294950292','4294902037','4294946457','4294900133','4294898049','4294901420','4294908338','4294951324','4294947662','4294900659','4294944917','4294907124','4294901531','4294902004','4294901656','4294900270','4294901506','4294949721','4294901478','4294946857','4294949541','4294906759','4294899781','4294907895','4294899413','4294948894','4294901605','4294907148','4294950594','4294948070','4294945417','4294908983','4294906857','4294944306','4294900420','4294945835','4294946465','4294900680','4294951193','4294901485','4294945379','4294949761','4294950753','4294900996','4294946351','4294946423','4294950380','4294908617','4294950341','4294899737','4294900638','4294901390','4294948104','4294899456','4294949787','4294948380','4294949168','4294901812','4294899724','4294899349','4294948973','4294949851','4294909012','4294899480','4294944170','4294949569','4294946922','4294946805','4294901457','4294948314','4294901081','4294949563','4294899371','4294905494','4294950688','4294900968','4294948888','4294900074','4294901257','4294950788','4294949919','4294949383','4294947745','4294901053','4294901980','4294948510','4294949748','4294900798','4294903239','4294900710','4294944704','4294903313','4294901406','4294949528','4294951238','4294946690','4294900747','4294946863','4294949483','4294901727','4294941222','4294908324','4294901449','4294946964','4294945841','4294901367','4294944552','4294899890','4294900457','4294944267','4294945132','4294900429','4294901899','4294903321','4294901343','4294899378','4294949432','4294900673','4294908345','4294948670','4294946913','4294908211','4294906864','4294944880','4294899559','4294946975','4294901272','4294950864','4294899767','4294948094','4294950628','4294947702','4294899256','4294950028','4294899944','4294900208','4294948212','4294901158','4294906764','4294908896','4294906753','4294901398','4294902570','4294947148','4294900436','4294908240','4294946902','4294900157','4294900602','4294951149','4294948839','4294948929','4294950676','4294899627','4294946736','4294901314','4294944056','4294949727','4294903210','4294900791','4294949346','4294901559','4294946714','4294901621','4294901770','4294899814','4294908331','4294945041','4294905136','4294948979','4294906652','4294900923','4294946672','4294900960','4294905030','4294900377','4294948191','4294907859','4294901067','4294946665','4294901024','4294899965','4294948400','4294903256','4294947168','4294944530','4294900551','4294908173','4294947345','4294947719','4294909122','4294903365','4294946608','4294900067','4294900492','4294907738','4294901878','4294948421','4294901799','4294899685','4294908187','4294947370','4294946593','4294944846','4294946300','4294900559','4294899884','4294949741','4294946813','4294901335','4294900356','4294950747','4294947765','4294903158','4294901885','4294901545','4294900014','4294900609','4294948957','4294900703','4294899701','4294908028','4294899806','4294901087','4294900450','4294901471','4294906778','4294901307','4294901677','4294900327','4294900254','4294899524','4294900443','4294944911','4294898139','4294947739','4294944899','4294903181','4294949813','4294900335','4294946763','4294948642','4294951160','4294950918','4294945349','4294950550','4294948427','4294945928','4294948393','4294945393','4294949368','4294942252','4294950261','4294948617','4294948203','4294944739','4294951143','4294951361','4294900975','4294908219','4294948882','4294900859','4294901684','4294901427','4294900624','4294907133','4294949353','4294908064','4294944198','4294908959','4294900982','4294901871','4294944818','4294944640','4294901413','4294947042','4294944488','4294905473','4294899829','4294907782','4294901835','4294947711','4294950316','4294899580','4294899510','4294899263','4294901820','4294900246','4294950333','4294899906','4294950395','4294950730','4294903126','4294947811','4294946658','4294907710','4294944184','4294903133','4294908695','4294906932','4294948357','4294944545','4294899421','4294944410','4294905487','4294950832','4294944979','4294900740','4294950802','4294901742','4294947502','4294907989','4294908378','4294908925','4294950612','4294908233','4294908194','4294948985','4294908941','4294908102','4294950670','4294948453','4294950888','4294945009','4294907983','4294948997','4294901591','4294947203','4294948218','4294949806','4294947418','4294906870','4294908180','4294944092','4294899356','4294945736','4294948185','4294948231','4294945186','4294906905','4294908125','4294906897','4294948386','4294949800','4294902514','4294947961','4294944536','4294898167','4294950389','4294946577','4294943955','4294902988','4294902801','4294950808','4294907091','4294903045','4294908111','4294903392','4294949754','4294907140','4294908316','4294946602','4294907375','4294908084','4294946037','4294949003','4294951056','4294907976','4294945082','4294947949','4294949779','4294946044','4294950843','4294899546','4294901568','4294900384','4294901293','4294907951','4294907852','4294908570','4294946819','4294900150','4294944033','4294944770','4294908662','4294947648','4294949424','4294898042','4294907174','4294946870','4294907098','4294908352','4294902483','4294950794','4294949834','4294901706','4294900566','4294948002','4294903372','4294901763','4294899678','4294899843','4294900200','4294899710','4294903263','4294900500','4294901214','4294899566','4294900851','4294900225','4294901285','4294900300','4294903328','4294901842','4294899649','4294900581','4294899791','4294907822','4294899836','4294899464','4294900726','4294901321','4294900101','4294900537','4294900652','4294901383','4294901713','4294900645','4294899730','4294901250','4294902531','4294900108','4294907836','4294901278','4294901300','4294899860','4294899449','4294900142','4294899993','4294901698','4294900631','4294946319','4294899876','4294900086','4294900805','4294899495','4294900889','4294901756','4294899656','4294901442','4294901228','4294899972','4294949547','4294900277','4294907764','4294905143','4294901792','4294900007','4294908865','4294899751','4294900777','4294900573','4294949579','4294900239','4294901221','4294898962','4294945243','4294948433','4294907790','4294945538','4294907365','4294900544','4294947655','4294900022','4294903014','4294947055','4294949147','4294902048','4294901663','4294898124','4294899591','4294949375','4294899670','4294949477','4294906878','4294900292','4294901236','4294902751','4294899853','4294908145','4294899233','4294949418','4294948951','4294950705','4294948445','4294902175','4294901207','4294898131','4294948610','4294902497','4294903306','4294901552','4294951271','4294902547','4294900478','4294945204','4294944511','4294946007','4294949161','4294941509','4294948439','4294945399','4294902490','4294949465','4294900867','4294901784','4294901806','4294899744','4294903342','4294945341','4294944398','4294950578','4294900370','4294908018','4294949767','4294899553','4294906788','4294949819','4294899620','4294901777','4294899517','4294901827','4294907117','4294909177');break;case 3 : var libStation = new Array('Bad Dürrheim');var idStation = new Array('4294942505');break;case 4 : var libStation = new Array('Badesi','Cala Capra','Cannigione','Cassano Allo Jonio','Cattolica','Florence','Isola Rossa','Marina Di Ginosa','Marinella Di Cutro','Montesilvano','Palau','Portoverde Di Misano Adriatico','Riccione','Rimini','Santa Teresa Di Gallura','Torre Canne Di Fasano','Trinita D\'Agultu','Velturno / Feldthurns','Venise');var idStation = new Array('4294898305','4294906925','4294906918','4294902848','4294908009','4294951109','4294948688','4294908642','4294902903','4294902937','4294898664','4294946786','4294947623','4294945303','4294898318','4294944470','4294944453','4294902884','4294941346');break;case 5 : var libStation = new Array('Agadir','El Jadida','Essaouira','Marrakech','Tetouan');var idStation = new Array('4294941097','4294898076','4294898947','4294908397','4294941959');break;case 6 : var libStation = new Array('Samodães');var idStation = new Array('4294898286');break;case 7 : var libStation = new Array('Alcoceber','Alcossebre','Alicante','Altea','Ametlla De Mar','Benidorm','Blanes','Bonmont','Caldes D\'Estrach','Calella','Calpe','Cambrils','Comarruga','Cunit','Delta Del Ebre','Denia','Els Masos De Pals','Empuriabrava','Estartit','Estepona','Javea','La Azohia','L\'Escala','Lloret De Mar','Madrid','Malgrat De Mar','Manilva','Marbella','Miami Playa','Mijas Costa','Montblanc','Mont-Roig','Mont-Roig Del Camp','Navajas','Palamos','Pego','Peniscola','Pineda De Mar','Platja D\'Aro','Playa De Pals','Rosas','Salou','Santa Susanna','Sant Carles De La Rapita','Sant Feliu De Guíxols','Tamarit','Tarragona','Tenerife','Tossa Del Mar','Vilanova');var idStation = new Array('4294948016','4294908835','4294949665','4294903038','4294945282','4294945126','4294945987','4294949445','4294907206','4294946620','4294945940','4294947514','4294946743','4294945994','4294948857','4294945961','4294908793','4294950458','4294948901','4294945651','4294909138','4294944079','4294908887','4294949318','4294902793','4294908871','4294908967','4294945333','4294947430','4294906664','4294945873','4294945591','4294945216','4294906626','4294908879','4294944776','4294948008','4294947386','4294945952','4294947392','4294948935','4294948077','4294946614','4294907806','4294907212','4294906726','4294899339','4294907389','4294949451','4294944891');break;case 8 : var libStation = new Array('Djerba','Hammamet','Mahdia','Port El Kantaoui','Sousse','Tozeur','Zarzis');var idStation = new Array('4294947848','4294942073','4294942001','4294907218','4294902357','4294906685','4294940998');break;}while (document.getElementById('StationTHSea').length > 1) {document.getElementById('StationTHSea').options[1] = null;}for (i = 0; i < libStation.length; i++) {var select = document.getElementById('StationTHSea');select.options[select.options.length] = new Option(libStation[i], idStation[i]);}}
function FillListAllCountryTHSpa(){  var libCountry = new Array('Andorra','Austria','France','Italy','Morocco','Portugal','Spain','Switzerland','Tunisia');  var  idCountry = new Array('4294936766','4294951215','4294951879','4294951093','4294941941','4294898274','4294951690','4294951641','4294947832');  for (i = 0; i < libCountry.length; i++) {      var select = document.getElementById('CountryTHSpa');      select.options[select.options.length] = new Option(libCountry[i], idCountry[i]);}}
function FillListAllStationTHSpa(){  var libStation = new Array('Agadir','Aix Les Bains','Alénya','Anglet','Antibes','Arcachon','Ardon','Argelès Sur Mer','Arles','Azay Le Rideau','Badesi','Bad Gastein','Bad Hofgastein','Baillargues','Banyuls Sur Mer','Bardonecchia','Berwang','Biarritz','Bourg Saint Maurice','Brides Les Bains','Caldes D\'Estrach','Campitello Di Fassa','Canazei','Cancale','Canet En Roussillon','Carnac','Cauterets','Cricqueboeuf','Deauville','Dinard','Djerba','Douarnenez','Fayence','Flachau','Font-Romeu','Hammamet','Houlgate','Hyères','Ile De Ré','Ile D\'Oleron','Island Of Cavallo','Isola 2000','Isola Rossa','Jungholtz','La Baule','Lacanau','La Clusaz','La Grande Motte','Längenfeld','La Plagne','La Rosière','Le Grau Du Roi','Leogang','Les Carroz-D\'Araches','Les Houches','Les Issambres','Les Ménuires','Les Sables D\'Olonne','Les Saintes Maries De La Mer','Les Saisies','Le Touquet','Lioran','Locquirec','Luchon-Superbagnères','Mahdia','Marrakech','Meribel','Morzine','Mutters','Olmeto','Orelle','Ouistreham','Palau','Peisey-Vallandry','Perros Guirec','Pornic','Port Camargue','Port El Kantaoui','Port Fréjus','Porticcio','Quiberon','Richelieu','Roscoff','Royan','Saas Fee','Saint André Des Eaux','Saint Briac','Sainte Foy Tarentaise','Sainte Maxime','Saint Gervais-Mont Blanc','Saint Jean D\'Ardières','Saint Jean De Luz','Saint Jean De Monts','Saint Lary Soulan','Saint Laurent De La Cabrerisse','Saint Malo','Saint Martin De Belleville','Samodães','Samoëns','Santa Teresa Di Gallura','Sant Feliu De Guíxols','Seefeld','Sölden','Soldeu','Sousse','Telfs','Tesero','Tozeur','Val Cenis','Val D\'Isère','Valloire','Valmorel','Zarzis');  var  idStation = new Array('4294941097','4294899120','4294950408','4294951050','4294951308','4294951032','4294902351','4294949471','4294949939','4294947161','4294898305','4294947314','4294945893','4294950090','4294907302','4294937330','4294946157','4294950682','4294939050','4294951431','4294907206','4294911388','4294916159','4294944500','4294950164','4294950076','4294948335','4294899057','4294949390','4294941442','4294947848','4294949405','4294908635','4294946107','4294951476','4294942073','4294949825','4294951265','4294950636','4294950882','4294945088','4294940498','4294948688','4294898193','4294949843','4294950474','4294950204','4294951324','4294910278','4294940979','4294945680','4294950380','4294945120','4294949205','4294945709','4294949851','4294940574','4294949569','4294946922','4294937850','4294949563','4294947115','4294901980','4294951743','4294942001','4294908397','4294910133','4294940804','4294948626','4294947345','4294909781','4294907738','4294898664','4294945062','4294947765','4294951160','4294948427','4294907218','4294942252','4294950261','4294949353','4294944640','4294947811','4294907710','4294950543','4294906932','4294950832','4294899172','4294950612','4294949898','4294947203','4294948218','4294949806','4294949520','4294945736','4294948231','4294947926','4294898286','4294944960','4294898318','4294907212','4294947241','4294949999','4294936784','4294902357','4294910317','4294911893','4294906685','4294949647','4294948136','4294949139','4294939463','4294940998');  for (i = 0; i < libStation.length; i++) {      var select = document.getElementById('StationTHSpa');      select.options[select.options.length] = new Option(libStation[i], idStation[i]);}}
function FillListDateTHSpa(){  var libDate = new Array('Saturday 11 Sep 2010','Saturday 18 Sep 2010','Saturday 25 Sep 2010','Saturday 02 Oct 2010','Saturday 09 Oct 2010','Saturday 16 Oct 2010','Saturday 23 Oct 2010','Saturday 30 Oct 2010','Saturday 06 Nov 2010','Saturday 13 Nov 2010','Saturday 20 Nov 2010','Saturday 27 Nov 2010','Saturday 04 Dec 2010','Saturday 11 Dec 2010','Saturday 18 Dec 2010','Saturday 25 Dec 2010','Saturday 01 Jan 2011','Saturday 08 Jan 2011','Saturday 15 Jan 2011','Saturday 22 Jan 2011','Saturday 29 Jan 2011','Saturday 05 Feb 2011','Saturday 12 Feb 2011','Saturday 19 Feb 2011','Saturday 26 Feb 2011','Saturday 05 Mar 2011','Saturday 12 Mar 2011','Saturday 19 Mar 2011','Saturday 26 Mar 2011','Saturday 02 Apr 2011','Saturday 09 Apr 2011','Saturday 16 Apr 2011','Saturday 23 Apr 2011','Saturday 30 Apr 2011','Saturday 07 May 2011','Saturday 14 May 2011','Saturday 21 May 2011','Saturday 28 May 2011','Saturday 04 Jun 2011','Saturday 11 Jun 2011','Saturday 18 Jun 2011','Saturday 25 Jun 2011','Saturday 02 Jul 2011','Saturday 09 Jul 2011','Saturday 16 Jul 2011','Saturday 23 Jul 2011','Saturday 30 Jul 2011','Saturday 06 Aug 2011','Saturday 13 Aug 2011','Saturday 20 Aug 2011','Saturday 27 Aug 2011','Saturday 03 Sep 2011');  var  idDate = new Array('4294918435;4294916680','4294918433;4294916680','4294918442;4294916680','4294918469;4294918408','4294918467;4294918408','4294918466;4294918408','4294918465;4294918408','4294918464;4294918408','4294918462;4294911318','4294918461;4294911318','4294918459;4294911318','4294918458;4294911318','4294918438;4294909773','4294918435;4294909773','4294918433;4294909773','4294918442;4294909773','4294918439;4294909794','4294918436;4294909794','4294918434;4294909794','4294918443;4294909794','4294918441;4294909794','4294918446;4294909793','4294918454;4294909793','4294918452;4294909793','4294918451;4294909793','4294918446;4294909792','4294918454;4294909792','4294918452;4294909792','4294918451;4294909792','4294918469;4294909775','4294918467;4294909775','4294918466;4294909775','4294918465;4294909775','4294918464;4294909775','4294918437;4294904933','4294918449;4294904933','4294918448;4294904933','4294918447;4294904933','4294918438;4294902705','4294918435;4294902705','4294918433;4294902705','4294918442;4294902705','4294918469;4294898957','4294918467;4294898957','4294918466;4294898957','4294918465;4294898957','4294918464;4294898957','4294918462;4294898432','4294918461;4294898432','4294918459;4294898432','4294918458;4294898432','4294918456;4294897657');  for (i = 0; i < libDate.length; i++) {      var select = document.getElementById('DateTHSpa');      select.options[select.options.length] = new Option(libDate[i], idDate[i]);}}
function FillListDurationTHSpa(){  var libDuration = new Array('1 night','2 nights','3 nights','4 nights','5 nights','6 nights','1 week','8 nights','9 nights','10 nights','11 nights','12 nights','13 nights','2 weeks','3 weeks or more');  var  idDuration = new Array('8553','8555','8938','8939','8940','8941','8554','8751','8942','8943','8944','8945','8946','8556','8557');  for (i = 0; i < libDuration.length; i++) {      var select = document.getElementById('DurationTHSpa');      select.options[select.options.length] = new Option(libDuration[i], idDuration[i]);      if (i==6) { select.options[select.options.length-1].selected = 'True'; }}}
function SubmitTHSpa(){currentUrl = new String(document.location);currentCulture = currentUrl.split('/')[3];leadingParam = currentUrl.split('?')[1];if (currentCulture == '#') currentUrl = currentUrl.substring(0,currentUrl.length -1 );var duree = document.getElementById('DurationTHSpa').options[document.getElementById('DurationTHSpa').selectedIndex].value;var country = '';if (document.getElementById('CountryTHSpa').selectedIndex > 0) country = '-' + document.getElementById('CountryTHSpa').options[document.getElementById('CountryTHSpa').selectedIndex].value;var station = '';if (document.getElementById('StationTHSpa').selectedIndex > 0) station = '-' + document.getElementById('StationTHSpa').options[document.getElementById('StationTHSpa').selectedIndex].value;var theme = '';if (getSelectedRadioValue(document.form1.theme) != '') theme = '-' + getSelectedRadioValue(document.form1.theme);var date = '';if (document.getElementById('DateTHSpa').selectedIndex > 0) {var month = document.getElementById('DateTHSpa').options[document.getElementById('DateTHSpa').selectedIndex].value.split(';')[1];var day = document.getElementById('DateTHSpa').options[document.getElementById('DateTHSpa').selectedIndex].value.split(';')[0];date = '-' + month + '-' + day;}var dsnav = '?dsNav=N:';if (leadingParam != null && leadingParam.length > 0) {dsnav = '&dsNav=N:';}window.location = currentUrl + dsnav + duree + country + station + theme + date;}
function ChoixTHSpa(){var i = document.getElementById('CountryTHSpa').selectedIndex;switch(i){case 0 : var libStation = new Array('Agadir','Aix Les Bains','Alénya','Anglet','Antibes','Arcachon','Ardon','Argelès Sur Mer','Arles','Azay Le Rideau','Badesi','Bad Gastein','Bad Hofgastein','Baillargues','Banyuls Sur Mer','Bardonecchia','Berwang','Biarritz','Bourg Saint Maurice','Brides Les Bains','Caldes D\'Estrach','Campitello Di Fassa','Canazei','Cancale','Canet En Roussillon','Carnac','Cauterets','Cricqueboeuf','Deauville','Dinard','Djerba','Douarnenez','Fayence','Flachau','Font-Romeu','Hammamet','Houlgate','Hyères','Ile De Ré','Ile D\'Oleron','Island Of Cavallo','Isola 2000','Isola Rossa','Jungholtz','La Baule','Lacanau','La Clusaz','La Grande Motte','Längenfeld','La Plagne','La Rosière','Le Grau Du Roi','Leogang','Les Carroz-D\'Araches','Les Houches','Les Issambres','Les Ménuires','Les Sables D\'Olonne','Les Saintes Maries De La Mer','Les Saisies','Le Touquet','Lioran','Locquirec','Luchon-Superbagnères','Mahdia','Marrakech','Meribel','Morzine','Mutters','Olmeto','Orelle','Ouistreham','Palau','Peisey-Vallandry','Perros Guirec','Pornic','Port Camargue','Port El Kantaoui','Port Fréjus','Porticcio','Quiberon','Richelieu','Roscoff','Royan','Saas Fee','Saint André Des Eaux','Saint Briac','Sainte Foy Tarentaise','Sainte Maxime','Saint Gervais-Mont Blanc','Saint Jean D\'Ardières','Saint Jean De Luz','Saint Jean De Monts','Saint Lary Soulan','Saint Laurent De La Cabrerisse','Saint Malo','Saint Martin De Belleville','Samodães','Samoëns','Santa Teresa Di Gallura','Sant Feliu De Guíxols','Seefeld','Sölden','Soldeu','Sousse','Telfs','Tesero','Tozeur','Val Cenis','Val D\'Isère','Valloire','Valmorel','Zarzis');var  idStation = new Array('4294941097','4294899120','4294950408','4294951050','4294951308','4294951032','4294902351','4294949471','4294949939','4294947161','4294898305','4294947314','4294945893','4294950090','4294907302','4294937330','4294946157','4294950682','4294939050','4294951431','4294907206','4294911388','4294916159','4294944500','4294950164','4294950076','4294948335','4294899057','4294949390','4294941442','4294947848','4294949405','4294908635','4294946107','4294951476','4294942073','4294949825','4294951265','4294950636','4294950882','4294945088','4294940498','4294948688','4294898193','4294949843','4294950474','4294950204','4294951324','4294910278','4294940979','4294945680','4294950380','4294945120','4294949205','4294945709','4294949851','4294940574','4294949569','4294946922','4294937850','4294949563','4294947115','4294901980','4294951743','4294942001','4294908397','4294910133','4294940804','4294948626','4294947345','4294909781','4294907738','4294898664','4294945062','4294947765','4294951160','4294948427','4294907218','4294942252','4294950261','4294949353','4294944640','4294947811','4294907710','4294950543','4294906932','4294950832','4294899172','4294950612','4294949898','4294947203','4294948218','4294949806','4294949520','4294945736','4294948231','4294947926','4294898286','4294944960','4294898318','4294907212','4294947241','4294949999','4294936784','4294902357','4294910317','4294911893','4294906685','4294949647','4294948136','4294949139','4294939463','4294940998');break;case 1 : var libStation = new Array('Soldeu');var idStation = new Array('4294936784');break;case 2 : var libStation = new Array('Bad Gastein','Bad Hofgastein','Berwang','Flachau','Längenfeld','Leogang','Mutters','Seefeld','Sölden','Telfs');var idStation = new Array('4294947314','4294945893','4294946157','4294946107','4294910278','4294945120','4294948626','4294947241','4294949999','4294910317');break;case 3 : var libStation = new Array('Aix Les Bains','Alénya','Anglet','Antibes','Arcachon','Ardon','Argelès Sur Mer','Arles','Azay Le Rideau','Baillargues','Banyuls Sur Mer','Biarritz','Bourg Saint Maurice','Brides Les Bains','Cancale','Canet En Roussillon','Carnac','Cauterets','Cricqueboeuf','Deauville','Dinard','Douarnenez','Fayence','Font-Romeu','Houlgate','Hyères','Ile De Ré','Ile D\'Oleron','Island Of Cavallo','Isola 2000','Jungholtz','La Baule','Lacanau','La Clusaz','La Grande Motte','La Plagne','La Rosière','Le Grau Du Roi','Les Carroz-D\'Araches','Les Houches','Les Issambres','Les Ménuires','Les Sables D\'Olonne','Les Saintes Maries De La Mer','Les Saisies','Le Touquet','Lioran','Locquirec','Luchon-Superbagnères','Meribel','Morzine','Olmeto','Orelle','Ouistreham','Peisey-Vallandry','Perros Guirec','Pornic','Port Camargue','Port Fréjus','Porticcio','Quiberon','Richelieu','Roscoff','Royan','Saint André Des Eaux','Saint Briac','Sainte Foy Tarentaise','Sainte Maxime','Saint Gervais-Mont Blanc','Saint Jean D\'Ardières','Saint Jean De Luz','Saint Jean De Monts','Saint Lary Soulan','Saint Laurent De La Cabrerisse','Saint Malo','Saint Martin De Belleville','Samoëns','Val Cenis','Val D\'Isère','Valloire','Valmorel');var idStation = new Array('4294899120','4294950408','4294951050','4294951308','4294951032','4294902351','4294949471','4294949939','4294947161','4294950090','4294907302','4294950682','4294939050','4294951431','4294944500','4294950164','4294950076','4294948335','4294899057','4294949390','4294941442','4294949405','4294908635','4294951476','4294949825','4294951265','4294950636','4294950882','4294945088','4294940498','4294898193','4294949843','4294950474','4294950204','4294951324','4294940979','4294945680','4294950380','4294949205','4294945709','4294949851','4294940574','4294949569','4294946922','4294937850','4294949563','4294947115','4294901980','4294951743','4294910133','4294940804','4294947345','4294909781','4294907738','4294945062','4294947765','4294951160','4294948427','4294942252','4294950261','4294949353','4294944640','4294947811','4294907710','4294906932','4294950832','4294899172','4294950612','4294949898','4294947203','4294948218','4294949806','4294949520','4294945736','4294948231','4294947926','4294944960','4294949647','4294948136','4294949139','4294939463');break;case 4 : var libStation = new Array('Badesi','Bardonecchia','Campitello Di Fassa','Canazei','Isola Rossa','Palau','Santa Teresa Di Gallura','Tesero');var idStation = new Array('4294898305','4294937330','4294911388','4294916159','4294948688','4294898664','4294898318','4294911893');break;case 5 : var libStation = new Array('Agadir','Marrakech');var idStation = new Array('4294941097','4294908397');break;case 6 : var libStation = new Array('Samodães');var idStation = new Array('4294898286');break;case 7 : var libStation = new Array('Caldes D\'Estrach','Sant Feliu De Guíxols');var idStation = new Array('4294907206','4294907212');break;case 8 : var libStation = new Array('Saas Fee');var idStation = new Array('4294950543');break;case 9 : var libStation = new Array('Djerba','Hammamet','Mahdia','Port El Kantaoui','Sousse','Tozeur','Zarzis');var idStation = new Array('4294947848','4294942073','4294942001','4294907218','4294902357','4294906685','4294940998');break;}while (document.getElementById('StationTHSpa').length > 1) {document.getElementById('StationTHSpa').options[1] = null;}for (i = 0; i < libStation.length; i++) {var select = document.getElementById('StationTHSpa');select.options[select.options.length] = new Option(libStation[i], idStation[i]);}}
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();