<%@ Page language="c#" Codebehind="RoleSet.aspx.cs" AutoEventWireup="false" validateRequest="false" Inherits="TourOnline.BgManage.Sys.RoleSet" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>zd_hy</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<style type="text/css">A { TEXT-DECORATION: none }
		</style>
		<link href='../Admin_Style.css' rel='stylesheet' type='text/css'>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<script>
		var flag=false;    
        function SelectAll(m,n,s)
        {
            
            //m,大项初始值
            //n,小项初始值
            //s,小项数目
            var ChkId="_ctl"+m;
            flag=document.getElementById(ChkId).checked;
            if(flag)
            {                
                for(i=0;i<s;i++)
                {
                    var CheckId="_ctl" + n+"_"+i;
                    //alert(CheckId);
                    document.getElementById(CheckId).checked=true;
                    //alert(document.getElementById(CheckId))
                }
                flag = false;
                
            }
            else
            {
                for(i=0;i<s;i++)
                {
                    var CheckId="_ctl" + n+"_"+i;
                    
                    document.getElementById(CheckId).checked=false;
                    //alert(document.getElementById(CheckId))
                }
                flag = true;
            }
        }
        function BackSelect(m,n,s)
        {
            var ChkId="_ctl"+m;
            for(i=0;i<s;i++)
                {
                    
                    var CheckId="_ctl" + n+"_"+i;
                    
                    if(document.getElementById(CheckId).checked)
                    {
                        document.getElementById(ChkId).checked = true;
                        return;
                    }
                }
            for(i=0;i<s;i++)
                {
                    var CheckId="_ctl" + n+"_"+i;
                    if(!document.getElementById(CheckId).checked)
                    {
                        document.getElementById(ChkId).checked = false;
                    }
                }
            
        }
			</script>
			<TABLE id="Table2" cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR class='topbg'>
					<TD align="center" height="22"><FONT style="FONT-WEIGHT: bold" face="宋体">角色与权限管理--设置权限--<asp:label id="lblRoleName" runat="server"></asp:label></FONT>
					</TD>
				</TR>
				<tr>
					<td>
						<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="1" runat="server">
						</TABLE>
					</td>
				</tr>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
				<TR>
					<TD class="TableLine2" align="center" colSpan="2">
						<asp:Button id="btn_add" runat="server" Text="保 存" CssClass="button" Width="50px"></asp:Button><FONT face="宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						</FONT>
						<asp:Button id="btn_cancle" Width="50" runat="server" Text="返回" CssClass="button"></asp:Button></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
