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