Type.registerNamespace('LegoSite');
LegoSite.Lookup=function() {
LegoSite.Lookup.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LegoSite.Lookup.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return LegoSite.Lookup._staticInstance.get_path();},
GetVenueList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVenueList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetWebRegionList:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWebRegionList',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetWebRegionListWithAny:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWebRegionListWithAny',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetDestinationList:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDestinationList',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetMarketingSourceList:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMarketingSourceList',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetAirportList:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirportList',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetHotelsList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHotelsList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCourcesList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCourcesList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetDrivingRangesList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDrivingRangesList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
LegoSite.Lookup.registerClass('LegoSite.Lookup',Sys.Net.WebServiceProxy);
LegoSite.Lookup._staticInstance = new LegoSite.Lookup();
LegoSite.Lookup.set_path = function(value) { LegoSite.Lookup._staticInstance.set_path(value); }
LegoSite.Lookup.get_path = function() { return LegoSite.Lookup._staticInstance.get_path(); }
LegoSite.Lookup.set_timeout = function(value) { LegoSite.Lookup._staticInstance.set_timeout(value); }
LegoSite.Lookup.get_timeout = function() { return LegoSite.Lookup._staticInstance.get_timeout(); }
LegoSite.Lookup.set_defaultUserContext = function(value) { LegoSite.Lookup._staticInstance.set_defaultUserContext(value); }
LegoSite.Lookup.get_defaultUserContext = function() { return LegoSite.Lookup._staticInstance.get_defaultUserContext(); }
LegoSite.Lookup.set_defaultSucceededCallback = function(value) { LegoSite.Lookup._staticInstance.set_defaultSucceededCallback(value); }
LegoSite.Lookup.get_defaultSucceededCallback = function() { return LegoSite.Lookup._staticInstance.get_defaultSucceededCallback(); }
LegoSite.Lookup.set_defaultFailedCallback = function(value) { LegoSite.Lookup._staticInstance.set_defaultFailedCallback(value); }
LegoSite.Lookup.get_defaultFailedCallback = function() { return LegoSite.Lookup._staticInstance.get_defaultFailedCallback(); }
LegoSite.Lookup.set_path("/services/Lookup.asmx");
LegoSite.Lookup.GetVenueList= function(prefixText,count,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetVenueList(prefixText,count,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetWebRegionList= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetWebRegionList(knownCategoryValues,category,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetWebRegionListWithAny= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetWebRegionListWithAny(knownCategoryValues,category,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetDestinationList= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetDestinationList(knownCategoryValues,category,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetMarketingSourceList= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetMarketingSourceList(knownCategoryValues,category,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetAirportList= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetAirportList(knownCategoryValues,category,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetHotelsList= function(prefixText,count,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetHotelsList(prefixText,count,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetCourcesList= function(prefixText,count,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetCourcesList(prefixText,count,onSuccess,onFailed,userContext); }
LegoSite.Lookup.GetDrivingRangesList= function(prefixText,count,onSuccess,onFailed,userContext) {LegoSite.Lookup._staticInstance.GetDrivingRangesList(prefixText,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.CascadingDropDownNameValue) === 'undefined') {
AjaxControlToolkit.CascadingDropDownNameValue=gtc("AjaxControlToolkit.CascadingDropDownNameValue");
AjaxControlToolkit.CascadingDropDownNameValue.registerClass('AjaxControlToolkit.CascadingDropDownNameValue');
}
