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