var Momondo=function() {
Momondo.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Momondo.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Momondo._staticInstance.get_path();},
StartFlightSearch:function(orig,dest,departDate,returnDate,oneway,live,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StartFlightSearch',false,{orig:orig,dest:dest,departDate:departDate,returnDate:returnDate,oneway:oneway,live:live},succeededCallback,failedCallback,userContext); },
UpdateFlightResults:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateFlightResults',false,{},succeededCallback,failedCallback,userContext); },
SetCurrency:function(currency,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetCurrency',false,{currency:currency},succeededCallback,failedCallback,userContext); },
SetSearchView:function(view,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetSearchView',false,{view:view},succeededCallback,failedCallback,userContext); },
SetFlexible:function(show,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetFlexible',false,{show:show},succeededCallback,failedCallback,userContext); },
GetSupplierProducts:function(orig,dest,departDate,returnDate,oneway,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSupplierProducts',false,{orig:orig,dest:dest,departDate:departDate,returnDate:returnDate,oneway:oneway},succeededCallback,failedCallback,userContext); },
GetSupplierProductsEx:function(orig,dest,departDate,returnDate,oneway,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSupplierProductsEx',false,{orig:orig,dest:dest,departDate:departDate,returnDate:returnDate,oneway:oneway},succeededCallback,failedCallback,userContext); },
UpdateCarResults:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateCarResults',false,{},succeededCallback,failedCallback,userContext); },
StartCarSearch:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StartCarSearch',false,{},succeededCallback,failedCallback,userContext); },
StartCarSearchByPickupLocation:function(pickupLocation,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StartCarSearchByPickupLocation',false,{pickupLocation:pickupLocation},succeededCallback,failedCallback,userContext); },
StartCarSearchByPickupAndDropOffLocation:function(pickUpLocation,dropOffLocation,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StartCarSearchByPickupAndDropOffLocation',false,{pickUpLocation:pickUpLocation,dropOffLocation:dropOffLocation},succeededCallback,failedCallback,userContext); },
StartLiveSearchSupplier:function(supplierId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'StartLiveSearchSupplier',false,{supplierId:supplierId},succeededCallback,failedCallback,userContext); },
GetPriceGraphData:function(orig,dest,oneway,departYear,departMonth,returnYear,returnMonth,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPriceGraphData',false,{orig:orig,dest:dest,oneway:oneway,departYear:departYear,departMonth:departMonth,returnYear:returnYear,returnMonth:returnMonth},succeededCallback,failedCallback,userContext); },
WhereToGo:function(mode,maxCount,origCode,destIdent,departYear,departMonth,priceFrom,priceTo,ambCat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'WhereToGo',false,{mode:mode,maxCount:maxCount,origCode:origCode,destIdent:destIdent,departYear:departYear,departMonth:departMonth,priceFrom:priceFrom,priceTo:priceTo,ambCat:ambCat},succeededCallback,failedCallback,userContext); },
WhereToGoGetUpdated:function(origCode,destCode,year,month,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'WhereToGoGetUpdated',false,{origCode:origCode,destCode:destCode,year:year,month:month},succeededCallback,failedCallback,userContext); },
AddPriceAgent:function(range,frequency,name,email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddPriceAgent',false,{range:range,frequency:frequency,name:name,email:email},succeededCallback,failedCallback,userContext); },
AddFeedback:function(comments,email,flightsRating,hotelsRating,cityGuideRating,easeOfUseRating,designRating,credibilityRating,sendCopy,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddFeedback',false,{comments:comments,email:email,flightsRating:flightsRating,hotelsRating:hotelsRating,cityGuideRating:cityGuideRating,easeOfUseRating:easeOfUseRating,designRating:designRating,credibilityRating:credibilityRating,sendCopy:sendCopy},succeededCallback,failedCallback,userContext); },
NewsletterSignUp:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'NewsletterSignUp',false,{email:email},succeededCallback,failedCallback,userContext); },
GingerSplashCompetition:function(email,answer,newsletter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GingerSplashCompetition',false,{email:email,answer:answer,newsletter:newsletter},succeededCallback,failedCallback,userContext); },
CompetitionSignup:function(competitionID,email,answer,newsletter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CompetitionSignup',false,{competitionID:competitionID,email:email,answer:answer,newsletter:newsletter},succeededCallback,failedCallback,userContext); },
PrizeDrawSignup:function(competitionID,email,newsletter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PrizeDrawSignup',false,{competitionID:competitionID,email:email,newsletter:newsletter},succeededCallback,failedCallback,userContext); },
logNoResults:function(clientOrig,clientDest,clientReturnTrip,clientDepartDate,clientReturnDate,supplierIDs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'logNoResults',false,{clientOrig:clientOrig,clientDest:clientDest,clientReturnTrip:clientReturnTrip,clientDepartDate:clientDepartDate,clientReturnDate:clientReturnDate,supplierIDs:supplierIDs},succeededCallback,failedCallback,userContext); }}
Momondo.registerClass('Momondo',Sys.Net.WebServiceProxy);
Momondo._staticInstance = new Momondo();
Momondo.set_path = function(value) { Momondo._staticInstance.set_path(value); }
Momondo.get_path = function() { return Momondo._staticInstance.get_path(); }
Momondo.set_timeout = function(value) { Momondo._staticInstance.set_timeout(value); }
Momondo.get_timeout = function() { return Momondo._staticInstance.get_timeout(); }
Momondo.set_defaultUserContext = function(value) { Momondo._staticInstance.set_defaultUserContext(value); }
Momondo.get_defaultUserContext = function() { return Momondo._staticInstance.get_defaultUserContext(); }
Momondo.set_defaultSucceededCallback = function(value) { Momondo._staticInstance.set_defaultSucceededCallback(value); }
Momondo.get_defaultSucceededCallback = function() { return Momondo._staticInstance.get_defaultSucceededCallback(); }
Momondo.set_defaultFailedCallback = function(value) { Momondo._staticInstance.set_defaultFailedCallback(value); }
Momondo.get_defaultFailedCallback = function() { return Momondo._staticInstance.get_defaultFailedCallback(); }
Momondo.set_enableJsonp = function(value) { Momondo._staticInstance.set_enableJsonp(value); }
Momondo.get_enableJsonp = function() { return Momondo._staticInstance.get_enableJsonp(); }
Momondo.set_jsonpCallbackParameter = function(value) { Momondo._staticInstance.set_jsonpCallbackParameter(value); }
Momondo.get_jsonpCallbackParameter = function() { return Momondo._staticInstance.get_jsonpCallbackParameter(); }
Momondo.set_path("/Momondo.asmx");
Momondo.StartFlightSearch= function(orig,dest,departDate,returnDate,oneway,live,onSuccess,onFailed,userContext) {Momondo._staticInstance.StartFlightSearch(orig,dest,departDate,returnDate,oneway,live,onSuccess,onFailed,userContext); }
Momondo.UpdateFlightResults= function(onSuccess,onFailed,userContext) {Momondo._staticInstance.UpdateFlightResults(onSuccess,onFailed,userContext); }
Momondo.SetCurrency= function(currency,onSuccess,onFailed,userContext) {Momondo._staticInstance.SetCurrency(currency,onSuccess,onFailed,userContext); }
Momondo.SetSearchView= function(view,onSuccess,onFailed,userContext) {Momondo._staticInstance.SetSearchView(view,onSuccess,onFailed,userContext); }
Momondo.SetFlexible= function(show,onSuccess,onFailed,userContext) {Momondo._staticInstance.SetFlexible(show,onSuccess,onFailed,userContext); }
Momondo.GetSupplierProducts= function(orig,dest,departDate,returnDate,oneway,onSuccess,onFailed,userContext) {Momondo._staticInstance.GetSupplierProducts(orig,dest,departDate,returnDate,oneway,onSuccess,onFailed,userContext); }
Momondo.GetSupplierProductsEx= function(orig,dest,departDate,returnDate,oneway,onSuccess,onFailed,userContext) {Momondo._staticInstance.GetSupplierProductsEx(orig,dest,departDate,returnDate,oneway,onSuccess,onFailed,userContext); }
Momondo.UpdateCarResults= function(onSuccess,onFailed,userContext) {Momondo._staticInstance.UpdateCarResults(onSuccess,onFailed,userContext); }
Momondo.StartCarSearch= function(onSuccess,onFailed,userContext) {Momondo._staticInstance.StartCarSearch(onSuccess,onFailed,userContext); }
Momondo.StartCarSearchByPickupLocation= function(pickupLocation,onSuccess,onFailed,userContext) {Momondo._staticInstance.StartCarSearchByPickupLocation(pickupLocation,onSuccess,onFailed,userContext); }
Momondo.StartCarSearchByPickupAndDropOffLocation= function(pickUpLocation,dropOffLocation,onSuccess,onFailed,userContext) {Momondo._staticInstance.StartCarSearchByPickupAndDropOffLocation(pickUpLocation,dropOffLocation,onSuccess,onFailed,userContext); }
Momondo.StartLiveSearchSupplier= function(supplierId,onSuccess,onFailed,userContext) {Momondo._staticInstance.StartLiveSearchSupplier(supplierId,onSuccess,onFailed,userContext); }
Momondo.GetPriceGraphData= function(orig,dest,oneway,departYear,departMonth,returnYear,returnMonth,onSuccess,onFailed,userContext) {Momondo._staticInstance.GetPriceGraphData(orig,dest,oneway,departYear,departMonth,returnYear,returnMonth,onSuccess,onFailed,userContext); }
Momondo.WhereToGo= function(mode,maxCount,origCode,destIdent,departYear,departMonth,priceFrom,priceTo,ambCat,onSuccess,onFailed,userContext) {Momondo._staticInstance.WhereToGo(mode,maxCount,origCode,destIdent,departYear,departMonth,priceFrom,priceTo,ambCat,onSuccess,onFailed,userContext); }
Momondo.WhereToGoGetUpdated= function(origCode,destCode,year,month,onSuccess,onFailed,userContext) {Momondo._staticInstance.WhereToGoGetUpdated(origCode,destCode,year,month,onSuccess,onFailed,userContext); }
Momondo.AddPriceAgent= function(range,frequency,name,email,onSuccess,onFailed,userContext) {Momondo._staticInstance.AddPriceAgent(range,frequency,name,email,onSuccess,onFailed,userContext); }
Momondo.AddFeedback= function(comments,email,flightsRating,hotelsRating,cityGuideRating,easeOfUseRating,designRating,credibilityRating,sendCopy,onSuccess,onFailed,userContext) {Momondo._staticInstance.AddFeedback(comments,email,flightsRating,hotelsRating,cityGuideRating,easeOfUseRating,designRating,credibilityRating,sendCopy,onSuccess,onFailed,userContext); }
Momondo.NewsletterSignUp= function(email,onSuccess,onFailed,userContext) {Momondo._staticInstance.NewsletterSignUp(email,onSuccess,onFailed,userContext); }
Momondo.GingerSplashCompetition= function(email,answer,newsletter,onSuccess,onFailed,userContext) {Momondo._staticInstance.GingerSplashCompetition(email,answer,newsletter,onSuccess,onFailed,userContext); }
Momondo.CompetitionSignup= function(competitionID,email,answer,newsletter,onSuccess,onFailed,userContext) {Momondo._staticInstance.CompetitionSignup(competitionID,email,answer,newsletter,onSuccess,onFailed,userContext); }
Momondo.PrizeDrawSignup= function(competitionID,email,newsletter,onSuccess,onFailed,userContext) {Momondo._staticInstance.PrizeDrawSignup(competitionID,email,newsletter,onSuccess,onFailed,userContext); }
Momondo.logNoResults= function(clientOrig,clientDest,clientReturnTrip,clientDepartDate,clientReturnDate,supplierIDs,onSuccess,onFailed,userContext) {Momondo._staticInstance.logNoResults(clientOrig,clientDest,clientReturnTrip,clientDepartDate,clientReturnDate,supplierIDs,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WhereToGoResult) === 'undefined') {
var WhereToGoResult=gtc("WhereToGoResult");
WhereToGoResult.registerClass('WhereToGoResult');
}

