Type.registerNamespace('CustomAuto.Services');
CustomAuto.Services.General=function() {
CustomAuto.Services.General.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CustomAuto.Services.General.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CustomAuto.Services.General._staticInstance.get_path();},
AddRetailerToMyRide:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddRetailerToMyRide',false,{},succeededCallback,failedCallback,userContext); },
GetRidesPages:function(mid,cid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRidesPages',false,{mid:mid,cid:cid},succeededCallback,failedCallback,userContext); },
GetModelsBasedOnMake:function(makeID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetModelsBasedOnMake',false,{makeID:makeID},succeededCallback,failedCallback,userContext); },
GetSubCatsOnMain:function(cat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSubCatsOnMain',false,{cat:cat},succeededCallback,failedCallback,userContext); },
VoteForRide:function(carid,mid,isRetailer,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'VoteForRide',false,{carid:carid,mid:mid,isRetailer:isRetailer},succeededCallback,failedCallback,userContext); },
VoteForHotGirl:function(hid,mid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'VoteForHotGirl',false,{hid:hid,mid:mid},succeededCallback,failedCallback,userContext); },
UploadRetailContacts:function(key,companyname,address,citystatezip,contact,phone,email,listID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UploadRetailContacts',false,{key:key,companyname:companyname,address:address,citystatezip:citystatezip,contact:contact,phone:phone,email:email,listID:listID},succeededCallback,failedCallback,userContext); },
GetModList:function(carID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetModList',false,{carID:carID},succeededCallback,failedCallback,userContext); },
AddNewModification:function(mid,carID,catID,manUID,partTypeID,partNum,partPrice,installTypeID,installName,dateWorkDone,installHrs,installDetails,imgList,isWishList,isCustom,customBrand,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddNewModification',false,{mid:mid,carID:carID,catID:catID,manUID:manUID,partTypeID:partTypeID,partNum:partNum,partPrice:partPrice,installTypeID:installTypeID,installName:installName,dateWorkDone:dateWorkDone,installHrs:installHrs,installDetails:installDetails,imgList:imgList,isWishList:isWishList,isCustom:isCustom,customBrand:customBrand},succeededCallback,failedCallback,userContext); },
EditModification:function(mid,modid,carid,details,installTypeID,installName,dateWorkDone,installTime,partNum,partPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditModification',false,{mid:mid,modid:modid,carid:carid,details:details,installTypeID:installTypeID,installName:installName,dateWorkDone:dateWorkDone,installTime:installTime,partNum:partNum,partPrice:partPrice},succeededCallback,failedCallback,userContext); },
DeleteModification:function(mid,modid,carid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteModification',false,{mid:mid,modid:modid,carid:carid},succeededCallback,failedCallback,userContext); }}
CustomAuto.Services.General.registerClass('CustomAuto.Services.General',Sys.Net.WebServiceProxy);
CustomAuto.Services.General._staticInstance = new CustomAuto.Services.General();
CustomAuto.Services.General.set_path = function(value) { CustomAuto.Services.General._staticInstance.set_path(value); }
CustomAuto.Services.General.get_path = function() { return CustomAuto.Services.General._staticInstance.get_path(); }
CustomAuto.Services.General.set_timeout = function(value) { CustomAuto.Services.General._staticInstance.set_timeout(value); }
CustomAuto.Services.General.get_timeout = function() { return CustomAuto.Services.General._staticInstance.get_timeout(); }
CustomAuto.Services.General.set_defaultUserContext = function(value) { CustomAuto.Services.General._staticInstance.set_defaultUserContext(value); }
CustomAuto.Services.General.get_defaultUserContext = function() { return CustomAuto.Services.General._staticInstance.get_defaultUserContext(); }
CustomAuto.Services.General.set_defaultSucceededCallback = function(value) { CustomAuto.Services.General._staticInstance.set_defaultSucceededCallback(value); }
CustomAuto.Services.General.get_defaultSucceededCallback = function() { return CustomAuto.Services.General._staticInstance.get_defaultSucceededCallback(); }
CustomAuto.Services.General.set_defaultFailedCallback = function(value) { CustomAuto.Services.General._staticInstance.set_defaultFailedCallback(value); }
CustomAuto.Services.General.get_defaultFailedCallback = function() { return CustomAuto.Services.General._staticInstance.get_defaultFailedCallback(); }
CustomAuto.Services.General.set_enableJsonp = function(value) { CustomAuto.Services.General._staticInstance.set_enableJsonp(value); }
CustomAuto.Services.General.get_enableJsonp = function() { return CustomAuto.Services.General._staticInstance.get_enableJsonp(); }
CustomAuto.Services.General.set_jsonpCallbackParameter = function(value) { CustomAuto.Services.General._staticInstance.set_jsonpCallbackParameter(value); }
CustomAuto.Services.General.get_jsonpCallbackParameter = function() { return CustomAuto.Services.General._staticInstance.get_jsonpCallbackParameter(); }
CustomAuto.Services.General.set_path("/thirdpartycontrols/customauto/Services/general.asmx");
CustomAuto.Services.General.AddRetailerToMyRide= function(onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.AddRetailerToMyRide(onSuccess,onFailed,userContext); }
CustomAuto.Services.General.GetRidesPages= function(mid,cid,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.GetRidesPages(mid,cid,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.GetModelsBasedOnMake= function(makeID,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.GetModelsBasedOnMake(makeID,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.GetSubCatsOnMain= function(cat,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.GetSubCatsOnMain(cat,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.VoteForRide= function(carid,mid,isRetailer,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.VoteForRide(carid,mid,isRetailer,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.VoteForHotGirl= function(hid,mid,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.VoteForHotGirl(hid,mid,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.UploadRetailContacts= function(key,companyname,address,citystatezip,contact,phone,email,listID,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.UploadRetailContacts(key,companyname,address,citystatezip,contact,phone,email,listID,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.GetModList= function(carID,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.GetModList(carID,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.AddNewModification= function(mid,carID,catID,manUID,partTypeID,partNum,partPrice,installTypeID,installName,dateWorkDone,installHrs,installDetails,imgList,isWishList,isCustom,customBrand,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.AddNewModification(mid,carID,catID,manUID,partTypeID,partNum,partPrice,installTypeID,installName,dateWorkDone,installHrs,installDetails,imgList,isWishList,isCustom,customBrand,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.EditModification= function(mid,modid,carid,details,installTypeID,installName,dateWorkDone,installTime,partNum,partPrice,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.EditModification(mid,modid,carid,details,installTypeID,installName,dateWorkDone,installTime,partNum,partPrice,onSuccess,onFailed,userContext); }
CustomAuto.Services.General.DeleteModification= function(mid,modid,carid,onSuccess,onFailed,userContext) {CustomAuto.Services.General._staticInstance.DeleteModification(mid,modid,carid,onSuccess,onFailed,userContext); }

