var Generic=function() {
Generic.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Generic.prototype={
GetModelImage:function(modelid,memberid,succeededCallback, failedCallback, userContext) {
return this._invoke(Generic.get_path(), 'GetModelImage',false,{modelid:modelid,memberid:memberid},succeededCallback,failedCallback,userContext); },
GetModelsByBrand:function(brand,currentpage,succeededCallback, failedCallback, userContext) {
return this._invoke(Generic.get_path(), 'GetModelsByBrand',false,{brand:brand,currentpage:currentpage},succeededCallback,failedCallback,userContext); },
PopulateDependentValues:function(strSql,strWhere,strOrderBy,succeededCallback, failedCallback, userContext) {
return this._invoke(Generic.get_path(), 'PopulateDependentValues',false,{strSql:strSql,strWhere:strWhere,strOrderBy:strOrderBy},succeededCallback,failedCallback,userContext); }}
Generic.registerClass('Generic',Sys.Net.WebServiceProxy);
Generic._staticInstance = new Generic();
Generic.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Generic._staticInstance._path = value; }
Generic.get_path = function() { return Generic._staticInstance._path; }
Generic.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); }
Generic._staticInstance._timeout = value; }
Generic.get_timeout = function() { 
return Generic._staticInstance._timeout; }
Generic.set_defaultUserContext = function(value) { 
Generic._staticInstance._userContext = value; }
Generic.get_defaultUserContext = function() { 
return Generic._staticInstance._userContext; }
Generic.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Generic._staticInstance._succeeded = value; }
Generic.get_defaultSucceededCallback = function() { 
return Generic._staticInstance._succeeded; }
Generic.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Generic._staticInstance._failed = value; }
Generic.get_defaultFailedCallback = function() { 
return Generic._staticInstance._failed; }
Generic.set_path("/Generic.asmx");
Generic.GetModelImage= function(modelid,memberid,onSuccess,onFailed,userContext) {Generic._staticInstance.GetModelImage(modelid,memberid,onSuccess,onFailed,userContext); }
Generic.GetModelsByBrand= function(brand,currentpage,onSuccess,onFailed,userContext) {Generic._staticInstance.GetModelsByBrand(brand,currentpage,onSuccess,onFailed,userContext); }
Generic.PopulateDependentValues= function(strSql,strWhere,strOrderBy,onSuccess,onFailed,userContext) {Generic._staticInstance.PopulateDependentValues(strSql,strWhere,strOrderBy,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
