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();},
GetSearchByPriceExpandedJournetDetails:function(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSearchByPriceExpandedJournetDetails',true,{popupDivId:popupDivId,selectedSolutionId:selectedSolutionId,SelectedSolutionIndex:SelectedSolutionIndex,isReturnSearchResult:isReturnSearchResult},succeededCallback,failedCallback,userContext); },
GetSearchByFlexibilityExpandedJournetDetails:function(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSearchByFlexibilityExpandedJournetDetails',true,{popupDivId:popupDivId,selectedSolutionId:selectedSolutionId,SelectedSolutionIndex:SelectedSolutionIndex,isReturnSearchResult:isReturnSearchResult},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); },
GetConnectionTimesText:function(popupDivId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetConnectionTimesText',true,{popupDivId:popupDivId},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); },
GetSeatreservationInformation:function(popupDivId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSeatreservationInformation',true,{popupDivId:popupDivId},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); },
GetCountryListInformation:function(popupDivId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCountryListInformation',true,{popupDivId:popupDivId},succeededCallback,failedCallback,userContext); },
GetSelectedTripDetails:function(popupDivId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSelectedTripDetails',true,{popupDivId:popupDivId},succeededCallback,failedCallback,userContext); },
GetPassengerDOBDetails:function(popupDivId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPassengerDOBDetails',true,{popupDivId:popupDivId},succeededCallback,failedCallback,userContext); },
SearchResultGridDisplay:function(DivId,SearchOptionType,JourneyType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchResultGridDisplay',true,{DivId:DivId,SearchOptionType:SearchOptionType,JourneyType:JourneyType},succeededCallback,failedCallback,userContext); },
GetSleeperNightPopUp:function(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,PackageId,ShowGenderOption,SearchOptionType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSleeperNightPopUp',true,{popupDivId:popupDivId,selectedSolutionId:selectedSolutionId,SelectedSolutionIndex:SelectedSolutionIndex,isReturnSearchResult:isReturnSearchResult,PackageId:PackageId,ShowGenderOption:ShowGenderOption,SearchOptionType:SearchOptionType},succeededCallback,failedCallback,userContext); },
EarlierLaterSearchTrainGridDisplay:function(DivId,UserSelectedSearchType,EarlierLaterOption,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EarlierLaterSearchTrainGridDisplay',true,{DivId:DivId,UserSelectedSearchType:UserSelectedSearchType,EarlierLaterOption:EarlierLaterOption},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); },
GetDeliveryTypeInformationPopUp:function(divId,shippingType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDeliveryTypeInformationPopUp',true,{divId:divId,shippingType:shippingType},succeededCallback,failedCallback,userContext); },
GetPassengerAgeRequirements:function(divId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPassengerAgeRequirements',true,{divId:divId},succeededCallback,failedCallback,userContext); },
GetItineraryPopUp:function(divId,selectedPtpProductIndex,productType,isPaidProduct,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetItineraryPopUp',true,{divId:divId,selectedPtpProductIndex:selectedPtpProductIndex,productType:productType,isPaidProduct:isPaidProduct},succeededCallback,failedCallback,userContext); },
GetAddOnPopUp:function(divId,selectedAddOnIndex,isPaidProduct,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAddOnPopUp',true,{divId:divId,selectedAddOnIndex:selectedAddOnIndex,isPaidProduct:isPaidProduct},succeededCallback,failedCallback,userContext); },
GetPassInformationPopUp:function(divId,selectedPassProductIndex,isPaidProduct,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPassInformationPopUp',true,{divId:divId,selectedPassProductIndex:selectedPassProductIndex,isPaidProduct:isPaidProduct},succeededCallback,failedCallback,userContext); },
GetHotelAccomodation:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHotelAccomodation',true,{},succeededCallback,failedCallback,userContext); },
UpdatePassPassenderList:function(selectedPassProductIndex,isPaidProduct,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdatePassPassenderList',true,{selectedPassProductIndex:selectedPassProductIndex,isPaidProduct:isPaidProduct},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.GetSearchByPriceExpandedJournetDetails= function(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSearchByPriceExpandedJournetDetails(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSearchByFlexibilityExpandedJournetDetails= function(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSearchByFlexibilityExpandedJournetDetails(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,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.GetConnectionTimesText= function(popupDivId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetConnectionTimesText(popupDivId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetFlexibleTypeHelpInformation= function(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetFlexibleTypeHelpInformation(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSeatreservationInformation= function(popupDivId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSeatreservationInformation(popupDivId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSearchTypeInformation= function(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSearchTypeInformation(popupDivId,selectedFlexibleTypeId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetCountryListInformation= function(popupDivId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetCountryListInformation(popupDivId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSelectedTripDetails= function(popupDivId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSelectedTripDetails(popupDivId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetPassengerDOBDetails= function(popupDivId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetPassengerDOBDetails(popupDivId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.SearchResultGridDisplay= function(DivId,SearchOptionType,JourneyType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.SearchResultGridDisplay(DivId,SearchOptionType,JourneyType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetSleeperNightPopUp= function(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,PackageId,ShowGenderOption,SearchOptionType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetSleeperNightPopUp(popupDivId,selectedSolutionId,SelectedSolutionIndex,isReturnSearchResult,PackageId,ShowGenderOption,SearchOptionType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.EarlierLaterSearchTrainGridDisplay= function(DivId,UserSelectedSearchType,EarlierLaterOption,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.EarlierLaterSearchTrainGridDisplay(DivId,UserSelectedSearchType,EarlierLaterOption,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); }
RailEurope.HTMLService.GetDeliveryTypeInformationPopUp= function(divId,shippingType,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetDeliveryTypeInformationPopUp(divId,shippingType,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetPassengerAgeRequirements= function(divId,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetPassengerAgeRequirements(divId,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetItineraryPopUp= function(divId,selectedPtpProductIndex,productType,isPaidProduct,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetItineraryPopUp(divId,selectedPtpProductIndex,productType,isPaidProduct,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetAddOnPopUp= function(divId,selectedAddOnIndex,isPaidProduct,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetAddOnPopUp(divId,selectedAddOnIndex,isPaidProduct,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetPassInformationPopUp= function(divId,selectedPassProductIndex,isPaidProduct,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetPassInformationPopUp(divId,selectedPassProductIndex,isPaidProduct,onSuccess,onFailed,userContext); }
RailEurope.HTMLService.GetHotelAccomodation= function(onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.GetHotelAccomodation(onSuccess,onFailed,userContext); }
RailEurope.HTMLService.UpdatePassPassenderList= function(selectedPassProductIndex,isPaidProduct,onSuccess,onFailed,userContext) {RailEurope.HTMLService._staticInstance.UpdatePassPassenderList(selectedPassProductIndex,isPaidProduct,onSuccess,onFailed,userContext); }

