Type.registerNamespace('Paradigit.Webservices');
Paradigit.Webservices.RelatedItems=function() {
Paradigit.Webservices.RelatedItems.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Paradigit.Webservices.RelatedItems.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Paradigit.Webservices.RelatedItems._staticInstance.get_path();},
GetOtherRelatedItems:function(itemNo,startRow,pageSize,rowCount,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetOtherRelatedItems',false,{itemNo:itemNo,startRow:startRow,pageSize:pageSize,rowCount:rowCount},succeededCallback,failedCallback,userContext); },
GetPopularRelatedItems:function(itemNo,startRow,pageSize,rowCount,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPopularRelatedItems',false,{itemNo:itemNo,startRow:startRow,pageSize:pageSize,rowCount:rowCount},succeededCallback,failedCallback,userContext); }}
Paradigit.Webservices.RelatedItems.registerClass('Paradigit.Webservices.RelatedItems',Sys.Net.WebServiceProxy);
Paradigit.Webservices.RelatedItems._staticInstance = new Paradigit.Webservices.RelatedItems();
Paradigit.Webservices.RelatedItems.set_path = function(value) { Paradigit.Webservices.RelatedItems._staticInstance.set_path(value); }
Paradigit.Webservices.RelatedItems.get_path = function() { return Paradigit.Webservices.RelatedItems._staticInstance.get_path(); }
Paradigit.Webservices.RelatedItems.set_timeout = function(value) { Paradigit.Webservices.RelatedItems._staticInstance.set_timeout(value); }
Paradigit.Webservices.RelatedItems.get_timeout = function() { return Paradigit.Webservices.RelatedItems._staticInstance.get_timeout(); }
Paradigit.Webservices.RelatedItems.set_defaultUserContext = function(value) { Paradigit.Webservices.RelatedItems._staticInstance.set_defaultUserContext(value); }
Paradigit.Webservices.RelatedItems.get_defaultUserContext = function() { return Paradigit.Webservices.RelatedItems._staticInstance.get_defaultUserContext(); }
Paradigit.Webservices.RelatedItems.set_defaultSucceededCallback = function(value) { Paradigit.Webservices.RelatedItems._staticInstance.set_defaultSucceededCallback(value); }
Paradigit.Webservices.RelatedItems.get_defaultSucceededCallback = function() { return Paradigit.Webservices.RelatedItems._staticInstance.get_defaultSucceededCallback(); }
Paradigit.Webservices.RelatedItems.set_defaultFailedCallback = function(value) { Paradigit.Webservices.RelatedItems._staticInstance.set_defaultFailedCallback(value); }
Paradigit.Webservices.RelatedItems.get_defaultFailedCallback = function() { return Paradigit.Webservices.RelatedItems._staticInstance.get_defaultFailedCallback(); }
Paradigit.Webservices.RelatedItems.set_path("/PARADIGIT/Site/webservices/RelatedItems.svc");
Paradigit.Webservices.RelatedItems.GetOtherRelatedItems= function(itemNo,startRow,pageSize,rowCount,onSuccess,onFailed,userContext) {Paradigit.Webservices.RelatedItems._staticInstance.GetOtherRelatedItems(itemNo,startRow,pageSize,rowCount,onSuccess,onFailed,userContext); }
Paradigit.Webservices.RelatedItems.GetPopularRelatedItems= function(itemNo,startRow,pageSize,rowCount,onSuccess,onFailed,userContext) {Paradigit.Webservices.RelatedItems._staticInstance.GetPopularRelatedItems(itemNo,startRow,pageSize,rowCount,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Tradepoint2Site.Site.webservices');
if (typeof(Tradepoint2Site.Site.webservices.RelatedItem) === 'undefined') {
Tradepoint2Site.Site.webservices.RelatedItem=gtc("RelatedItem:http://schemas.datacontract.org/2004/07/Tradepoint2Site.Site.webservices");
Tradepoint2Site.Site.webservices.RelatedItem.registerClass('Tradepoint2Site.Site.webservices.RelatedItem');
}
