var ICategoryService=function() {
ICategoryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ICategoryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ICategoryService._staticInstance.get_path();},
GetProductPlacementContentList:function(eProductPlacementID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductPlacementContentList',false,{eProductPlacementID:eProductPlacementID},succeededCallback,failedCallback,userContext); },
GetProductSearchResult:function(searchText,product,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductSearchResult',false,{searchText:searchText,product:product},succeededCallback,failedCallback,userContext); },
UpdateNavigator:function(state,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateNavigator',false,{state:state},succeededCallback,failedCallback,userContext); }}
ICategoryService.registerClass('ICategoryService',Sys.Net.WebServiceProxy);
ICategoryService._staticInstance = new ICategoryService();
ICategoryService.set_path = function(value) { ICategoryService._staticInstance.set_path(value); }
ICategoryService.get_path = function() { return ICategoryService._staticInstance.get_path(); }
ICategoryService.set_timeout = function(value) { ICategoryService._staticInstance.set_timeout(value); }
ICategoryService.get_timeout = function() { return ICategoryService._staticInstance.get_timeout(); }
ICategoryService.set_defaultUserContext = function(value) { ICategoryService._staticInstance.set_defaultUserContext(value); }
ICategoryService.get_defaultUserContext = function() { return ICategoryService._staticInstance.get_defaultUserContext(); }
ICategoryService.set_defaultSucceededCallback = function(value) { ICategoryService._staticInstance.set_defaultSucceededCallback(value); }
ICategoryService.get_defaultSucceededCallback = function() { return ICategoryService._staticInstance.get_defaultSucceededCallback(); }
ICategoryService.set_defaultFailedCallback = function(value) { ICategoryService._staticInstance.set_defaultFailedCallback(value); }
ICategoryService.get_defaultFailedCallback = function() { return ICategoryService._staticInstance.get_defaultFailedCallback(); }
ICategoryService.set_path("/WebServices/CategoryService.svc");
ICategoryService.GetProductPlacementContentList= function(eProductPlacementID,onSuccess,onFailed,userContext) {ICategoryService._staticInstance.GetProductPlacementContentList(eProductPlacementID,onSuccess,onFailed,userContext); }
ICategoryService.GetProductSearchResult= function(searchText,product,onSuccess,onFailed,userContext) {ICategoryService._staticInstance.GetProductSearchResult(searchText,product,onSuccess,onFailed,userContext); }
ICategoryService.UpdateNavigator= function(state,onSuccess,onFailed,userContext) {ICategoryService._staticInstance.UpdateNavigator(state,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(MenuDataWrapper) === 'undefined') {
var MenuDataWrapper=gtc("MenuDataWrapper:http://schemas.datacontract.org/2004/07/");
MenuDataWrapper.registerClass('MenuDataWrapper');
}
if (typeof(Category) === 'undefined') {
var Category=gtc("Category:http://schemas.datacontract.org/2004/07/");
Category.registerClass('Category');
}
if (typeof(SubCategory) === 'undefined') {
var SubCategory=gtc("SubCategory:http://schemas.datacontract.org/2004/07/");
SubCategory.registerClass('SubCategory');
}
Type.registerNamespace('PhotoSite.util');
if (typeof(PhotoSite.util.NavigationState) === 'undefined') {
PhotoSite.util.NavigationState=gtc("NavigationState:http://schemas.datacontract.org/2004/07/PhotoSite.util");
PhotoSite.util.NavigationState.registerClass('PhotoSite.util.NavigationState');
}
