Type.registerNamespace('Booking.WebUserControls');
Booking.WebUserControls.CatalogService=function() {
Booking.WebUserControls.CatalogService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Booking.WebUserControls.CatalogService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Booking.WebUserControls.CatalogService._staticInstance.get_path();},
GetCatalogObjectInfo:function(country,region,locality,action,contentDivID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCatalogObjectInfo',false,{country:country,region:region,locality:locality,action:action,contentDivID:contentDivID},succeededCallback,failedCallback,userContext); },
GetCatalogImages:function(country,region,locality,action,contentDivID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCatalogImages',false,{country:country,region:region,locality:locality,action:action,contentDivID:contentDivID},succeededCallback,failedCallback,userContext); },
GetTermsAndPrices:function(action,autoFix,persons,showSoldTerms,dateFrom,dateTo,onlySpecialOffer,contentDivID,order,desc,selectedDays,selectedTransport,selectedAirport,selectedBoardType,personsControlClientID,personsControlLinkID,termsAndPricesContainerClientID,finalAirport,actualPage,ckDebug,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTermsAndPrices',false,{action:action,autoFix:autoFix,persons:persons,showSoldTerms:showSoldTerms,dateFrom:dateFrom,dateTo:dateTo,onlySpecialOffer:onlySpecialOffer,contentDivID:contentDivID,order:order,desc:desc,selectedDays:selectedDays,selectedTransport:selectedTransport,selectedAirport:selectedAirport,selectedBoardType:selectedBoardType,personsControlClientID:personsControlClientID,personsControlLinkID:personsControlLinkID,termsAndPricesContainerClientID:termsAndPricesContainerClientID,finalAirport:finalAirport,actualPage:actualPage,ckDebug:ckDebug},succeededCallback,failedCallback,userContext); },
GetNextObjects:function(country,region,locality,contentDivID,type,tourType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNextObjects',false,{country:country,region:region,locality:locality,contentDivID:contentDivID,type:type,tourType:tourType},succeededCallback,failedCallback,userContext); },
GetDiscounts:function(action,contentDivID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDiscounts',false,{action:action,contentDivID:contentDivID},succeededCallback,failedCallback,userContext); },
GetCatalogSpecialDesc:function(country,region,locality,action,contentDivID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCatalogSpecialDesc',false,{country:country,region:region,locality:locality,action:action,contentDivID:contentDivID},succeededCallback,failedCallback,userContext); },
CheckCapacity:function(autoFix,persons,calcURL,callerID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckCapacity',false,{autoFix:autoFix,persons:persons,calcURL:calcURL,callerID:callerID},succeededCallback,failedCallback,userContext); }}
Booking.WebUserControls.CatalogService.registerClass('Booking.WebUserControls.CatalogService',Sys.Net.WebServiceProxy);
Booking.WebUserControls.CatalogService._staticInstance = new Booking.WebUserControls.CatalogService();
Booking.WebUserControls.CatalogService.set_path = function(value) { Booking.WebUserControls.CatalogService._staticInstance.set_path(value); }
Booking.WebUserControls.CatalogService.get_path = function() { return Booking.WebUserControls.CatalogService._staticInstance.get_path(); }
Booking.WebUserControls.CatalogService.set_timeout = function(value) { Booking.WebUserControls.CatalogService._staticInstance.set_timeout(value); }
Booking.WebUserControls.CatalogService.get_timeout = function() { return Booking.WebUserControls.CatalogService._staticInstance.get_timeout(); }
Booking.WebUserControls.CatalogService.set_defaultUserContext = function(value) { Booking.WebUserControls.CatalogService._staticInstance.set_defaultUserContext(value); }
Booking.WebUserControls.CatalogService.get_defaultUserContext = function() { return Booking.WebUserControls.CatalogService._staticInstance.get_defaultUserContext(); }
Booking.WebUserControls.CatalogService.set_defaultSucceededCallback = function(value) { Booking.WebUserControls.CatalogService._staticInstance.set_defaultSucceededCallback(value); }
Booking.WebUserControls.CatalogService.get_defaultSucceededCallback = function() { return Booking.WebUserControls.CatalogService._staticInstance.get_defaultSucceededCallback(); }
Booking.WebUserControls.CatalogService.set_defaultFailedCallback = function(value) { Booking.WebUserControls.CatalogService._staticInstance.set_defaultFailedCallback(value); }
Booking.WebUserControls.CatalogService.get_defaultFailedCallback = function() { return Booking.WebUserControls.CatalogService._staticInstance.get_defaultFailedCallback(); }
Booking.WebUserControls.CatalogService.set_path("/WebUserControls/CatalogService.asmx");
Booking.WebUserControls.CatalogService.GetCatalogObjectInfo= function(country,region,locality,action,contentDivID,onSuccess,onFailed,userContext) {Booking.WebUserControls.CatalogService._staticInstance.GetCatalogObjectInfo(country,region,locality,action,contentDivID,onSuccess,onFailed,userContext); }
Booking.WebUserControls.CatalogService.GetCatalogImages= function(country,region,locality,action,contentDivID,onSuccess,onFailed,userContext) {Booking.WebUserControls.CatalogService._staticInstance.GetCatalogImages(country,region,locality,action,contentDivID,onSuccess,onFailed,userContext); }
Booking.WebUserControls.CatalogService.GetTermsAndPrices= function(action,autoFix,persons,showSoldTerms,dateFrom,dateTo,onlySpecialOffer,contentDivID,order,desc,selectedDays,selectedTransport,selectedAirport,selectedBoardType,personsControlClientID,personsControlLinkID,termsAndPricesContainerClientID,finalAirport,actualPage,ckDebug,onSuccess,onFailed,userContext) {Booking.WebUserControls.CatalogService._staticInstance.GetTermsAndPrices(action,autoFix,persons,showSoldTerms,dateFrom,dateTo,onlySpecialOffer,contentDivID,order,desc,selectedDays,selectedTransport,selectedAirport,selectedBoardType,personsControlClientID,personsControlLinkID,termsAndPricesContainerClientID,finalAirport,actualPage,ckDebug,onSuccess,onFailed,userContext); }
Booking.WebUserControls.CatalogService.GetNextObjects= function(country,region,locality,contentDivID,type,tourType,onSuccess,onFailed,userContext) {Booking.WebUserControls.CatalogService._staticInstance.GetNextObjects(country,region,locality,contentDivID,type,tourType,onSuccess,onFailed,userContext); }
Booking.WebUserControls.CatalogService.GetDiscounts= function(action,contentDivID,onSuccess,onFailed,userContext) {Booking.WebUserControls.CatalogService._staticInstance.GetDiscounts(action,contentDivID,onSuccess,onFailed,userContext); }
Booking.WebUserControls.CatalogService.GetCatalogSpecialDesc= function(country,region,locality,action,contentDivID,onSuccess,onFailed,userContext) {Booking.WebUserControls.CatalogService._staticInstance.GetCatalogSpecialDesc(country,region,locality,action,contentDivID,onSuccess,onFailed,userContext); }
Booking.WebUserControls.CatalogService.CheckCapacity= function(autoFix,persons,calcURL,callerID,onSuccess,onFailed,userContext) {Booking.WebUserControls.CatalogService._staticInstance.CheckCapacity(autoFix,persons,calcURL,callerID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Booking.WebUserControls.CatalogData) === 'undefined') {
Booking.WebUserControls.CatalogData=gtc("Booking.WebUserControls.CatalogData");
Booking.WebUserControls.CatalogData.registerClass('Booking.WebUserControls.CatalogData');
}
Type.registerNamespace('Booking.AppCode.ControlsLogic');
if (typeof(Booking.AppCode.ControlsLogic.OrderBy) === 'undefined') {
Booking.AppCode.ControlsLogic.OrderBy = function() { throw Error.invalidOperation(); }
Booking.AppCode.ControlsLogic.OrderBy.prototype = {Term: 1,Days: 2,Transport: 3,AdultPrice: 4,ChildrenPrice: 5,FullPrice: 6,Room: 7,BoardType: 8}
Booking.AppCode.ControlsLogic.OrderBy.registerEnum('Booking.AppCode.ControlsLogic.OrderBy', true);
}

