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

