Type.registerNamespace('Fader');
Fader.HypnoQuote=function() {
Fader.HypnoQuote.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Fader.HypnoQuote.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Fader.HypnoQuote._staticInstance.get_path();},
NextQuote:function(index,succeededCallback, failedCallback, userContext) {
/// <param name="index" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'NextQuote',false,{index:index},succeededCallback,failedCallback,userContext); },
GetContentLength:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetContentLength',false,{},succeededCallback,failedCallback,userContext); }}
Fader.HypnoQuote.registerClass('Fader.HypnoQuote',Sys.Net.WebServiceProxy);
Fader.HypnoQuote._staticInstance = new Fader.HypnoQuote();
Fader.HypnoQuote.set_path = function(value) {
Fader.HypnoQuote._staticInstance.set_path(value); }
Fader.HypnoQuote.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Fader.HypnoQuote._staticInstance.get_path();}
Fader.HypnoQuote.set_timeout = function(value) {
Fader.HypnoQuote._staticInstance.set_timeout(value); }
Fader.HypnoQuote.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Fader.HypnoQuote._staticInstance.get_timeout(); }
Fader.HypnoQuote.set_defaultUserContext = function(value) { 
Fader.HypnoQuote._staticInstance.set_defaultUserContext(value); }
Fader.HypnoQuote.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Fader.HypnoQuote._staticInstance.get_defaultUserContext(); }
Fader.HypnoQuote.set_defaultSucceededCallback = function(value) { 
 Fader.HypnoQuote._staticInstance.set_defaultSucceededCallback(value); }
Fader.HypnoQuote.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Fader.HypnoQuote._staticInstance.get_defaultSucceededCallback(); }
Fader.HypnoQuote.set_defaultFailedCallback = function(value) { 
Fader.HypnoQuote._staticInstance.set_defaultFailedCallback(value); }
Fader.HypnoQuote.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Fader.HypnoQuote._staticInstance.get_defaultFailedCallback(); }
Fader.HypnoQuote.set_path("/HypnoQuote.asmx");
Fader.HypnoQuote.NextQuote= function(index,onSuccess,onFailed,userContext) {
/// <param name="index" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Fader.HypnoQuote._staticInstance.NextQuote(index,onSuccess,onFailed,userContext); }
Fader.HypnoQuote.GetContentLength= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Fader.HypnoQuote._staticInstance.GetContentLength(onSuccess,onFailed,userContext); }
