Type.registerNamespace('PriceLister.Avalon.Web.ScriptService');PriceLister.Avalon.Web.ScriptService.EBayResultsServices=function(){PriceLister.Avalon.Web.ScriptService.EBayResultsServices.initializeBase(this);this._timeout=0;this._userContext=null;this._succeeded=null;this._failed=null;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.prototype={EBayProductSearchStatus:function(productID,succeededCallback,failedCallback,userContext){return this._invoke(PriceLister.Avalon.Web.ScriptService.EBayResultsServices.get_path(),'EBayProductSearchStatus',false,{productID:productID},succeededCallback,failedCallback,userContext);},EBayKeywordSearchStatus:function(searchStr,succeededCallback,failedCallback,userContext){return this._invoke(PriceLister.Avalon.Web.ScriptService.EBayResultsServices.get_path(),'EBayKeywordSearchStatus',false,{searchStr:searchStr},succeededCallback,failedCallback,userContext);}}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.registerClass('PriceLister.Avalon.Web.ScriptService.EBayResultsServices',Sys.Net.WebServiceProxy);PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance=new PriceLister.Avalon.Web.ScriptService.EBayResultsServices();PriceLister.Avalon.Web.ScriptService.EBayResultsServices.set_path=function(value){PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._path=value;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.get_path=function(){return PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._path;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.set_timeout=function(value){PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._timeout=value;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.get_timeout=function(){return PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._timeout;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.set_defaultUserContext=function(value){PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._userContext=value;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.get_defaultUserContext=function(){return PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._userContext;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.set_defaultSucceededCallback=function(value){PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._succeeded=value;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.get_defaultSucceededCallback=function(){return PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._succeeded;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.set_defaultFailedCallback=function(value){PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._failed=value;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.get_defaultFailedCallback=function(){return PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance._failed;}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.set_path("/ScriptServices/EBayResults.asmx");PriceLister.Avalon.Web.ScriptService.EBayResultsServices.EBayProductSearchStatus=function(productID,onSuccess,onFailed,userContext){PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance.EBayProductSearchStatus(productID,onSuccess,onFailed,userContext);}PriceLister.Avalon.Web.ScriptService.EBayResultsServices.EBayKeywordSearchStatus=function(searchStr,onSuccess,onFailed,userContext){PriceLister.Avalon.Web.ScriptService.EBayResultsServices._staticInstance.EBayKeywordSearchStatus(searchStr,onSuccess,onFailed,userContext);}PriceLister.Avalon.Web.ScriptService.EBaySearchStatus=function(){throw Error.invalidOperation();}PriceLister.Avalon.Web.ScriptService.EBaySearchStatus.prototype={InProgress:0,NoResults:1,Completed:2}PriceLister.Avalon.Web.ScriptService.EBaySearchStatus.registerEnum('PriceLister.Avalon.Web.ScriptService.EBaySearchStatus',true);