
function booking(hotelid,locale)
{
var bookingButton = "";

if (locale == "en_US") {
	bookingButton = "Booking This Hotel";
}
if (locale == "de_DE") {
	bookingButton = "Anmelden dieses Hotels";
}
if (locale == "es_ES") {
	bookingButton = "Reservación de este hotel";
}
if (locale == "fr_FR") {
	bookingButton = "Réserver cet hôtel";
}
if (locale == "it_IT") {
	bookingButton = "Prenotazione del questo hotel";
}

document.writeln('<form action="http://hotels.discounthotelsbooking.com/index.jsp?pageName=hotInfo&cid=87270&isHotels=true&isCondos=false&hotelID=',hotelid,'&passthrough=true" method="POST" name="hotForm">')
document.writeln('<input type="hidden" name="submitted" value="true"/>')
document.writeln('<input type="hidden" name="avail" value="true"/>')
document.writeln('<input type="hidden" name="pickUpLocation" value="A">')
document.writeln('<input type="hidden" name="passThrough" value="true">')
document.writeln('<input type="hidden" name="locale" value="',locale,'"/>')
//document.writeln('<input type="submit" name="Submit" value="Booking This Hotel">')
document.writeln('<input type="submit" name="Submit" value="',bookingButton,'">')
document.writeln('</form>')
}
