var Widgets=function() {
Widgets.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Widgets.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Widgets._staticInstance.get_path();},
VehicleSearchEvents:function(state,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'VehicleSearchEvents',false,{state:state},succeededCallback,failedCallback,userContext); },
ContactFormSend:function(names,values,formName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ContactFormSend',false,{names:names,values:values,formName:formName},succeededCallback,failedCallback,userContext); },
QuoteFormSend:function(names,values,formName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'QuoteFormSend',false,{names:names,values:values,formName:formName},succeededCallback,failedCallback,userContext); }}
Widgets.registerClass('Widgets',Sys.Net.WebServiceProxy);
Widgets._staticInstance = new Widgets();
Widgets.set_path = function(value) { Widgets._staticInstance.set_path(value); }
Widgets.get_path = function() { return Widgets._staticInstance.get_path(); }
Widgets.set_timeout = function(value) { Widgets._staticInstance.set_timeout(value); }
Widgets.get_timeout = function() { return Widgets._staticInstance.get_timeout(); }
Widgets.set_defaultUserContext = function(value) { Widgets._staticInstance.set_defaultUserContext(value); }
Widgets.get_defaultUserContext = function() { return Widgets._staticInstance.get_defaultUserContext(); }
Widgets.set_defaultSucceededCallback = function(value) { Widgets._staticInstance.set_defaultSucceededCallback(value); }
Widgets.get_defaultSucceededCallback = function() { return Widgets._staticInstance.get_defaultSucceededCallback(); }
Widgets.set_defaultFailedCallback = function(value) { Widgets._staticInstance.set_defaultFailedCallback(value); }
Widgets.get_defaultFailedCallback = function() { return Widgets._staticInstance.get_defaultFailedCallback(); }
Widgets.set_path("/widgets.asmx");
Widgets.VehicleSearchEvents= function(state,onSuccess,onFailed,userContext) {Widgets._staticInstance.VehicleSearchEvents(state,onSuccess,onFailed,userContext); }
Widgets.ContactFormSend= function(names,values,formName,onSuccess,onFailed,userContext) {Widgets._staticInstance.ContactFormSend(names,values,formName,onSuccess,onFailed,userContext); }
Widgets.QuoteFormSend= function(names,values,formName,onSuccess,onFailed,userContext) {Widgets._staticInstance.QuoteFormSend(names,values,formName,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Motorwebs.NET35.VehicleSearch');
if (typeof(Motorwebs.NET35.VehicleSearch.State) === 'undefined') {
Motorwebs.NET35.VehicleSearch.State=gtc("Motorwebs.NET35.VehicleSearch.State");
Motorwebs.NET35.VehicleSearch.State.registerClass('Motorwebs.NET35.VehicleSearch.State');
}
