var BookHotelService=function() {
BookHotelService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BookHotelService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BookHotelService._staticInstance.get_path();},
LoadBookHotel:function(hotelGroupID,hotelID,nightCount,checkIn,ticketID,adultCount,childAges,serializedQuoteID,serializedWorksheetID,reloadTickets,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoadBookHotel',false,{hotelGroupID:hotelGroupID,hotelID:hotelID,nightCount:nightCount,checkIn:checkIn,ticketID:ticketID,adultCount:adultCount,childAges:childAges,serializedQuoteID:serializedQuoteID,serializedWorksheetID:serializedWorksheetID,reloadTickets:reloadTickets},succeededCallback,failedCallback,userContext); }}
BookHotelService.registerClass('BookHotelService',Sys.Net.WebServiceProxy);
BookHotelService._staticInstance = new BookHotelService();
BookHotelService.set_path = function(value) { BookHotelService._staticInstance.set_path(value); }
BookHotelService.get_path = function() { return BookHotelService._staticInstance.get_path(); }
BookHotelService.set_timeout = function(value) { BookHotelService._staticInstance.set_timeout(value); }
BookHotelService.get_timeout = function() { return BookHotelService._staticInstance.get_timeout(); }
BookHotelService.set_defaultUserContext = function(value) { BookHotelService._staticInstance.set_defaultUserContext(value); }
BookHotelService.get_defaultUserContext = function() { return BookHotelService._staticInstance.get_defaultUserContext(); }
BookHotelService.set_defaultSucceededCallback = function(value) { BookHotelService._staticInstance.set_defaultSucceededCallback(value); }
BookHotelService.get_defaultSucceededCallback = function() { return BookHotelService._staticInstance.get_defaultSucceededCallback(); }
BookHotelService.set_defaultFailedCallback = function(value) { BookHotelService._staticInstance.set_defaultFailedCallback(value); }
BookHotelService.get_defaultFailedCallback = function() { return BookHotelService._staticInstance.get_defaultFailedCallback(); }
BookHotelService.set_enableJsonp = function(value) { BookHotelService._staticInstance.set_enableJsonp(value); }
BookHotelService.get_enableJsonp = function() { return BookHotelService._staticInstance.get_enableJsonp(); }
BookHotelService.set_jsonpCallbackParameter = function(value) { BookHotelService._staticInstance.set_jsonpCallbackParameter(value); }
BookHotelService.get_jsonpCallbackParameter = function() { return BookHotelService._staticInstance.get_jsonpCallbackParameter(); }
BookHotelService.set_path("http://www.getawaytoday.com/Services/BookHotelService.svc");
BookHotelService.LoadBookHotel= function(hotelGroupID,hotelID,nightCount,checkIn,ticketID,adultCount,childAges,serializedQuoteID,serializedWorksheetID,reloadTickets,onSuccess,onFailed,userContext) {BookHotelService._staticInstance.LoadBookHotel(hotelGroupID,hotelID,nightCount,checkIn,ticketID,adultCount,childAges,serializedQuoteID,serializedWorksheetID,reloadTickets,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('www.w3.org._2001.XMLSchema');
if (typeof(www.w3.org._2001.XMLSchema.int) === 'undefined') {
www.w3.org._2001.XMLSchema.int=gtc("int:http://www.w3.org/2001/XMLSchema");
www.w3.org._2001.XMLSchema.int.registerClass('www.w3.org._2001.XMLSchema.int');
}
Type.registerNamespace('Gat.Code.Model');
if (typeof(Gat.Code.Model.HotelAvailabilityResults) === 'undefined') {
Gat.Code.Model.HotelAvailabilityResults=gtc("HotelAvailabilityResults:http://schemas.datacontract.org/2004/07/Gat.Code.Model");
Gat.Code.Model.HotelAvailabilityResults.registerClass('Gat.Code.Model.HotelAvailabilityResults');
}
if (typeof(Gat.Code.Model.Hotel) === 'undefined') {
Gat.Code.Model.Hotel=gtc("Hotel:http://schemas.datacontract.org/2004/07/Gat.Code.Model");
Gat.Code.Model.Hotel.registerClass('Gat.Code.Model.Hotel');
}
if (typeof(Gat.Code.Model.Room) === 'undefined') {
Gat.Code.Model.Room=gtc("Room:http://schemas.datacontract.org/2004/07/Gat.Code.Model");
Gat.Code.Model.Room.registerClass('Gat.Code.Model.Room');
}
if (typeof(Gat.Code.Model.DailyPrice) === 'undefined') {
Gat.Code.Model.DailyPrice=gtc("DailyPrice:http://schemas.datacontract.org/2004/07/Gat.Code.Model");
Gat.Code.Model.DailyPrice.registerClass('Gat.Code.Model.DailyPrice');
}
if (typeof(Gat.Code.Model.SelectableVoucher) === 'undefined') {
Gat.Code.Model.SelectableVoucher=gtc("SelectableVoucher:http://schemas.datacontract.org/2004/07/Gat.Code.Model");
Gat.Code.Model.SelectableVoucher.registerClass('Gat.Code.Model.SelectableVoucher');
}

