var WSHome=function() {
WSHome.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WSHome.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WSHome._staticInstance.get_path();},
LoadBestProducts:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'LoadBestProducts',false,{},succeededCallback,failedCallback,userContext); },
LoadBestStores:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'LoadBestStores',false,{},succeededCallback,failedCallback,userContext); },
LoadRecomendedProducts:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'LoadRecomendedProducts',false,{},succeededCallback,failedCallback,userContext); }}
WSHome.registerClass('WSHome',Sys.Net.WebServiceProxy);
WSHome._staticInstance = new WSHome();
WSHome.set_path = function(value) {
WSHome._staticInstance.set_path(value); }
WSHome.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WSHome._staticInstance.get_path();}
WSHome.set_timeout = function(value) {
WSHome._staticInstance.set_timeout(value); }
WSHome.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WSHome._staticInstance.get_timeout(); }
WSHome.set_defaultUserContext = function(value) { 
WSHome._staticInstance.set_defaultUserContext(value); }
WSHome.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WSHome._staticInstance.get_defaultUserContext(); }
WSHome.set_defaultSucceededCallback = function(value) { 
 WSHome._staticInstance.set_defaultSucceededCallback(value); }
WSHome.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WSHome._staticInstance.get_defaultSucceededCallback(); }
WSHome.set_defaultFailedCallback = function(value) { 
WSHome._staticInstance.set_defaultFailedCallback(value); }
WSHome.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WSHome._staticInstance.get_defaultFailedCallback(); }
WSHome.set_path("/Webservices/WSHome.asmx");
WSHome.LoadBestProducts= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WSHome._staticInstance.LoadBestProducts(onSuccess,onFailed,userContext); }
WSHome.LoadBestStores= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WSHome._staticInstance.LoadBestStores(onSuccess,onFailed,userContext); }
WSHome.LoadRecomendedProducts= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WSHome._staticInstance.LoadRecomendedProducts(onSuccess,onFailed,userContext); }
