function HB_Init(){var a=0;if(window.HB_oCallback){a=window.HB_oCallback.length}else{window.HB_oCallback=new Array();window.HB_oSB=new Array()}window.HB_oCallback[a]=function(){window.HB_oSB[a]=new HB_SearchBox();window.HB_oSB[a].Init({baseDiv:document.getElementById("HB_SearchBox"+a),webSiteId:1,lang:"fr",routeId:1,routesArray:[1,2,4,8,16],searchAccom:"Rechercher hébergement ",selectedCountry:0,selectedCity:0,txtCountryLabel:"Pays",txtCityLabel:"Ville",txtCheckinLabel:"Arrivée",txtNightsLabel:"Nuits",txtSelectCountry:"Choisissez un pays",txtSelectCity:"Sélectionnez une ville",txtSelectDay:"Jour",txtSelectMonth:"Mois",txtSelectYear:"Année",txtSearch:"Rechercher",txtVldSelect:"Vous devez sélectionner l'option « [FieldLabel]",txtVldDatePast:"Date invalide",txtVldDate:"Format date invalide",monthNames:["Jan","Fev","Mar","Avr","Mai","Juin","Juil","Aoû","Sep","Oct","Nov","Dec"],wlDomain:"",width:"300",height:"250",isBranded:true,affiliate:"frblog",baseUrl:"http://searchbox.hb-247.com/searchbox",jsonpURL:"http://searchbox.hb-247.com/locations-jsonp/1/fr/1",openNewWindow:false,SearchServiceURL:"http://searchbox.hb-247.com"})};var e=function(){for(var h=0;h<window.HB_oCallback.length;h++){window.HB_oCallback[h]()}};document.write('<div id="HB_SearchBox'+a+'" class="hb247SearchWrapper"></div>');if(!window.HB_SearchBoxLoaded){window.HB_SearchBoxLoaded=true;var f=document.createElement("script");var c=document.createElement("link");var b=document.getElementsByTagName("body")[0];var d=document.getElementsByTagName("head")[0];f.setAttribute("src","http://searchbox.hb-247.com/searchbox/HBSBFoundation1.0.js");c.setAttribute("rel","stylesheet");c.setAttribute("type","text/css");c.setAttribute("href","http://searchbox.hb-247.com/searchbox/sb.css");var g=false;f.onload=function(){if(!g){g=true;e()}};f.onreadystatechange=function(){if((this.readyState=="loaded"||this.readyState=="complete")&&!g){g=true;e()}};if(!b){alert("Please place the searchbox script inside your body tags, at the point where the form should appear")}else{b.appendChild(f)}d.appendChild(c)}}HB_Init();
