booking_script Posted April 8, 2016

Off

$(booking_page).ready(function(){

var postUrl = “https://gc.synxis.com/rez.aspx?hotel=69587&chain=13325&template=CBVI_GCFLX&shell=CBVI_FLEX”;
$(“.bookbutton”).bind(“click”, function(e){
e.preventDefault();
e.stopPropagation();
var $room = $(“#room”).val();
var $from = $(“#datefrom”).val();
var $dateto = $(“#dateto”).val();
postUrl+=”&book_room_type_and_price=”+$room;
postUrl+=”&arrive=”+$from;
postUrl+=”&depart=”+$dateto;
window.location = postUrl;
})
})