var FrontEndServices=function() {
FrontEndServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
FrontEndServices.prototype={
AddItemToCart:function(idItem,amount,succeededCallback, failedCallback, userContext) {
return this._invoke(FrontEndServices.get_path(), 'AddItemToCart',false,{idItem:idItem,amount:amount},succeededCallback,failedCallback,userContext); }}
FrontEndServices.registerClass('FrontEndServices',Sys.Net.WebServiceProxy);
FrontEndServices._staticInstance = new FrontEndServices();
FrontEndServices.set_path = function(value) { FrontEndServices._staticInstance._path = value; }
FrontEndServices.get_path = function() { return FrontEndServices._staticInstance._path; }
FrontEndServices.set_timeout = function(value) { FrontEndServices._staticInstance._timeout = value; }
FrontEndServices.get_timeout = function() { return FrontEndServices._staticInstance._timeout; }
FrontEndServices.set_defaultUserContext = function(value) { FrontEndServices._staticInstance._userContext = value; }
FrontEndServices.get_defaultUserContext = function() { return FrontEndServices._staticInstance._userContext; }
FrontEndServices.set_defaultSucceededCallback = function(value) { FrontEndServices._staticInstance._succeeded = value; }
FrontEndServices.get_defaultSucceededCallback = function() { return FrontEndServices._staticInstance._succeeded; }
FrontEndServices.set_defaultFailedCallback = function(value) { FrontEndServices._staticInstance._failed = value; }
FrontEndServices.get_defaultFailedCallback = function() { return FrontEndServices._staticInstance._failed; }
FrontEndServices.set_path("/WebServices/FrontEndServices.asmx");
FrontEndServices.AddItemToCart= function(idItem,amount,onSuccess,onFailed,userContext) {FrontEndServices._staticInstance.AddItemToCart(idItem,amount,onSuccess,onFailed,userContext); }
