var PortfolioBrowserServices=function() {
PortfolioBrowserServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PortfolioBrowserServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PortfolioBrowserServices._staticInstance.get_path();},
GetPortfolioCategories:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPortfolioCategories',false,{},succeededCallback,failedCallback,userContext); },
GetPortfolioItems:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPortfolioItems',false,{},succeededCallback,failedCallback,userContext); },
GetPortfolioBrowserXaml:function(PortfolioItemsContainerWidth,PortfolioItemsContainerHeight,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPortfolioBrowserXaml',false,{PortfolioItemsContainerWidth:PortfolioItemsContainerWidth,PortfolioItemsContainerHeight:PortfolioItemsContainerHeight},succeededCallback,failedCallback,userContext); }}
PortfolioBrowserServices.registerClass('PortfolioBrowserServices',Sys.Net.WebServiceProxy);
PortfolioBrowserServices._staticInstance = new PortfolioBrowserServices();
PortfolioBrowserServices.set_path = function(value) { PortfolioBrowserServices._staticInstance.set_path(value); }
PortfolioBrowserServices.get_path = function() { return PortfolioBrowserServices._staticInstance.get_path(); }
PortfolioBrowserServices.set_timeout = function(value) { PortfolioBrowserServices._staticInstance.set_timeout(value); }
PortfolioBrowserServices.get_timeout = function() { return PortfolioBrowserServices._staticInstance.get_timeout(); }
PortfolioBrowserServices.set_defaultUserContext = function(value) { PortfolioBrowserServices._staticInstance.set_defaultUserContext(value); }
PortfolioBrowserServices.get_defaultUserContext = function() { return PortfolioBrowserServices._staticInstance.get_defaultUserContext(); }
PortfolioBrowserServices.set_defaultSucceededCallback = function(value) { PortfolioBrowserServices._staticInstance.set_defaultSucceededCallback(value); }
PortfolioBrowserServices.get_defaultSucceededCallback = function() { return PortfolioBrowserServices._staticInstance.get_defaultSucceededCallback(); }
PortfolioBrowserServices.set_defaultFailedCallback = function(value) { PortfolioBrowserServices._staticInstance.set_defaultFailedCallback(value); }
PortfolioBrowserServices.get_defaultFailedCallback = function() { return PortfolioBrowserServices._staticInstance.get_defaultFailedCallback(); }
PortfolioBrowserServices.set_path("/PortfolioBrowserServices.asmx");
PortfolioBrowserServices.GetPortfolioCategories= function(onSuccess,onFailed,userContext) {PortfolioBrowserServices._staticInstance.GetPortfolioCategories(onSuccess,onFailed,userContext); }
PortfolioBrowserServices.GetPortfolioItems= function(onSuccess,onFailed,userContext) {PortfolioBrowserServices._staticInstance.GetPortfolioItems(onSuccess,onFailed,userContext); }
PortfolioBrowserServices.GetPortfolioBrowserXaml= function(PortfolioItemsContainerWidth,PortfolioItemsContainerHeight,onSuccess,onFailed,userContext) {PortfolioBrowserServices._staticInstance.GetPortfolioBrowserXaml(PortfolioItemsContainerWidth,PortfolioItemsContainerHeight,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(PortfolioItem) === 'undefined') {
var PortfolioItem=gtc("PortfolioItem");
PortfolioItem.registerClass('PortfolioItem');
}
if (typeof(PortfolioBrowserPackage) === 'undefined') {
var PortfolioBrowserPackage=gtc("PortfolioBrowserPackage");
PortfolioBrowserPackage.registerClass('PortfolioBrowserPackage');
}
