Type.registerNamespace('SixFours.Web');
SixFours.Web.CSfnScriptService=function() {
SixFours.Web.CSfnScriptService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SixFours.Web.CSfnScriptService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SixFours.Web.CSfnScriptService._staticInstance.get_path();},
GetCategories:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCategories',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetSubCategories:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSubCategories',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetCities:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCities',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetDistricts:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDistricts',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetEventOrganizers:function(kCityId,strNameFilter,kCurEventOrganizerId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEventOrganizers',false,{kCityId:kCityId,strNameFilter:strNameFilter,kCurEventOrganizerId:kCurEventOrganizerId},succeededCallback,failedCallback,userContext); },
GetEventPlaces:function(kCityId,kDistrictId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEventPlaces',false,{kCityId:kCityId,kDistrictId:kDistrictId},succeededCallback,failedCallback,userContext); },
GetEventPlace:function(kEventPlaceId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEventPlace',false,{kEventPlaceId:kEventPlaceId},succeededCallback,failedCallback,userContext); },
GetEventOrganizerInfo:function(kEventOrganizerId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEventOrganizerInfo',false,{kEventOrganizerId:kEventOrganizerId},succeededCallback,failedCallback,userContext); },
GetFestivalOrganizerInfo:function(kFestivalId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFestivalOrganizerInfo',false,{kFestivalId:kFestivalId},succeededCallback,failedCallback,userContext); },
SignalClick:function(kSessionId,kWebLinkId,nWebZone,nLinkDefPos,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SignalClick',false,{kSessionId:kSessionId,kWebLinkId:kWebLinkId,nWebZone:nWebZone,nLinkDefPos:nLinkDefPos},succeededCallback,failedCallback,userContext); },
GetWebLinkSize:function(nWebLinkSize,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWebLinkSize',false,{nWebLinkSize:nWebLinkSize},succeededCallback,failedCallback,userContext); },
GetPicGalleryItems:function(strLogType,kGalleryId,bCaption,bExcludeFirst,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPicGalleryItems',false,{strLogType:strLogType,kGalleryId:kGalleryId,bCaption:bCaption,bExcludeFirst:bExcludeFirst},succeededCallback,failedCallback,userContext); }}
SixFours.Web.CSfnScriptService.registerClass('SixFours.Web.CSfnScriptService',Sys.Net.WebServiceProxy);
SixFours.Web.CSfnScriptService._staticInstance = new SixFours.Web.CSfnScriptService();
SixFours.Web.CSfnScriptService.set_path = function(value) { SixFours.Web.CSfnScriptService._staticInstance.set_path(value); }
SixFours.Web.CSfnScriptService.get_path = function() { return SixFours.Web.CSfnScriptService._staticInstance.get_path(); }
SixFours.Web.CSfnScriptService.set_timeout = function(value) { SixFours.Web.CSfnScriptService._staticInstance.set_timeout(value); }
SixFours.Web.CSfnScriptService.get_timeout = function() { return SixFours.Web.CSfnScriptService._staticInstance.get_timeout(); }
SixFours.Web.CSfnScriptService.set_defaultUserContext = function(value) { SixFours.Web.CSfnScriptService._staticInstance.set_defaultUserContext(value); }
SixFours.Web.CSfnScriptService.get_defaultUserContext = function() { return SixFours.Web.CSfnScriptService._staticInstance.get_defaultUserContext(); }
SixFours.Web.CSfnScriptService.set_defaultSucceededCallback = function(value) { SixFours.Web.CSfnScriptService._staticInstance.set_defaultSucceededCallback(value); }
SixFours.Web.CSfnScriptService.get_defaultSucceededCallback = function() { return SixFours.Web.CSfnScriptService._staticInstance.get_defaultSucceededCallback(); }
SixFours.Web.CSfnScriptService.set_defaultFailedCallback = function(value) { SixFours.Web.CSfnScriptService._staticInstance.set_defaultFailedCallback(value); }
SixFours.Web.CSfnScriptService.get_defaultFailedCallback = function() { return SixFours.Web.CSfnScriptService._staticInstance.get_defaultFailedCallback(); }
SixFours.Web.CSfnScriptService.set_path("/SfnScriptService.asmx");
SixFours.Web.CSfnScriptService.GetCategories= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetCategories(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetSubCategories= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetSubCategories(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetCities= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetCities(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetDistricts= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetDistricts(knownCategoryValues,category,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventOrganizers= function(kCityId,strNameFilter,kCurEventOrganizerId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventOrganizers(kCityId,strNameFilter,kCurEventOrganizerId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventPlaces= function(kCityId,kDistrictId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventPlaces(kCityId,kDistrictId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventPlace= function(kEventPlaceId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventPlace(kEventPlaceId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetEventOrganizerInfo= function(kEventOrganizerId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetEventOrganizerInfo(kEventOrganizerId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetFestivalOrganizerInfo= function(kFestivalId,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetFestivalOrganizerInfo(kFestivalId,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.SignalClick= function(kSessionId,kWebLinkId,nWebZone,nLinkDefPos,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.SignalClick(kSessionId,kWebLinkId,nWebZone,nLinkDefPos,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetWebLinkSize= function(nWebLinkSize,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetWebLinkSize(nWebLinkSize,onSuccess,onFailed,userContext); }
SixFours.Web.CSfnScriptService.GetPicGalleryItems= function(strLogType,kGalleryId,bCaption,bExcludeFirst,onSuccess,onFailed,userContext) {SixFours.Web.CSfnScriptService._staticInstance.GetPicGalleryItems(strLogType,kGalleryId,bCaption,bExcludeFirst,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');
}
Type.registerNamespace('SixFours.Tool.Event');
if (typeof(SixFours.Tool.Event.CEventPlace) === 'undefined') {
SixFours.Tool.Event.CEventPlace=gtc("SixFours.Tool.Event.CEventPlace");
SixFours.Tool.Event.CEventPlace.registerClass('SixFours.Tool.Event.CEventPlace');
}
Type.registerNamespace('SixFours.Tool.Organisation');
if (typeof(SixFours.Tool.Organisation.CEventOrganizerInfo) === 'undefined') {
SixFours.Tool.Organisation.CEventOrganizerInfo=gtc("SixFours.Tool.Organisation.CEventOrganizerInfo");
SixFours.Tool.Organisation.CEventOrganizerInfo.registerClass('SixFours.Tool.Organisation.CEventOrganizerInfo');
}
Type.registerNamespace('System.Drawing');
if (typeof(System.Drawing.Size) === 'undefined') {
System.Drawing.Size=gtc("System.Drawing.Size");
System.Drawing.Size.registerClass('System.Drawing.Size');
}
Type.registerNamespace('SixFours.WebTool.Story');
if (typeof(SixFours.WebTool.Story.CPictureGalleryItem) === 'undefined') {
SixFours.WebTool.Story.CPictureGalleryItem=gtc("SixFours.WebTool.Story.CPictureGalleryItem");
SixFours.WebTool.Story.CPictureGalleryItem.registerClass('SixFours.WebTool.Story.CPictureGalleryItem');
}
