var sectionpriv={del:function(a,b){$.getJSON("?app=system&controller=section_priv&action=delete&sectionid="+a+"&userid="+b,function(c){c.state?$("#row_"+b).remove():ct.error(c.error)})},add_submit:function(a){if(a.state){$('input[name="username"]').val("");sectionpriv.add(a.sectionid,a.userid,a.username,a.rolename)}else ct.error(a.error)},add:function(a,b,c,d){a='<tr id="row_'+b+'">\t\t\t\t\t    <td><a href="javascript: url.member('+b+');">'+c+"</a></td>\t\t\t\t\t    <td>"+d+'</td>\t\t\t\t\t    <td class="t_c"><img src="images/delete.gif" alt="\u5220\u9664" width="16" height="16" class="hand" onclick="sectionpriv.del('+
a+", "+b+')"/></td>\t\t\t\t\t</tr>';$("#list_body_priv").append(a)}};
