Type.registerNamespace('Webmercs.Cetus.WebServices');
Webmercs.Cetus.WebServices.CommonProxyWebService=function() {
Webmercs.Cetus.WebServices.CommonProxyWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Webmercs.Cetus.WebServices.CommonProxyWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_path();},
GetFeaturedProducts:function(productsInfo,request,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFeaturedProducts',false,{productsInfo:productsInfo,request:request},succeededCallback,failedCallback,userContext); },
GetProductInfo:function(productId,templatePath,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductInfo',false,{productId:productId,templatePath:templatePath},succeededCallback,failedCallback,userContext); },
GetStockNotification:function(productId,templatePath,createRequest,popupClientId,pageQuery,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStockNotification',false,{productId:productId,templatePath:templatePath,createRequest:createRequest,popupClientId:popupClientId,pageQuery:pageQuery},succeededCallback,failedCallback,userContext); }}
Webmercs.Cetus.WebServices.CommonProxyWebService.registerClass('Webmercs.Cetus.WebServices.CommonProxyWebService',Sys.Net.WebServiceProxy);
Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance = new Webmercs.Cetus.WebServices.CommonProxyWebService();
Webmercs.Cetus.WebServices.CommonProxyWebService.set_path = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_path(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_path = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_path(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_timeout = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_timeout(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_timeout = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_timeout(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_defaultUserContext = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_defaultUserContext(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_defaultUserContext = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_defaultUserContext(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_defaultSucceededCallback = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_defaultSucceededCallback(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_defaultSucceededCallback = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_defaultSucceededCallback(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_defaultFailedCallback = function(value) { Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.set_defaultFailedCallback(value); }
Webmercs.Cetus.WebServices.CommonProxyWebService.get_defaultFailedCallback = function() { return Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.get_defaultFailedCallback(); }
Webmercs.Cetus.WebServices.CommonProxyWebService.set_path("/CommonProxyWebService.asmx");
Webmercs.Cetus.WebServices.CommonProxyWebService.GetFeaturedProducts= function(productsInfo,request,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetFeaturedProducts(productsInfo,request,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetProductInfo= function(productId,templatePath,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetProductInfo(productId,templatePath,onSuccess,onFailed,userContext); }
Webmercs.Cetus.WebServices.CommonProxyWebService.GetStockNotification= function(productId,templatePath,createRequest,popupClientId,pageQuery,onSuccess,onFailed,userContext) {Webmercs.Cetus.WebServices.CommonProxyWebService._staticInstance.GetStockNotification(productId,templatePath,createRequest,popupClientId,pageQuery,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Webmercs.Cetus.Components');
if (typeof(Webmercs.Cetus.Components.ScrolledViewerRequest) === 'undefined') {
Webmercs.Cetus.Components.ScrolledViewerRequest=gtc("Webmercs.Cetus.Components.ScrolledViewerRequest");
Webmercs.Cetus.Components.ScrolledViewerRequest.registerClass('Webmercs.Cetus.Components.ScrolledViewerRequest');
}
if (typeof(Webmercs.Cetus.Components.FeaturedProductsInfo) === 'undefined') {
Webmercs.Cetus.Components.FeaturedProductsInfo=gtc("Webmercs.Cetus.Components.FeaturedProductsInfo");
Webmercs.Cetus.Components.FeaturedProductsInfo.registerClass('Webmercs.Cetus.Components.FeaturedProductsInfo');
}
if (typeof(Webmercs.Cetus.Components.FeaturedProductsResponse) === 'undefined') {
Webmercs.Cetus.Components.FeaturedProductsResponse=gtc("Webmercs.Cetus.Components.FeaturedProductsResponse");
Webmercs.Cetus.Components.FeaturedProductsResponse.registerClass('Webmercs.Cetus.Components.FeaturedProductsResponse');
}
if (typeof(Webmercs.Cetus.Components.FeaturedProductType) === 'undefined') {
Webmercs.Cetus.Components.FeaturedProductType = function() { throw Error.invalidOperation(); }
Webmercs.Cetus.Components.FeaturedProductType.prototype = {Special: 1,Fresh: 2,Popular: 3,Clearance: 4,Favorite: 5,SuperSpecial: 6,UserBundles: 8,Campaign: 10,Bestseller: 11,NewPartsLastDay: 253,NewPartsLastWeek: 254,NewPartsLastMonth: 255}
Webmercs.Cetus.Components.FeaturedProductType.registerEnum('Webmercs.Cetus.Components.FeaturedProductType', true);
}
