var Controls_PageSubRole = { RemoveSubRoleFromPage:function(id,callback,context){return new ajax_request(this.url + '?_method=RemoveSubRoleFromPage&_session=no','id=' + enc(id),callback, context);}, SaveSubRole:function(url,subId,otherName,otherType,user,callback,context){return new ajax_request(this.url + '?_method=SaveSubRole&_session=no','url=' + enc(url)+ '\r\nsubId=' + enc(subId)+ '\r\notherName=' + enc(otherName)+ '\r\notherType=' + enc(otherType)+ '\r\nuser=' + enc(user),callback, context);}, GetSubRoles:function(url,callback,context){return new ajax_request(this.url + '?_method=GetSubRoles&_session=no','url=' + enc(url),callback, context);}, url:'/csharpwrapper/Controls_PageSubRole,App_Web_4wdqv-9d.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i