var CelebrityService=function() {
CelebrityService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CelebrityService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CelebrityService._staticInstance.get_path();},
GetCategories:function(storeid,succeededCallback, failedCallback, userContext) {
/// <param name="storeid" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCategories',false,{storeid:storeid},succeededCallback,failedCallback,userContext); },
GetItems:function(storeid,name,succeededCallback, failedCallback, userContext) {
/// <param name="storeid" type="Number">System.Int32</param>
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetItems',false,{storeid:storeid,name:name},succeededCallback,failedCallback,userContext); },
fnSmartSearch:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'fnSmartSearch',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
CelebrityService.registerClass('CelebrityService',Sys.Net.WebServiceProxy);
CelebrityService._staticInstance = new CelebrityService();
CelebrityService.set_path = function(value) {
CelebrityService._staticInstance.set_path(value); }
CelebrityService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CelebrityService._staticInstance.get_path();}
CelebrityService.set_timeout = function(value) {
CelebrityService._staticInstance.set_timeout(value); }
CelebrityService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CelebrityService._staticInstance.get_timeout(); }
CelebrityService.set_defaultUserContext = function(value) { 
CelebrityService._staticInstance.set_defaultUserContext(value); }
CelebrityService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CelebrityService._staticInstance.get_defaultUserContext(); }
CelebrityService.set_defaultSucceededCallback = function(value) { 
 CelebrityService._staticInstance.set_defaultSucceededCallback(value); }
CelebrityService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CelebrityService._staticInstance.get_defaultSucceededCallback(); }
CelebrityService.set_defaultFailedCallback = function(value) { 
CelebrityService._staticInstance.set_defaultFailedCallback(value); }
CelebrityService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CelebrityService._staticInstance.get_defaultFailedCallback(); }
CelebrityService.set_enableJsonp = function(value) { CelebrityService._staticInstance.set_enableJsonp(value); }
CelebrityService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return CelebrityService._staticInstance.get_enableJsonp(); }
CelebrityService.set_jsonpCallbackParameter = function(value) { CelebrityService._staticInstance.set_jsonpCallbackParameter(value); }
CelebrityService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return CelebrityService._staticInstance.get_jsonpCallbackParameter(); }
CelebrityService.set_path("/CelebrityService.asmx");
CelebrityService.GetCategories= function(storeid,onSuccess,onFailed,userContext) {
/// <param name="storeid" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CelebrityService._staticInstance.GetCategories(storeid,onSuccess,onFailed,userContext); }
CelebrityService.GetItems= function(storeid,name,onSuccess,onFailed,userContext) {
/// <param name="storeid" type="Number">System.Int32</param>
/// <param name="name" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CelebrityService._staticInstance.GetItems(storeid,name,onSuccess,onFailed,userContext); }
CelebrityService.fnSmartSearch= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
CelebrityService._staticInstance.fnSmartSearch(prefixText,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(TitleInfo) === 'undefined') {
var TitleInfo=gtc("TitleInfo");
TitleInfo.registerClass('TitleInfo');
}

