var MasterNet=function() {
MasterNet.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MasterNet.prototype={
GetProductListInfo:function(sProductId,sWebSiteCode,ShowCompare,succeededCallback, failedCallback, userContext) {
return this._invoke(MasterNet.get_path(), 'GetProductListInfo',false,{sProductId:sProductId,sWebSiteCode:sWebSiteCode,ShowCompare:ShowCompare},succeededCallback,failedCallback,userContext); },
GetImagesByProduct:function(sProductId,succeededCallback, failedCallback, userContext) {
return this._invoke(MasterNet.get_path(), 'GetImagesByProduct',false,{sProductId:sProductId},succeededCallback,failedCallback,userContext); },
SendContactMail:function(sBody,sContactName,sContactMail,succeededCallback, failedCallback, userContext) {
return this._invoke(MasterNet.get_path(), 'SendContactMail',false,{sBody:sBody,sContactName:sContactName,sContactMail:sContactMail},succeededCallback,failedCallback,userContext); }}
MasterNet.registerClass('MasterNet',Sys.Net.WebServiceProxy);
MasterNet._staticInstance = new MasterNet();
MasterNet.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; MasterNet._staticInstance._path = value; }
MasterNet.get_path = function() { return MasterNet._staticInstance._path; }
MasterNet.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); }
MasterNet._staticInstance._timeout = value; }
MasterNet.get_timeout = function() { 
return MasterNet._staticInstance._timeout; }
MasterNet.set_defaultUserContext = function(value) { 
MasterNet._staticInstance._userContext = value; }
MasterNet.get_defaultUserContext = function() { 
return MasterNet._staticInstance._userContext; }
MasterNet.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; MasterNet._staticInstance._succeeded = value; }
MasterNet.get_defaultSucceededCallback = function() { 
return MasterNet._staticInstance._succeeded; }
MasterNet.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; MasterNet._staticInstance._failed = value; }
MasterNet.get_defaultFailedCallback = function() { 
return MasterNet._staticInstance._failed; }
MasterNet.set_path("/smartcontrol/MasterNet.asmx");
MasterNet.GetProductListInfo= function(sProductId,sWebSiteCode,ShowCompare,onSuccess,onFailed,userContext) {MasterNet._staticInstance.GetProductListInfo(sProductId,sWebSiteCode,ShowCompare,onSuccess,onFailed,userContext); }
MasterNet.GetImagesByProduct= function(sProductId,onSuccess,onFailed,userContext) {MasterNet._staticInstance.GetImagesByProduct(sProductId,onSuccess,onFailed,userContext); }
MasterNet.SendContactMail= function(sBody,sContactName,sContactMail,onSuccess,onFailed,userContext) {MasterNet._staticInstance.SendContactMail(sBody,sContactName,sContactMail,onSuccess,onFailed,userContext); }

