/*This script allows for correct language redirects*/ $(document).ready(function(){ $('a[href$="/reservations"]').on('click',function(event){ var localeCode = 'en-US'; var lang = $('html').attr('lang'); if (lang == 'fr-fr') { localeCode = 'fr-FR'; } else { localeCode = 'en-US'; } //Replace tUrl with the appropiate BE without the parms var beUrl = 'https://gc.synxis.com/rez.aspx?Hotel=69928&Chain=18460&locale='+localeCode; var tUrl=beUrl; $(this).attr('href',tUrl); }); }); //>