Type.registerNamespace('RailEurope');
RailEurope.HTMLService=function() {
RailEurope.HTMLService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RailEurope.HTMLService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RailEurope.HTMLService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetSuggestions:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSuggestions',true,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetPublicPriceSearchResult:function(userSelectedSearchType,SearchResultsType,EarlierLaterType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPublicPriceSearchResult',true,{userSelectedSearchType:userSelectedSearchType,SearchResultsType:SearchResultsType,EarlierLaterType:EarlierLaterType},succeededCallback,failedCallback,userContext); },
GetPublicFlexibilitySearchResult:function(UserSelectedSearchType,SearchResultsType,EarlierLaterType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPublicFlexibilitySearchResult',true,{UserSelectedSearchType:UserSelectedSearchType,SearchResultsType:SearchResultsType,EarlierLaterType:EarlierLaterType},succeededCallback,failedCallback,userContext); },
GetRITPriceSearchResult:function(UserSelectedSearchType,SearchResultsType,EarlierLaterType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRITPriceSearchResult',true,{UserSelectedSearchType:UserSelectedSearchType,SearchResultsType:SearchResultsType,EarlierLaterType:EarlierLaterType},succeededCallback,failedCallback,userContext); },
GetRITFlexibilitySearchResult:function(UserSelectedSearchType,SearchResultsType,EarlierLaterType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRITFlexibilitySearchResult',true,{UserSelectedSearchType:UserSelectedSearchType,SearchResultsType:SearchResultsType,EarlierLaterType:EarlierLaterType},succeededCallback,failedCallback,userContext); },
SetReturnResults:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetReturnResults',true,{},succeededCallback,failedCallback,userContext); },
UpdateSearchOption:function(userSelectedsearchType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateSearchOption',true,{userSelectedsearchType:userSelectedsearchType},succeededCallback,failedCallback,userContext); },
GetSearchTypeInformation:function(popupDivId,selectedFlexibleTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSearchTypeInformation',true,{popupDivId:popupDivId,selectedFlexibleTypeId:selectedFlexibleTypeId},succeededCallback,failedCallback,userContext); },
GetConnectionTimesText:function(popupDivId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetConnectionTimesText',true,{popupDivId:popupDivId},succeededCallback,failedCallback,userContext); },
GetSearchByPriceExpandedJournetDetails:function(popupDivId,selectedSolutionId,SelectedSolutionIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSearchByPriceExpandedJournetDetails',true,{popupDivId:popupDivId,selectedSolutionId:selectedSolutionId,SelectedSolutionIndex:SelectedSolutionIndex},succeededCallback,failedCallback,userContext); },
GetSellingText:function(popupDivId,sellingTextParams,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSellingText',true,{popupDivId:popupDivId,sellingTextParams:sellingTextParams},succeededCallback,failedCallback,userContext); },
GetFareConditionsText:function(popupDivId,FareConditionsParams,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFareConditionsText',true,{popupDivId:popupDivId,FareConditionsParams:FareConditionsParams},succeededCallback,failedCallback,userContext); },
GetSearchByFlexibilityExpandedJournetDetails:function(popupDivId,selectedSolutionId,SelectedSolutionIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSearchByFlexibilityExpandedJournetDetails',true,{popupDivId:popupDivId,selectedSolutionId:selectedSolutionId,SelectedSolutionIndex:SelectedSolutionIndex},succeededCallback,failedCallback,userContext); },
GetFlexibleTypeHelpInformation:function(popupDivId,selectedFlexibleTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFlexibleTypeHelpInformation',true,{popupDivId:popupDivId,selectedFlexibleTypeId:selectedFlexibleTypeId},succeededCallback,failedCallback,userContext); },
GetSleeperNightPopUp:function(popupDivId,selectedSolutionId,SelectedSolutionIndex,PackageId,ShowGenderOption,SearchOptionType,Mealpreference,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSleeperNightPopUp',true,{popupDivId:popupDivId,selectedSolutionId:selectedSolutionId,SelectedSolutionIndex:SelectedSolutionIndex,PackageId:PackageId,ShowGenderOption:ShowGenderOption,SearchOptionType:SearchOptionType,Mealpreference:Mealpreference},succeededCallback,failedCallback,userContext); },
TabReselectionFocus:function(TabName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TabReselectionFocus',true,{TabName:TabName},succeededCallback,failedCallback,userContext); },
PackageFareSelection:function(selectedPackageFareId,SearchOption,SelectedGenderOptionCode,SolutionIndex,MealPreference,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PackageFareSelection',true,{selectedPackageFareId:selectedPackageFareId,SearchOption:SearchOption,SelectedGenderOptionCode:SelectedGenderOptionCode,SolutionIndex:SolutionIndex,MealPreference:MealPreference},succeededCallback,failedCallback,userContext); },
SetEarlierLaterSearchTrainGrid:function(userSelectedOption,SearchResultsType,EarlierLaterType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetEarlierLaterSearchTrainGrid',true,{userSelectedOption:userSelectedOption,SearchResultsType:SearchResultsType,EarlierLaterType:EarlierLaterType},succeededCallback,failedCallback,userContext); },
PerformAllDaySearch:function(userSelectedOption,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PerformAllDaySearch',true,{userSelectedOption:userSelectedOption},succeededCallback,failedCallback,userContext); },
InsertSearchEventLog:function(eventType,eventRaisedFrom,userName,isPaid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertSearchEventLog',true,{eventType:eventType,eventRaisedFrom:eventRaisedFrom,userName:userName,isPaid:isPaid},succeededCallback,failedCallback,userContext); }}
RailEurope.HTMLService.registerClass('RailEurope.HTMLService',Sys.Net.WebServiceProxy);
RailEurope.HTMLService._staticInstance = new RailEurope.HTMLService();
RailEurope.HTMLService.set_path = function(value) { RailEurope.HTMLService._staticInstance.set_path(value); }
RailEurope.HTMLService.get_path = function() { return RailEurope.HTMLService._staticInstance.get_path(); }
RailEurope.HTMLService.set_timeout = function(value) { RailEurope.HTMLService._staticInstance.set_timeout(value); }
RailEurope.HTMLService.get_timeout = function() { return RailEurope.HTMLService._staticInstance.get_timeout(); }
RailEurope.HTMLService.set_defaultUserContext = function(value) { RailEurope.HTMLService._staticInstance.set_defaultUserContext(value); }
RailEurope.HTMLService.get_defaultUserContext = function() { return RailEurope.HTMLService._staticInstance.get_defaultUserContext(); }
RailEurope.HTMLService.set_defaultSucceededCallback = function(value) { RailEurope.HTMLService._staticInstance.set_defaultSucceededCallback(value); }
RailEurope.HTMLService.get_defaultSucceededCallback = function() { return RailEurope.HTMLService._staticInstance.get_defaultSucceededCallback(); }
RailEurope.HTMLService.set_defaultFailedCallback = function(value) { RailEurope.HTMLService._staticInstance.set_defaultFailedCallback(value); }
RailEurope.HTMLService.get_defaultFailedCallback = function() { return RailEurope.HTMLService._staticInstance.get_defaultFailedCallback(); }
RailEurope.HTMLService.set_enableJsonp = function(value) { RailEurope.HTMLService._staticInstance.set_enableJsonp(value); }
RailEurope.HTMLService.get_enableJsonp = function() { return RailEurope.HTMLService._staticInstance.get_enableJsonp(); }
RailEurope.HTMLService.set_jsonpCallbackParameter = function(value) { RailEurope.HTMLService._staticInstance.set_jsonpCallbackParameter(value); }
RailEurope.HTMLService.get_jsonpCallbackParameter = function() { return RailEurope.HTMLService._staticInstance.get_jsonpCallbackParameter(); }
RailEurope.HTMLService.set_path("/service/HTMLService.asmx");
RailEurope.HTMLService.HelloWorld= function(onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSuggestions= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSuggestions(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetPublicPriceSearchResult= function(userSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetPublicPriceSearchResult(userSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetPublicFlexibilitySearchResult= function(UserSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetPublicFlexibilitySearchResult(UserSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetRITPriceSearchResult= function(UserSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetRITPriceSearchResult(UserSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetRITFlexibilitySearchResult= function(UserSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetRITFlexibilitySearchResult(UserSelectedSearchType,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.SetReturnResults= function(onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.SetReturnResults(onSuccess,onFailed,userContext); }
RailEurope.HTMLService.UpdateSearchOption= function(userSelectedsearchType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.UpdateSearchOption(userSelectedsearchType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSearchTypeInformation= function(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSearchTypeInformation(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetConnectionTimesText= function(popupDivId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetConnectionTimesText(popupDivId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSearchByPriceExpandedJournetDetails= function(popupDivId,selectedSolutionId,SelectedSolutionIndex,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSearchByPriceExpandedJournetDetails(popupDivId,selectedSolutionId,SelectedSolutionIndex,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSellingText= function(popupDivId,sellingTextParams,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSellingText(popupDivId,sellingTextParams,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetFareConditionsText= function(popupDivId,FareConditionsParams,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetFareConditionsText(popupDivId,FareConditionsParams,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSearchByFlexibilityExpandedJournetDetails= function(popupDivId,selectedSolutionId,SelectedSolutionIndex,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSearchByFlexibilityExpandedJournetDetails(popupDivId,selectedSolutionId,SelectedSolutionIndex,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetFlexibleTypeHelpInformation= function(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetFlexibleTypeHelpInformation(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSleeperNightPopUp= function(popupDivId,selectedSolutionId,SelectedSolutionIndex,PackageId,ShowGenderOption,SearchOptionType,Mealpreference,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSleeperNightPopUp(popupDivId,selectedSolutionId,SelectedSolutionIndex,PackageId,ShowGenderOption,SearchOptionType,Mealpreference,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.TabReselectionFocus= function(TabName,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.TabReselectionFocus(TabName,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.PackageFareSelection= function(selectedPackageFareId,SearchOption,SelectedGenderOptionCode,SolutionIndex,MealPreference,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.PackageFareSelection(selectedPackageFareId,SearchOption,SelectedGenderOptionCode,SolutionIndex,MealPreference,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.SetEarlierLaterSearchTrainGrid= function(userSelectedOption,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.SetEarlierLaterSearchTrainGrid(userSelectedOption,SearchResultsType,EarlierLaterType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.PerformAllDaySearch= function(userSelectedOption,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.PerformAllDaySearch(userSelectedOption,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.InsertSearchEventLog= function(eventType,eventRaisedFrom,userName,isPaid,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.InsertSearchEventLog(eventType,eventRaisedFrom,userName,isPaid,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(RailEurope.ServerResponse) === 'undefined') {
RailEurope.ServerResponse=gtc("RailEurope.ServerResponse");
RailEurope.ServerResponse.registerClass('RailEurope.ServerResponse');
}

