function resaprologin()
{
var login=document.getElementById("resapro");
var password=document.getElementById("password");
var iata=document.getElementById("iata");
document.location.href="http://webbooking.louvre-hotels.fr/book/switch.aspx?resapro="+encodeURIComponent(login.value) + "&password="+encodeURIComponent(password.value)+ "&iata="+encodeURIComponent(iata.value);
}
function resaproModif() {
           var NumResa=document.getElementById("numResa");
var NomMail=document.getElementById("email");

            document.location.href = 'https://webbooking.louvre-hotels.fr/fetch.login.aspx?confirmation=' + encodeURIComponent(NumResa.value) + '&name=' + encodeURIComponent(NomMail.value) + '&s=LH';
    }
function trackExternalLink(link){
 _gaq.push(['_trackPageview',link.href]);
 if(typeof(link.target)=="undefined" || link.target==null || link.target==""){
   window.setTimeout(function(){document.location.href=link.href;},100);
   return false;
 }else{
   return true; //There is a target
 }
}
