var HtmlManager=function() {
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
HtmlManager.prototype={
GenerateBanner:Sys.Net._WebMethod._createProxyMethod(this,"GenerateBanner", "HtmlManager.GenerateBanner",false,"padre","tipo"),
GenerateMenu:Sys.Net._WebMethod._createProxyMethod(this,"GenerateMenu", "HtmlManager.GenerateMenu",false,"id","tipo"),
GenerateADirecto:Sys.Net._WebMethod._createProxyMethod(this,"GenerateADirecto", "HtmlManager.GenerateADirecto",false),
GetHTMLSource:Sys.Net._WebMethod._createProxyMethod(this,"GetHTMLSource", "HtmlManager.GetHTMLSource",false,"intURLId"),
GenerateAgenda:Sys.Net._WebMethod._createProxyMethod(this,"GenerateAgenda", "HtmlManager.GenerateAgenda",false,"id","tipo"),
GetHTMLMapa:Sys.Net._WebMethod._createProxyMethod(this,"GetHTMLMapa", "HtmlManager.GetHTMLMapa",false),
GetContenido:Sys.Net._WebMethod._createProxyMethod(this,"GetContenido", "HtmlManager.GetContenido",false,"intCodigo"),
SaveContenido:Sys.Net._WebMethod._createProxyMethod(this,"SaveContenido", "HtmlManager.SaveContenido",false,"intCodigo","strCadena","strtitulo","strCabecera"),
SaveContenidoAut:Sys.Net._WebMethod._createProxyMethod(this,"SaveContenidoAut", "HtmlManager.SaveContenidoAut",false,"intCodigo","strCadena","strtitulo","strCabecera","strVisible"),
Publicar:Sys.Net._WebMethod._createProxyMethod(this,"Publicar", "HtmlManager.Publicar",false,"intCodigo"),
BuildLink:Sys.Net._WebMethod._createProxyMethod(this,"BuildLink", "HtmlManager.BuildLink",false,"strTitulo"),
BuildLinkFile:Sys.Net._WebMethod._createProxyMethod(this,"BuildLinkFile", "HtmlManager.BuildLinkFile",false,"strFile"),
GenerarNodo:Sys.Net._WebMethod._createProxyMethod(this,"GenerarNodo", "HtmlManager.GenerarNodo",false,"intPadre","strTitulo","strTipo","strCertifica","intTipoConId"),_get_path: function() { return HtmlManager.get_path(); },
    set_timeout: function(value) { this._timeout = value; },
    get_timeout: function() { return this._timeout; },
    set_defaultUserContext: function(value) { this._userContext = value; },
    get_defaultUserContext: function() { return this._userContext; },
    set_defaultSucceededCallback: function(value) { this._succeeded = value; },
    get_defaultSucceededCallback: function() { return this._succeeded; },
    set_defaultFailedCallback: function(value) { this._failed = value; },
    get_defaultFailedCallback: function() { return this._failed; }
}
HtmlManager._staticInstance = new HtmlManager();
HtmlManager.set_path = function(value) { HtmlManager._staticInstance._path = value; }
HtmlManager.get_path = function() { return HtmlManager._staticInstance._path; }
HtmlManager.set_timeout = function(value) { HtmlManager._staticInstance._timeout = value; }
HtmlManager.get_timeout = function() { return HtmlManager._staticInstance._timeout; }
HtmlManager.set_defaultUserContext = function(value) { HtmlManager._staticInstance._userContext = value; }
HtmlManager.get_defaultUserContext = function() { return HtmlManager._staticInstance._userContext; }
HtmlManager.set_defaultSucceededCallback = function(value) { HtmlManager._staticInstance._succeeded = value; }
HtmlManager.get_defaultSucceededCallback = function() { return HtmlManager._staticInstance._succeeded; }
HtmlManager.set_defaultFailedCallback = function(value) { HtmlManager._staticInstance._failed = value; }
HtmlManager.get_defaultFailedCallback = function() { return HtmlManager._staticInstance._failed; }
HtmlManager.set_path("/HtmlManager.asmx");
HtmlManager.GenerateBanner= function(padre,tipo,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GenerateBanner(padre,tipo,onSuccess,onFailed,userContext); }
HtmlManager.GenerateMenu= function(id,tipo,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GenerateMenu(id,tipo,onSuccess,onFailed,userContext); }
HtmlManager.GenerateADirecto= function(onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GenerateADirecto(onSuccess,onFailed,userContext); }
HtmlManager.GetHTMLSource= function(intURLId,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GetHTMLSource(intURLId,onSuccess,onFailed,userContext); }
HtmlManager.GenerateAgenda= function(id,tipo,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GenerateAgenda(id,tipo,onSuccess,onFailed,userContext); }
HtmlManager.GetHTMLMapa= function(onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GetHTMLMapa(onSuccess,onFailed,userContext); }
HtmlManager.GetContenido= function(intCodigo,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GetContenido(intCodigo,onSuccess,onFailed,userContext); }
HtmlManager.SaveContenido= function(intCodigo,strCadena,strtitulo,strCabecera,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.SaveContenido(intCodigo,strCadena,strtitulo,strCabecera,onSuccess,onFailed,userContext); }
HtmlManager.SaveContenidoAut= function(intCodigo,strCadena,strtitulo,strCabecera,strVisible,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.SaveContenidoAut(intCodigo,strCadena,strtitulo,strCabecera,strVisible,onSuccess,onFailed,userContext); }
HtmlManager.Publicar= function(intCodigo,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.Publicar(intCodigo,onSuccess,onFailed,userContext); }
HtmlManager.BuildLink= function(strTitulo,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.BuildLink(strTitulo,onSuccess,onFailed,userContext); }
HtmlManager.BuildLinkFile= function(strFile,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.BuildLinkFile(strFile,onSuccess,onFailed,userContext); }
HtmlManager.GenerarNodo= function(intPadre,strTitulo,strTipo,strCertifica,intTipoConId,onSuccess,onFailed,userContext) {HtmlManager._staticInstance.GenerarNodo(intPadre,strTitulo,strTipo,strCertifica,intTipoConId,onSuccess,onFailed,userContext); }
