var AjaxFunctions=function() {
AjaxFunctions.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxFunctions.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AjaxFunctions._staticInstance.get_path();},
GetHelpText:function(helpCode,succeededCallback, failedCallback, userContext) {
/// <param name="helpCode" 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(), 'GetHelpText',false,{helpCode:helpCode},succeededCallback,failedCallback,userContext); },
GetDetails:function(dealerId,succeededCallback, failedCallback, userContext) {
/// <param name="dealerId" 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(), 'GetDetails',false,{dealerId:dealerId},succeededCallback,failedCallback,userContext); }}
AjaxFunctions.registerClass('AjaxFunctions',Sys.Net.WebServiceProxy);
AjaxFunctions._staticInstance = new AjaxFunctions();
AjaxFunctions.set_path = function(value) {
AjaxFunctions._staticInstance.set_path(value); }
AjaxFunctions.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AjaxFunctions._staticInstance.get_path();}
AjaxFunctions.set_timeout = function(value) {
AjaxFunctions._staticInstance.set_timeout(value); }
AjaxFunctions.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AjaxFunctions._staticInstance.get_timeout(); }
AjaxFunctions.set_defaultUserContext = function(value) { 
AjaxFunctions._staticInstance.set_defaultUserContext(value); }
AjaxFunctions.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AjaxFunctions._staticInstance.get_defaultUserContext(); }
AjaxFunctions.set_defaultSucceededCallback = function(value) { 
 AjaxFunctions._staticInstance.set_defaultSucceededCallback(value); }
AjaxFunctions.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AjaxFunctions._staticInstance.get_defaultSucceededCallback(); }
AjaxFunctions.set_defaultFailedCallback = function(value) { 
AjaxFunctions._staticInstance.set_defaultFailedCallback(value); }
AjaxFunctions.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AjaxFunctions._staticInstance.get_defaultFailedCallback(); }
AjaxFunctions.set_path("/WebServices/AjaxFunctions.asmx");
AjaxFunctions.GetHelpText= function(helpCode,onSuccess,onFailed,userContext) {
/// <param name="helpCode" 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>
AjaxFunctions._staticInstance.GetHelpText(helpCode,onSuccess,onFailed,userContext); }
AjaxFunctions.GetDetails= function(dealerId,onSuccess,onFailed,userContext) {
/// <param name="dealerId" 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>
AjaxFunctions._staticInstance.GetDetails(dealerId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(GetDetailsResult) === 'undefined') {
var GetDetailsResult=gtc("GetDetailsResult");
GetDetailsResult.registerClass('GetDetailsResult');
}
