var AjaxWebService=function() {
AjaxWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AjaxWebService._staticInstance.get_path();},
GetPrimaryItemImagesByItemAndType:function(itemId,priceType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPrimaryItemImagesByItemAndType',false,{itemId:itemId,priceType:priceType},succeededCallback,failedCallback,userContext); },
SetPricing:function(iProdId,sPriceType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetPricing',false,{iProdId:iProdId,sPriceType:sPriceType},succeededCallback,failedCallback,userContext); },
SetItemPricing:function(iItemId,sPriceType,usePricingButtons,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetItemPricing',false,{iItemId:iItemId,sPriceType:sPriceType,usePricingButtons:usePricingButtons},succeededCallback,failedCallback,userContext); },
GetItems:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetItems',false,{},succeededCallback,failedCallback,userContext); },
GetProductCompare:function(pids,ptype,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductCompare',false,{pids:pids,ptype:ptype},succeededCallback,failedCallback,userContext); }}
AjaxWebService.registerClass('AjaxWebService',Sys.Net.WebServiceProxy);
AjaxWebService._staticInstance = new AjaxWebService();
AjaxWebService.set_path = function(value) { AjaxWebService._staticInstance.set_path(value); }
AjaxWebService.get_path = function() { return AjaxWebService._staticInstance.get_path(); }
AjaxWebService.set_timeout = function(value) { AjaxWebService._staticInstance.set_timeout(value); }
AjaxWebService.get_timeout = function() { return AjaxWebService._staticInstance.get_timeout(); }
AjaxWebService.set_defaultUserContext = function(value) { AjaxWebService._staticInstance.set_defaultUserContext(value); }
AjaxWebService.get_defaultUserContext = function() { return AjaxWebService._staticInstance.get_defaultUserContext(); }
AjaxWebService.set_defaultSucceededCallback = function(value) { AjaxWebService._staticInstance.set_defaultSucceededCallback(value); }
AjaxWebService.get_defaultSucceededCallback = function() { return AjaxWebService._staticInstance.get_defaultSucceededCallback(); }
AjaxWebService.set_defaultFailedCallback = function(value) { AjaxWebService._staticInstance.set_defaultFailedCallback(value); }
AjaxWebService.get_defaultFailedCallback = function() { return AjaxWebService._staticInstance.get_defaultFailedCallback(); }
AjaxWebService.set_path("/GemlineAjaxWebService/AjaxWebService.asmx");
AjaxWebService.GetPrimaryItemImagesByItemAndType= function(itemId,priceType,onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.GetPrimaryItemImagesByItemAndType(itemId,priceType,onSuccess,onFailed,userContext); }
AjaxWebService.SetPricing= function(iProdId,sPriceType,onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.SetPricing(iProdId,sPriceType,onSuccess,onFailed,userContext); }
AjaxWebService.SetItemPricing= function(iItemId,sPriceType,usePricingButtons,onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.SetItemPricing(iItemId,sPriceType,usePricingButtons,onSuccess,onFailed,userContext); }
AjaxWebService.GetItems= function(onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.GetItems(onSuccess,onFailed,userContext); }
AjaxWebService.GetProductCompare= function(pids,ptype,onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.GetProductCompare(pids,ptype,onSuccess,onFailed,userContext); }

