Type.registerNamespace('ThomasCook.Ecom.Web');
ThomasCook.Ecom.Web.AsyncRender=function() {
ThomasCook.Ecom.Web.AsyncRender.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ThomasCook.Ecom.Web.AsyncRender.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ThomasCook.Ecom.Web.AsyncRender._staticInstance.get_path();},
DoAsyncRender:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DoAsyncRender',false,{},succeededCallback,failedCallback,userContext); }}
ThomasCook.Ecom.Web.AsyncRender.registerClass('ThomasCook.Ecom.Web.AsyncRender',Sys.Net.WebServiceProxy);
ThomasCook.Ecom.Web.AsyncRender._staticInstance = new ThomasCook.Ecom.Web.AsyncRender();
ThomasCook.Ecom.Web.AsyncRender.set_path = function(value) { ThomasCook.Ecom.Web.AsyncRender._staticInstance.set_path(value); }
ThomasCook.Ecom.Web.AsyncRender.get_path = function() { return ThomasCook.Ecom.Web.AsyncRender._staticInstance.get_path(); }
ThomasCook.Ecom.Web.AsyncRender.set_timeout = function(value) { ThomasCook.Ecom.Web.AsyncRender._staticInstance.set_timeout(value); }
ThomasCook.Ecom.Web.AsyncRender.get_timeout = function() { return ThomasCook.Ecom.Web.AsyncRender._staticInstance.get_timeout(); }
ThomasCook.Ecom.Web.AsyncRender.set_defaultUserContext = function(value) { ThomasCook.Ecom.Web.AsyncRender._staticInstance.set_defaultUserContext(value); }
ThomasCook.Ecom.Web.AsyncRender.get_defaultUserContext = function() { return ThomasCook.Ecom.Web.AsyncRender._staticInstance.get_defaultUserContext(); }
ThomasCook.Ecom.Web.AsyncRender.set_defaultSucceededCallback = function(value) { ThomasCook.Ecom.Web.AsyncRender._staticInstance.set_defaultSucceededCallback(value); }
ThomasCook.Ecom.Web.AsyncRender.get_defaultSucceededCallback = function() { return ThomasCook.Ecom.Web.AsyncRender._staticInstance.get_defaultSucceededCallback(); }
ThomasCook.Ecom.Web.AsyncRender.set_defaultFailedCallback = function(value) { ThomasCook.Ecom.Web.AsyncRender._staticInstance.set_defaultFailedCallback(value); }
ThomasCook.Ecom.Web.AsyncRender.get_defaultFailedCallback = function() { return ThomasCook.Ecom.Web.AsyncRender._staticInstance.get_defaultFailedCallback(); }
ThomasCook.Ecom.Web.AsyncRender.set_path("/asyncrender.asmx");
ThomasCook.Ecom.Web.AsyncRender.DoAsyncRender= function(onSuccess,onFailed,userContext) {ThomasCook.Ecom.Web.AsyncRender._staticInstance.DoAsyncRender(onSuccess,onFailed,userContext); }
