Type.registerNamespace('Protecstore');
Protecstore.modeService=function() {
Protecstore.modeService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Protecstore.modeService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Protecstore.modeService._staticInstance.get_path();},
getSizes:function(productId,color,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getSizes',false,{productId:productId,color:color},succeededCallback,failedCallback,userContext); }}
Protecstore.modeService.registerClass('Protecstore.modeService',Sys.Net.WebServiceProxy);
Protecstore.modeService._staticInstance = new Protecstore.modeService();
Protecstore.modeService.set_path = function(value) { Protecstore.modeService._staticInstance.set_path(value); }
Protecstore.modeService.get_path = function() { return Protecstore.modeService._staticInstance.get_path(); }
Protecstore.modeService.set_timeout = function(value) { Protecstore.modeService._staticInstance.set_timeout(value); }
Protecstore.modeService.get_timeout = function() { return Protecstore.modeService._staticInstance.get_timeout(); }
Protecstore.modeService.set_defaultUserContext = function(value) { Protecstore.modeService._staticInstance.set_defaultUserContext(value); }
Protecstore.modeService.get_defaultUserContext = function() { return Protecstore.modeService._staticInstance.get_defaultUserContext(); }
Protecstore.modeService.set_defaultSucceededCallback = function(value) { Protecstore.modeService._staticInstance.set_defaultSucceededCallback(value); }
Protecstore.modeService.get_defaultSucceededCallback = function() { return Protecstore.modeService._staticInstance.get_defaultSucceededCallback(); }
Protecstore.modeService.set_defaultFailedCallback = function(value) { Protecstore.modeService._staticInstance.set_defaultFailedCallback(value); }
Protecstore.modeService.get_defaultFailedCallback = function() { return Protecstore.modeService._staticInstance.get_defaultFailedCallback(); }
Protecstore.modeService.set_enableJsonp = function(value) { Protecstore.modeService._staticInstance.set_enableJsonp(value); }
Protecstore.modeService.get_enableJsonp = function() { return Protecstore.modeService._staticInstance.get_enableJsonp(); }
Protecstore.modeService.set_jsonpCallbackParameter = function(value) { Protecstore.modeService._staticInstance.set_jsonpCallbackParameter(value); }
Protecstore.modeService.get_jsonpCallbackParameter = function() { return Protecstore.modeService._staticInstance.get_jsonpCallbackParameter(); }
Protecstore.modeService.set_path("/modeService.asmx");
Protecstore.modeService.getSizes= function(productId,color,onSuccess,onFailed,userContext) {Protecstore.modeService._staticInstance.getSizes(productId,color,onSuccess,onFailed,userContext); }

