Type.registerNamespace('Web.Menu');
Web.Menu.MenuService=function() {
Web.Menu.MenuService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Web.Menu.MenuService.prototype={
GetMenu:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Web.Menu.MenuService.get_path(), 'GetMenu',false,{},succeededCallback,failedCallback,userContext); }}
Web.Menu.MenuService.registerClass('Web.Menu.MenuService',Sys.Net.WebServiceProxy);
Web.Menu.MenuService._staticInstance = new Web.Menu.MenuService();
Web.Menu.MenuService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Web.Menu.MenuService._staticInstance._path = value; }
Web.Menu.MenuService.get_path = function() { return Web.Menu.MenuService._staticInstance._path; }
Web.Menu.MenuService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
Web.Menu.MenuService._staticInstance._timeout = value; }
Web.Menu.MenuService.get_timeout = function() { 
return Web.Menu.MenuService._staticInstance._timeout; }
Web.Menu.MenuService.set_defaultUserContext = function(value) { 
Web.Menu.MenuService._staticInstance._userContext = value; }
Web.Menu.MenuService.get_defaultUserContext = function() { 
return Web.Menu.MenuService._staticInstance._userContext; }
Web.Menu.MenuService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Web.Menu.MenuService._staticInstance._succeeded = value; }
Web.Menu.MenuService.get_defaultSucceededCallback = function() { 
return Web.Menu.MenuService._staticInstance._succeeded; }
Web.Menu.MenuService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Web.Menu.MenuService._staticInstance._failed = value; }
Web.Menu.MenuService.get_defaultFailedCallback = function() { 
return Web.Menu.MenuService._staticInstance._failed; }
Web.Menu.MenuService.set_path("/Controls/Base/Menu/MenuService.asmx");
Web.Menu.MenuService.GetMenu= function(onSuccess,onFailed,userContext) {Web.Menu.MenuService._staticInstance.GetMenu(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('WebTemplate');
if (typeof(WebTemplate.CachedMenu) === 'undefined') {
WebTemplate.CachedMenu=gtc("WebTemplate.CachedMenu");
WebTemplate.CachedMenu.registerClass('WebTemplate.CachedMenu');
}
