var ContentHandler=function() {
ContentHandler.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ContentHandler.prototype={
GetDestContent:function(DestKey,CateID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetDestContent',false,{DestKey:DestKey,CateID:CateID},succeededCallback,failedCallback,userContext); },
GetRelAirports:function(DestKey,Type,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetRelAirports',false,{DestKey:DestKey,Type:Type},succeededCallback,failedCallback,userContext); },
GetRelWarnings:function(DestKey,Country,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetRelWarnings',false,{DestKey:DestKey,Country:Country},succeededCallback,failedCallback,userContext); },
GetRelMaladies:function(DestKey,Country,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetRelMaladies',false,{DestKey:DestKey,Country:Country},succeededCallback,failedCallback,userContext); },
GetRelMalady:function(MaladyID,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetRelMalady',false,{MaladyID:MaladyID},succeededCallback,failedCallback,userContext); },
GetNavRelated:function(DestKey,Type,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetNavRelated',false,{DestKey:DestKey,Type:Type},succeededCallback,failedCallback,userContext); },
GetPrintOptions:function(TripPlacesKey,DestKey,UserKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetPrintOptions',false,{TripPlacesKey:TripPlacesKey,DestKey:DestKey,UserKey:UserKey},succeededCallback,failedCallback,userContext); },
SearchKeyword:function(argKeyword,argContext,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SearchKeyword',false,{argKeyword:argKeyword,argContext:argContext},succeededCallback,failedCallback,userContext); },
SearchKeyword2:function(argKeyword,argContext,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SearchKeyword2',false,{argKeyword:argKeyword,argContext:argContext},succeededCallback,failedCallback,userContext); },
GetAJAXListing:function(ListType,PlaceKey,PageAdOrd,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetAJAXListing',false,{ListType:ListType,PlaceKey:PlaceKey,PageAdOrd:PageAdOrd},succeededCallback,failedCallback,userContext); },
GetLatLong:function(Placekey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetLatLong',false,{Placekey:Placekey},succeededCallback,failedCallback,userContext); },
UserLogin:function(Email,Password,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'UserLogin',false,{Email:Email,Password:Password},succeededCallback,failedCallback,userContext); },
GetTrips:function(UserKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetTrips',false,{UserKey:UserKey},succeededCallback,failedCallback,userContext); },
SavePrintOptions:function(PtgTripGUID,PTGTripPlaceskey,UserKey,PrintFlags,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SavePrintOptions',false,{PtgTripGUID:PtgTripGUID,PTGTripPlaceskey:PTGTripPlaceskey,UserKey:UserKey,PrintFlags:PrintFlags},succeededCallback,failedCallback,userContext); },
AddPlaceToTrip:function(UserKey,PlaceKey,PtgTripGUID,TripName,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'AddPlaceToTrip',false,{UserKey:UserKey,PlaceKey:PlaceKey,PtgTripGUID:PtgTripGUID,TripName:TripName},succeededCallback,failedCallback,userContext); },
AddToFav:function(UserKey,Placekey,TripPlacesKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'AddToFav',false,{UserKey:UserKey,Placekey:Placekey,TripPlacesKey:TripPlacesKey},succeededCallback,failedCallback,userContext); },
GetURL:function(ListType,Placekey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetURL',false,{ListType:ListType,Placekey:Placekey},succeededCallback,failedCallback,userContext); },
SubscribeNewsletter:function(Email,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SubscribeNewsletter',false,{Email:Email},succeededCallback,failedCallback,userContext); },
SendContactUs:function(sName,sFrom,sSubject,sTopic,sURL,sComments,User,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'SendContactUs',false,{sName:sName,sFrom:sFrom,sSubject:sSubject,sTopic:sTopic,sURL:sURL,sComments:sComments,User:User},succeededCallback,failedCallback,userContext); },
GetCurrencyConversion:function(FromCode,ToCode,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetCurrencyConversion',false,{FromCode:FromCode,ToCode:ToCode},succeededCallback,failedCallback,userContext); },
GetDialCodes:function(FromKey,ToKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ContentHandler.get_path(), 'GetDialCodes',false,{FromKey:FromKey,ToKey:ToKey},succeededCallback,failedCallback,userContext); }}
ContentHandler.registerClass('ContentHandler',Sys.Net.WebServiceProxy);
ContentHandler._staticInstance = new ContentHandler();
ContentHandler.set_path = function(value) { ContentHandler._staticInstance._path = value; }
ContentHandler.get_path = function() { return ContentHandler._staticInstance._path; }
ContentHandler.set_timeout = function(value) { ContentHandler._staticInstance._timeout = value; }
ContentHandler.get_timeout = function() { return ContentHandler._staticInstance._timeout; }
ContentHandler.set_defaultUserContext = function(value) { ContentHandler._staticInstance._userContext = value; }
ContentHandler.get_defaultUserContext = function() { return ContentHandler._staticInstance._userContext; }
ContentHandler.set_defaultSucceededCallback = function(value) { ContentHandler._staticInstance._succeeded = value; }
ContentHandler.get_defaultSucceededCallback = function() { return ContentHandler._staticInstance._succeeded; }
ContentHandler.set_defaultFailedCallback = function(value) { ContentHandler._staticInstance._failed = value; }
ContentHandler.get_defaultFailedCallback = function() { return ContentHandler._staticInstance._failed; }
ContentHandler.set_path("/ContentHandler.asmx");
ContentHandler.GetDestContent= function(DestKey,CateID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetDestContent(DestKey,CateID,onSuccess,onFailed,userContext); }
ContentHandler.GetRelAirports= function(DestKey,Type,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetRelAirports(DestKey,Type,onSuccess,onFailed,userContext); }
ContentHandler.GetRelWarnings= function(DestKey,Country,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetRelWarnings(DestKey,Country,onSuccess,onFailed,userContext); }
ContentHandler.GetRelMaladies= function(DestKey,Country,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetRelMaladies(DestKey,Country,onSuccess,onFailed,userContext); }
ContentHandler.GetRelMalady= function(MaladyID,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetRelMalady(MaladyID,onSuccess,onFailed,userContext); }
ContentHandler.GetNavRelated= function(DestKey,Type,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetNavRelated(DestKey,Type,onSuccess,onFailed,userContext); }
ContentHandler.GetPrintOptions= function(TripPlacesKey,DestKey,UserKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetPrintOptions(TripPlacesKey,DestKey,UserKey,onSuccess,onFailed,userContext); }
ContentHandler.SearchKeyword= function(argKeyword,argContext,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SearchKeyword(argKeyword,argContext,onSuccess,onFailed,userContext); }
ContentHandler.SearchKeyword2= function(argKeyword,argContext,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SearchKeyword2(argKeyword,argContext,onSuccess,onFailed,userContext); }
ContentHandler.GetAJAXListing= function(ListType,PlaceKey,PageAdOrd,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetAJAXListing(ListType,PlaceKey,PageAdOrd,onSuccess,onFailed,userContext); }
ContentHandler.GetLatLong= function(Placekey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetLatLong(Placekey,onSuccess,onFailed,userContext); }
ContentHandler.UserLogin= function(Email,Password,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.UserLogin(Email,Password,onSuccess,onFailed,userContext); }
ContentHandler.GetTrips= function(UserKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetTrips(UserKey,onSuccess,onFailed,userContext); }
ContentHandler.SavePrintOptions= function(PtgTripGUID,PTGTripPlaceskey,UserKey,PrintFlags,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SavePrintOptions(PtgTripGUID,PTGTripPlaceskey,UserKey,PrintFlags,onSuccess,onFailed,userContext); }
ContentHandler.AddPlaceToTrip= function(UserKey,PlaceKey,PtgTripGUID,TripName,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.AddPlaceToTrip(UserKey,PlaceKey,PtgTripGUID,TripName,onSuccess,onFailed,userContext); }
ContentHandler.AddToFav= function(UserKey,Placekey,TripPlacesKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.AddToFav(UserKey,Placekey,TripPlacesKey,onSuccess,onFailed,userContext); }
ContentHandler.GetURL= function(ListType,Placekey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetURL(ListType,Placekey,onSuccess,onFailed,userContext); }
ContentHandler.SubscribeNewsletter= function(Email,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SubscribeNewsletter(Email,onSuccess,onFailed,userContext); }
ContentHandler.SendContactUs= function(sName,sFrom,sSubject,sTopic,sURL,sComments,User,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.SendContactUs(sName,sFrom,sSubject,sTopic,sURL,sComments,User,onSuccess,onFailed,userContext); }
ContentHandler.GetCurrencyConversion= function(FromCode,ToCode,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetCurrencyConversion(FromCode,ToCode,onSuccess,onFailed,userContext); }
ContentHandler.GetDialCodes= function(FromKey,ToKey,onSuccess,onFailed,userContext) {ContentHandler._staticInstance.GetDialCodes(FromKey,ToKey,onSuccess,onFailed,userContext); }
