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