Type.registerNamespace('AllBallots');
AllBallots.webservices=function() {
AllBallots.webservices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AllBallots.webservices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AllBallots.webservices._staticInstance.get_path();},
AutoCompleteLastName:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AutoCompleteLastName',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetTimezone:function(sValue,succeededCallback, failedCallback, userContext) {
/// <param name="sValue" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetTimezone',false,{sValue:sValue},succeededCallback,failedCallback,userContext); }}
AllBallots.webservices.registerClass('AllBallots.webservices',Sys.Net.WebServiceProxy);
AllBallots.webservices._staticInstance = new AllBallots.webservices();
AllBallots.webservices.set_path = function(value) {
AllBallots.webservices._staticInstance.set_path(value); }
AllBallots.webservices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AllBallots.webservices._staticInstance.get_path();}
AllBallots.webservices.set_timeout = function(value) {
AllBallots.webservices._staticInstance.set_timeout(value); }
AllBallots.webservices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AllBallots.webservices._staticInstance.get_timeout(); }
AllBallots.webservices.set_defaultUserContext = function(value) { 
AllBallots.webservices._staticInstance.set_defaultUserContext(value); }
AllBallots.webservices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AllBallots.webservices._staticInstance.get_defaultUserContext(); }
AllBallots.webservices.set_defaultSucceededCallback = function(value) { 
 AllBallots.webservices._staticInstance.set_defaultSucceededCallback(value); }
AllBallots.webservices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AllBallots.webservices._staticInstance.get_defaultSucceededCallback(); }
AllBallots.webservices.set_defaultFailedCallback = function(value) { 
AllBallots.webservices._staticInstance.set_defaultFailedCallback(value); }
AllBallots.webservices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AllBallots.webservices._staticInstance.get_defaultFailedCallback(); }
AllBallots.webservices.set_path("/webservices.asmx");
AllBallots.webservices.AutoCompleteLastName= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AllBallots.webservices._staticInstance.AutoCompleteLastName(prefixText,count,onSuccess,onFailed,userContext); }
AllBallots.webservices.GetTimezone= function(sValue,onSuccess,onFailed,userContext) {
/// <param name="sValue" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AllBallots.webservices._staticInstance.GetTimezone(sValue,onSuccess,onFailed,userContext); }
