function goBook(brand, language) {

    document.location.href = "http://webbooking.louvre-hotels.fr/book/switch.aspx?s=" + brand + "&l=" + language +
	"&city=" + encodeURIComponent(document.getElementById("QuickBooking_City").value) +
	"&country=" + selectedCountry +
	"&doarrival=" + encodeURIComponent(document.getElementById("QuickBooking_CheckIn").value) +
	"&dodepart=" + encodeURIComponent(document.getElementById("QuickBooking_CheckOut").value) +
	"&a=" + selectedAdults +
	"&k=" + selectedChildren +
	"&fw=" + (document.getElementById("QuickBooking_Wifi").checked ? "1" : "0") +
	"&rn=" + selectedRoomsCount +
	"&gtr=1";
}
function AddPopups()
{
	var links=document.getElementsByTagName("a");
	for (var li=0;li<links.length;li++)
	{
		if(links[li].href.indexOf("/popup/")>0 && links[li].target=="_blank")
		{
			links[li].href="javascript:window.open('"+links[li].href+"','popup','status=0, height=360, width=436, resizeable=0');void(null)";
			links[li].target="";
		}
	}
}
