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