Type.registerNamespace('wiredsolutions.ca.Services');
wiredsolutions.ca.Services.TopNav=function() {
wiredsolutions.ca.Services.TopNav.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wiredsolutions.ca.Services.TopNav.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wiredsolutions.ca.Services.TopNav._staticInstance.get_path();},
GetSubs:function(parentID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSubs',false,{parentID:parentID},succeededCallback,failedCallback,userContext); },
GetMenu:function(menuID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMenu',false,{menuID:menuID},succeededCallback,failedCallback,userContext); }}
wiredsolutions.ca.Services.TopNav.registerClass('wiredsolutions.ca.Services.TopNav',Sys.Net.WebServiceProxy);
wiredsolutions.ca.Services.TopNav._staticInstance = new wiredsolutions.ca.Services.TopNav();
wiredsolutions.ca.Services.TopNav.set_path = function(value) { wiredsolutions.ca.Services.TopNav._staticInstance.set_path(value); }
wiredsolutions.ca.Services.TopNav.get_path = function() { return wiredsolutions.ca.Services.TopNav._staticInstance.get_path(); }
wiredsolutions.ca.Services.TopNav.set_timeout = function(value) { wiredsolutions.ca.Services.TopNav._staticInstance.set_timeout(value); }
wiredsolutions.ca.Services.TopNav.get_timeout = function() { return wiredsolutions.ca.Services.TopNav._staticInstance.get_timeout(); }
wiredsolutions.ca.Services.TopNav.set_defaultUserContext = function(value) { wiredsolutions.ca.Services.TopNav._staticInstance.set_defaultUserContext(value); }
wiredsolutions.ca.Services.TopNav.get_defaultUserContext = function() { return wiredsolutions.ca.Services.TopNav._staticInstance.get_defaultUserContext(); }
wiredsolutions.ca.Services.TopNav.set_defaultSucceededCallback = function(value) { wiredsolutions.ca.Services.TopNav._staticInstance.set_defaultSucceededCallback(value); }
wiredsolutions.ca.Services.TopNav.get_defaultSucceededCallback = function() { return wiredsolutions.ca.Services.TopNav._staticInstance.get_defaultSucceededCallback(); }
wiredsolutions.ca.Services.TopNav.set_defaultFailedCallback = function(value) { wiredsolutions.ca.Services.TopNav._staticInstance.set_defaultFailedCallback(value); }
wiredsolutions.ca.Services.TopNav.get_defaultFailedCallback = function() { return wiredsolutions.ca.Services.TopNav._staticInstance.get_defaultFailedCallback(); }
wiredsolutions.ca.Services.TopNav.set_path("/Services/TopNav.asmx");
wiredsolutions.ca.Services.TopNav.GetSubs= function(parentID,onSuccess,onFailed,userContext) {wiredsolutions.ca.Services.TopNav._staticInstance.GetSubs(parentID,onSuccess,onFailed,userContext); }
wiredsolutions.ca.Services.TopNav.GetMenu= function(menuID,onSuccess,onFailed,userContext) {wiredsolutions.ca.Services.TopNav._staticInstance.GetMenu(menuID,onSuccess,onFailed,userContext); }
