Type.registerNamespace('RIV.Web.UserControls.General');
RIV.Web.UserControls.General.VehicleMod=function() {
RIV.Web.UserControls.General.VehicleMod.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RIV.Web.UserControls.General.VehicleMod.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RIV.Web.UserControls.General.VehicleMod._staticInstance.get_path();},
GetVehicleTypes:function(language,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVehicleTypes',false,{language:language},succeededCallback,failedCallback,userContext); },
GetVehicleById:function(vehicleTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVehicleById',false,{vehicleTypeId:vehicleTypeId},succeededCallback,failedCallback,userContext); }}
RIV.Web.UserControls.General.VehicleMod.registerClass('RIV.Web.UserControls.General.VehicleMod',Sys.Net.WebServiceProxy);
RIV.Web.UserControls.General.VehicleMod._staticInstance = new RIV.Web.UserControls.General.VehicleMod();
RIV.Web.UserControls.General.VehicleMod.set_path = function(value) { RIV.Web.UserControls.General.VehicleMod._staticInstance.set_path(value); }
RIV.Web.UserControls.General.VehicleMod.get_path = function() { return RIV.Web.UserControls.General.VehicleMod._staticInstance.get_path(); }
RIV.Web.UserControls.General.VehicleMod.set_timeout = function(value) { RIV.Web.UserControls.General.VehicleMod._staticInstance.set_timeout(value); }
RIV.Web.UserControls.General.VehicleMod.get_timeout = function() { return RIV.Web.UserControls.General.VehicleMod._staticInstance.get_timeout(); }
RIV.Web.UserControls.General.VehicleMod.set_defaultUserContext = function(value) { RIV.Web.UserControls.General.VehicleMod._staticInstance.set_defaultUserContext(value); }
RIV.Web.UserControls.General.VehicleMod.get_defaultUserContext = function() { return RIV.Web.UserControls.General.VehicleMod._staticInstance.get_defaultUserContext(); }
RIV.Web.UserControls.General.VehicleMod.set_defaultSucceededCallback = function(value) { RIV.Web.UserControls.General.VehicleMod._staticInstance.set_defaultSucceededCallback(value); }
RIV.Web.UserControls.General.VehicleMod.get_defaultSucceededCallback = function() { return RIV.Web.UserControls.General.VehicleMod._staticInstance.get_defaultSucceededCallback(); }
RIV.Web.UserControls.General.VehicleMod.set_defaultFailedCallback = function(value) { RIV.Web.UserControls.General.VehicleMod._staticInstance.set_defaultFailedCallback(value); }
RIV.Web.UserControls.General.VehicleMod.get_defaultFailedCallback = function() { return RIV.Web.UserControls.General.VehicleMod._staticInstance.get_defaultFailedCallback(); }
RIV.Web.UserControls.General.VehicleMod.set_path("/VehicleMod.asmx");
RIV.Web.UserControls.General.VehicleMod.GetVehicleTypes= function(language,onSuccess,onFailed,userContext) {RIV.Web.UserControls.General.VehicleMod._staticInstance.GetVehicleTypes(language,onSuccess,onFailed,userContext); }
RIV.Web.UserControls.General.VehicleMod.GetVehicleById= function(vehicleTypeId,onSuccess,onFailed,userContext) {RIV.Web.UserControls.General.VehicleMod._staticInstance.GetVehicleById(vehicleTypeId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('RIV.Web.UserControls.API');
if (typeof(RIV.Web.UserControls.API.WidgetListItem) === 'undefined') {
RIV.Web.UserControls.API.WidgetListItem=gtc("RIV.Web.UserControls.API.WidgetListItem");
RIV.Web.UserControls.API.WidgetListItem.registerClass('RIV.Web.UserControls.API.WidgetListItem');
}
if (typeof(RIV.Web.UserControls.API.VehicleTypeInfo) === 'undefined') {
RIV.Web.UserControls.API.VehicleTypeInfo=gtc("RIV.Web.UserControls.API.VehicleTypeInfo");
RIV.Web.UserControls.API.VehicleTypeInfo.registerClass('RIV.Web.UserControls.API.VehicleTypeInfo');
}

