var th_DOMAIN_NAME = '';
var th_ENVIRONMENT = 'prod';
var th_THALYS_LANGUAGE = 'en';
var th_THALYS_COUNTRY = 'fr';
var th_IMG_DOMAIN_NAME = '/img';
var lb_errors = [];
var lb_fields = [];
var label_fromstation = 'Departure station';
var label_tostation = "Arrival station";
var label_fromstation_no_utf8 = 'Departure station';
var label_tostation_no_utf8 = "Arrival station";
var label_station_tgb = 'ABS';
var combinaison_non_realisable_en_tkl = 'At present, it is not possible to mix different types of passengers on journeys offering the Ticketless service.';
var trajet_tgb_tkl_indisponible = 'Any Belgian Station service is not available for Ticketless journeys';
var trajet_tgb_indisponible = 'Any Belgian Station service not available';
var booking_tkl_light_abo_lys_indisponible = 'LYS service not available';
var tkl_offer_not_available = 'This offer is only available for paper tickets';
var booking_tkl_light_ticket_papier_pas_dispo = new Array('be','fr','nl','de');
booking_tkl_light_ticket_papier_pas_dispo['be'] = 'This offer is not available in Belgium';
booking_tkl_light_ticket_papier_pas_dispo['fr'] = 'This offer is not available in France';
booking_tkl_light_ticket_papier_pas_dispo['nl'] = 'This offer is not available in the Netherlands';
booking_tkl_light_ticket_papier_pas_dispo['de'] = 'This offer is not available in Germany';
var booking_tkl_light_ticket_papier_trajet_pas_dispo = new Array('be','fr','nl','de');
booking_tkl_light_ticket_papier_trajet_pas_dispo['be'] = 'This journey is not available in Belgium';
booking_tkl_light_ticket_papier_trajet_pas_dispo['fr'] = 'This journey is not available in France';
booking_tkl_light_ticket_papier_trajet_pas_dispo['nl'] = 'This journey is not available in the Netherlands';
booking_tkl_light_ticket_papier_trajet_pas_dispo['de'] = 'This journey is not available in Germany';
var booking_today_7  = new Date(2010,09,16);var booking_today_7_open  = new Date(2010,09,21);var label_non_dispo_7_jours = 'Order 7 days before departure';
var label_booking_tkl_light_finalise_full = 'Finalise your purchase by clicking on \"Book Ticketless\"';
var label_booking_tkl_light_finalise_empty = 'inalise your reservation after completing the form opposite';
var labelWrongPhoneNumber = "This phone number is incorrect";
var labelSeminaireQuestionsVide = "You must at least ask one question";
var labelNomMarcheSpecial = "Surname";
var labelPrenomMarcheSpecial = "First Name";
var labelVilleIncorrect = "The name of the city is incorrect";
var langue  = 'en';
var country = 'fr';
var basePath= '/fr/en';
var basePathAbs= 'http://www.thalys.com/fr/en';
label_date_depart = 'Departure day';
label_ajout_fichier = '';
label_supp_fichier = '';
label_wifi_total = 'Total:';
label_error_title = 'Error';
var errorAccorNomVille = 'Please enter a destination';
var labelChampObligatoire = 'Required field';
var labelChampSpeciaux = 'This field must not contain numbers or special characters';
var labelTvaIncorrecte = '';
var labelErreurSyntaxMail = 'Invalid e-mail address.';
var labelErreurnumeric = 'This field must not contain letters, special characters or spaces.';
var label_erreur_taille_pwd = 'Your password must contain from 6 to 20 letters. ';
var label_erreur_confirm_password = 'Your password and confirmation password do not match ';
var label_erreur_confirm_eamil = 'Your email and confirmation email do not match ';
var label_adresse_mail_deja_utilisee = 'This e-mail has already been used to participate in this contest.';
label_print = 'Print';
label_navigo = 'Serial number of your Navigo pass';
var wrong_extension = "File extension is not authorised";
var b2b_erreur_poucentage = "Please enter a number from 0 to 100";
var beneficiez_de_x_credits = "You have %x %credits worth € %s";
et_de_x_credits = "and %x %credits worth € %s.";
dont_3_gratuits = ", including 3 free credits";
dont_1_gratuit = ", including 1 free credit";
wifi_credit = "credits";
wifi_credits = "credits";
var labelErreurNumeroLys = "Lys Card number is incorrect.";
var labelEcoComparator = "";
var station_tgb = "ABS";
var adresse_mail_deja_utilisee = "This e-mail has already been used to participate in this contest.";
domain_name = '';
img_domain_name = '/img';

// Localized station names -- This code is generated, do not edit.
var stations = new Array();
stations['DEBDY'] = 'Aachen HBF';
stations['BEBMI'] = 'Bruxelles-Midi/Brussel-Zuid';
stations['FRPNO'] = 'Paris Nord';
stations['BEABC'] = 'Antwerpen-Centraal';
stations['BECRL'] = 'Charleroi-Sud';
stations['BELGG'] = 'Ličge';
stations['BEQMO'] = 'Mons';
stations['NLSPH'] = 'Schiphol';
stations['BEQNM'] = 'Namur';
stations['BEBRG'] = 'Brugge';
stations['BEGNT'] = 'Gent-Sint-Pieters';
stations['BEOST'] = 'Oostende';
stations['DEKOH'] = 'Köln Hbf';
stations['NLAMA'] = 'Amsterdam Centraal';
stations['NLRTA'] = 'Rotterdam Centraal';

// Destination map -- This code is generated, do not edit.
var stationsMap = new Array();
stationsMap['DEBDY'] = new Array("BEBMI","BELGG","FRPNO");
stationsMap['BEBMI'] = new Array("DEBDY","DEKOH","FRPNO","NLAMA","NLRTA","NLSPH");
stationsMap['FRPNO'] = new Array("BEABC","BEBMI","BEBRG","BECRL","BEGNT","BELGG","BEOST","BEQMO","BEQNM","DEBDY","DEKOH","NLAMA","NLRTA","NLSPH");
stationsMap['BEABC'] = new Array("FRPNO","NLAMA","NLRTA","NLSPH");
stationsMap['BECRL'] = new Array("FRPNO");
stationsMap['BELGG'] = new Array("DEBDY","DEKOH","FRPNO");
stationsMap['BEQMO'] = new Array("FRPNO");
stationsMap['NLSPH'] = new Array("BEABC","BEBMI","FRPNO");
stationsMap['BEQNM'] = new Array("FRPNO");
stationsMap['BEBRG'] = new Array("FRPNO");
stationsMap['BEGNT'] = new Array("FRPNO");
stationsMap['BEOST'] = new Array("FRPNO");
stationsMap['DEKOH'] = new Array("BEBMI","BELGG","FRPNO");
stationsMap['NLAMA'] = new Array("BEABC","BEBMI","FRPNO");
stationsMap['NLRTA'] = new Array("BEABC","BEBMI","FRPNO");
var price_60 = 6.5;var price_voyage = 13;
function showWorks(idshow,idhide){
    if (document.getElementById(idhide)) document.getElementById(idhide).style.display = 'none';
    if (document.getElementById(idshow)) document.getElementById(idshow).style.display = 'inline';
}

function captcha(idcaptcha_img,session,nouveau){
    var img = document.getElementById(idcaptcha_img);

    if(img!=null){
        var today    = new Date();
        img.src ='';
        if(nouveau == null){
            nouveau = 0;
        }
        url_img = 'http://www.thalys.com?do=cryptoGraphp&mode=captcha&sessid='+session+'&nouveau='+nouveau+'&cfg=0&ts='+today.getTime();

        img.src = url_img;
    }
}