var CommonCallback=function() {
CommonCallback.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CommonCallback.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CommonCallback._staticInstance.get_path();},
LoginShopper:function(gsm,password,destination,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoginShopper',false,{gsm:gsm,password:password,destination:destination},succeededCallback,failedCallback,userContext); },
SubmitBid:function(userId,password,bid,productId,number,gsm,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubmitBid',false,{userId:userId,password:password,bid:bid,productId:productId,number:number,gsm:gsm},succeededCallback,failedCallback,userContext); },
resetGame:function(itemId,startDate,duration,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'resetGame',false,{itemId:itemId,startDate:startDate,duration:duration},succeededCallback,failedCallback,userContext); },
PurchaseStoreSMS:function(storeId,amount,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PurchaseStoreSMS',false,{storeId:storeId,amount:amount,userId:userId},succeededCallback,failedCallback,userContext); },
sendSMSEnquiries:function(storeId,toGSM,fromGSM,message,userId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'sendSMSEnquiries',false,{storeId:storeId,toGSM:toGSM,fromGSM:fromGSM,message:message,userId:userId},succeededCallback,failedCallback,userContext); }}
CommonCallback.registerClass('CommonCallback',Sys.Net.WebServiceProxy);
CommonCallback._staticInstance = new CommonCallback();
CommonCallback.set_path = function(value) { CommonCallback._staticInstance.set_path(value); }
CommonCallback.get_path = function() { return CommonCallback._staticInstance.get_path(); }
CommonCallback.set_timeout = function(value) { CommonCallback._staticInstance.set_timeout(value); }
CommonCallback.get_timeout = function() { return CommonCallback._staticInstance.get_timeout(); }
CommonCallback.set_defaultUserContext = function(value) { CommonCallback._staticInstance.set_defaultUserContext(value); }
CommonCallback.get_defaultUserContext = function() { return CommonCallback._staticInstance.get_defaultUserContext(); }
CommonCallback.set_defaultSucceededCallback = function(value) { CommonCallback._staticInstance.set_defaultSucceededCallback(value); }
CommonCallback.get_defaultSucceededCallback = function() { return CommonCallback._staticInstance.get_defaultSucceededCallback(); }
CommonCallback.set_defaultFailedCallback = function(value) { CommonCallback._staticInstance.set_defaultFailedCallback(value); }
CommonCallback.get_defaultFailedCallback = function() { return CommonCallback._staticInstance.get_defaultFailedCallback(); }
CommonCallback.set_path("/Common/CommonCallback.asmx");
CommonCallback.LoginShopper= function(gsm,password,destination,onSuccess,onFailed,userContext) {CommonCallback._staticInstance.LoginShopper(gsm,password,destination,onSuccess,onFailed,userContext); }
CommonCallback.SubmitBid= function(userId,password,bid,productId,number,gsm,onSuccess,onFailed,userContext) {CommonCallback._staticInstance.SubmitBid(userId,password,bid,productId,number,gsm,onSuccess,onFailed,userContext); }
CommonCallback.resetGame= function(itemId,startDate,duration,onSuccess,onFailed,userContext) {CommonCallback._staticInstance.resetGame(itemId,startDate,duration,onSuccess,onFailed,userContext); }
CommonCallback.PurchaseStoreSMS= function(storeId,amount,userId,onSuccess,onFailed,userContext) {CommonCallback._staticInstance.PurchaseStoreSMS(storeId,amount,userId,onSuccess,onFailed,userContext); }
CommonCallback.sendSMSEnquiries= function(storeId,toGSM,fromGSM,message,userId,onSuccess,onFailed,userContext) {CommonCallback._staticInstance.sendSMSEnquiries(storeId,toGSM,fromGSM,message,userId,onSuccess,onFailed,userContext); }

