var RestrictionsService=function() {
RestrictionsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RestrictionsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RestrictionsService._staticInstance.get_path();},
GetMarkupForRestriction:function(city,state,sku,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMarkupForRestriction',false,{city:city,state:state,sku:sku},succeededCallback,failedCallback,userContext); },
GetCompletionList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); }}
RestrictionsService.registerClass('RestrictionsService',Sys.Net.WebServiceProxy);
RestrictionsService._staticInstance = new RestrictionsService();
RestrictionsService.set_path = function(value) { RestrictionsService._staticInstance.set_path(value); }
RestrictionsService.get_path = function() { return RestrictionsService._staticInstance.get_path(); }
RestrictionsService.set_timeout = function(value) { RestrictionsService._staticInstance.set_timeout(value); }
RestrictionsService.get_timeout = function() { return RestrictionsService._staticInstance.get_timeout(); }
RestrictionsService.set_defaultUserContext = function(value) { RestrictionsService._staticInstance.set_defaultUserContext(value); }
RestrictionsService.get_defaultUserContext = function() { return RestrictionsService._staticInstance.get_defaultUserContext(); }
RestrictionsService.set_defaultSucceededCallback = function(value) { RestrictionsService._staticInstance.set_defaultSucceededCallback(value); }
RestrictionsService.get_defaultSucceededCallback = function() { return RestrictionsService._staticInstance.get_defaultSucceededCallback(); }
RestrictionsService.set_defaultFailedCallback = function(value) { RestrictionsService._staticInstance.set_defaultFailedCallback(value); }
RestrictionsService.get_defaultFailedCallback = function() { return RestrictionsService._staticInstance.get_defaultFailedCallback(); }
RestrictionsService.set_path("/Services/RestrictionsService.asmx");
RestrictionsService.GetMarkupForRestriction= function(city,state,sku,onSuccess,onFailed,userContext) {RestrictionsService._staticInstance.GetMarkupForRestriction(city,state,sku,onSuccess,onFailed,userContext); }
RestrictionsService.GetCompletionList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {RestrictionsService._staticInstance.GetCompletionList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
