var shop=function() {
shop.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
shop.prototype={
PostGuestBook:function(companyId,customer,qq,email,msn,tel,title,content,succeededCallback, failedCallback, userContext) {
return this._invoke(shop.get_path(), 'PostGuestBook',false,{companyId:companyId,customer:customer,qq:qq,email:email,msn:msn,tel:tel,title:title,content:content},succeededCallback,failedCallback,userContext); },
PostGuestOrder:function(companyId,customer,qq,email,msn,tel,content,couponsNum,couponsCode,weddingDate,succeededCallback, failedCallback, userContext) {
return this._invoke(shop.get_path(), 'PostGuestOrder',false,{companyId:companyId,customer:customer,qq:qq,email:email,msn:msn,tel:tel,content:content,couponsNum:couponsNum,couponsCode:couponsCode,weddingDate:weddingDate},succeededCallback,failedCallback,userContext); },
Login:function(username,password,succeededCallback, failedCallback, userContext) {
return this._invoke(shop.get_path(), 'Login',false,{username:username,password:password},succeededCallback,failedCallback,userContext); }}
shop.registerClass('shop',Sys.Net.WebServiceProxy);
shop._staticInstance = new shop();
shop.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; shop._staticInstance._path = value; }
shop.get_path = function() { return shop._staticInstance._path; }
shop.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
shop._staticInstance._timeout = value; }
shop.get_timeout = function() { 
return shop._staticInstance._timeout; }
shop.set_defaultUserContext = function(value) { 
shop._staticInstance._userContext = value; }
shop.get_defaultUserContext = function() { 
return shop._staticInstance._userContext; }
shop.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; shop._staticInstance._succeeded = value; }
shop.get_defaultSucceededCallback = function() { 
return shop._staticInstance._succeeded; }
shop.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; shop._staticInstance._failed = value; }
shop.get_defaultFailedCallback = function() { 
return shop._staticInstance._failed; }
shop.set_path("/Service/Script/shop.asmx");
shop.PostGuestBook= function(companyId,customer,qq,email,msn,tel,title,content,onSuccess,onFailed,userContext) {shop._staticInstance.PostGuestBook(companyId,customer,qq,email,msn,tel,title,content,onSuccess,onFailed,userContext); }
shop.PostGuestOrder= function(companyId,customer,qq,email,msn,tel,content,couponsNum,couponsCode,weddingDate,onSuccess,onFailed,userContext) {shop._staticInstance.PostGuestOrder(companyId,customer,qq,email,msn,tel,content,couponsNum,couponsCode,weddingDate,onSuccess,onFailed,userContext); }
shop.Login= function(username,password,onSuccess,onFailed,userContext) {shop._staticInstance.Login(username,password,onSuccess,onFailed,userContext); }
