Type.registerNamespace('MiniBanda');
MiniBanda.Main_ws=function() {
MiniBanda.Main_ws.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MiniBanda.Main_ws.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MiniBanda.Main_ws._staticInstance.get_path();},
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetCompletionNickNames:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionNickNames',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
KeepSession:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'KeepSession',false,{},succeededCallback,failedCallback,userContext); },
GetHelpString:function(helpId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHelpString',false,{helpId:helpId},succeededCallback,failedCallback,userContext); },
SaveHelpString:function(helpId,helpText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SaveHelpString',false,{helpId:helpId,helpText:helpText},succeededCallback,failedCallback,userContext); },
GetDropDownContents:function(knownCategoryValues,category,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDropDownContents',false,{knownCategoryValues:knownCategoryValues,category:category},succeededCallback,failedCallback,userContext); },
GetUnreadMessageCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUnreadMessageCount',false,{},succeededCallback,failedCallback,userContext); },
GetPhotoCount:function(ownerId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPhotoCount',false,{ownerId:ownerId},succeededCallback,failedCallback,userContext); },
GetPhotos:function(ownerId,photoCount,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPhotos',false,{ownerId:ownerId,photoCount:photoCount},succeededCallback,failedCallback,userContext); },
GetRegions:function(parentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRegions',false,{parentId:parentId},succeededCallback,failedCallback,userContext); },
VotePhoto:function(markId,pId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'VotePhoto',false,{markId:markId,pId:pId},succeededCallback,failedCallback,userContext); }}
MiniBanda.Main_ws.registerClass('MiniBanda.Main_ws',Sys.Net.WebServiceProxy);
MiniBanda.Main_ws._staticInstance = new MiniBanda.Main_ws();
MiniBanda.Main_ws.set_path = function(value) { MiniBanda.Main_ws._staticInstance.set_path(value); }
MiniBanda.Main_ws.get_path = function() { return MiniBanda.Main_ws._staticInstance.get_path(); }
MiniBanda.Main_ws.set_timeout = function(value) { MiniBanda.Main_ws._staticInstance.set_timeout(value); }
MiniBanda.Main_ws.get_timeout = function() { return MiniBanda.Main_ws._staticInstance.get_timeout(); }
MiniBanda.Main_ws.set_defaultUserContext = function(value) { MiniBanda.Main_ws._staticInstance.set_defaultUserContext(value); }
MiniBanda.Main_ws.get_defaultUserContext = function() { return MiniBanda.Main_ws._staticInstance.get_defaultUserContext(); }
MiniBanda.Main_ws.set_defaultSucceededCallback = function(value) { MiniBanda.Main_ws._staticInstance.set_defaultSucceededCallback(value); }
MiniBanda.Main_ws.get_defaultSucceededCallback = function() { return MiniBanda.Main_ws._staticInstance.get_defaultSucceededCallback(); }
MiniBanda.Main_ws.set_defaultFailedCallback = function(value) { MiniBanda.Main_ws._staticInstance.set_defaultFailedCallback(value); }
MiniBanda.Main_ws.get_defaultFailedCallback = function() { return MiniBanda.Main_ws._staticInstance.get_defaultFailedCallback(); }
MiniBanda.Main_ws.set_path("/Main_ws.asmx");
MiniBanda.Main_ws.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.GetCompletionNickNames= function(prefixText,count,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetCompletionNickNames(prefixText,count,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.KeepSession= function(onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.KeepSession(onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.GetHelpString= function(helpId,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetHelpString(helpId,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.SaveHelpString= function(helpId,helpText,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.SaveHelpString(helpId,helpText,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.GetDropDownContents= function(knownCategoryValues,category,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetDropDownContents(knownCategoryValues,category,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.GetUnreadMessageCount= function(onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetUnreadMessageCount(onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.GetPhotoCount= function(ownerId,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetPhotoCount(ownerId,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.GetPhotos= function(ownerId,photoCount,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetPhotos(ownerId,photoCount,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.GetRegions= function(parentId,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.GetRegions(parentId,onSuccess,onFailed,userContext); }
MiniBanda.Main_ws.VotePhoto= function(markId,pId,onSuccess,onFailed,userContext) {MiniBanda.Main_ws._staticInstance.VotePhoto(markId,pId,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');
}
if (typeof(MiniBanda.MsgResult) === 'undefined') {
MiniBanda.MsgResult=gtc("MiniBanda.MsgResult");
MiniBanda.MsgResult.registerClass('MiniBanda.MsgResult');
}
if (typeof(MiniBanda.PhotoRecord) === 'undefined') {
MiniBanda.PhotoRecord=gtc("MiniBanda.PhotoRecord");
MiniBanda.PhotoRecord.registerClass('MiniBanda.PhotoRecord');
}
if (typeof(MiniBanda.GeoStruct) === 'undefined') {
MiniBanda.GeoStruct=gtc("MiniBanda.GeoStruct");
MiniBanda.GeoStruct.registerClass('MiniBanda.GeoStruct');
}
