<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list1.aspx.cs" Inherits="health.list1" %>
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    		<style type="text/css"> <!-- a:link {text-decoration: none; color: #003366;}
			a:visited { text-decoration: none; color: #003366;}
			a:hover { text-decoration: underline;}
			a:active { text-decoration: none; color: #000000;}
			td { font-size: 12px;}
			body { scrollbar-arrow-color:3366CC; scrollbar-3dlight-color:3366CC; scrollbar-highlight-color:3366CC; scrollbar-face-color:0252B1; scrollbar-darkshadow-color:3366CC; scrollbar-shadow-color:3366CC; scrollbar-track-color:3366CC; overflow:hidden; }
			.Menu_Title {font-size: 14px; color: #FFFFFF; text-decoration: none;}
			.STYLE2 {color: #FF0000}
		--></style>

</head>
<body bgcolor="#2A83BD" topmargin=0 leftmargin=0>
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="0" height="100%" width="100%" bgcolor="#2A83BD">
            <tr height="25px" style="color:Black">
                <td >
                    &nbsp;&nbsp;&nbsp;欢迎您,<%=s_name%><%=s_sex%></td>
            </tr>
            <tr >
                <td>
                <iewc:treeview id="tvmenu" runat="server" backcolor="#C2D6E9" borderstyle="None" borderwidth="1px"
                        height="100%"  selectexpands="True"  target="main" onclick="selectNode()" Width="100%" ></iewc:treeview>
                </td>
            </tr>
        </table>

    </form>
    <script language=javascript>
    		function selectNode()   
			{   
				if (document.all.item("tvmenu") != null)
				{
				if(document.all.item("tvmenu").clickedNodeIndex!=null)   
					{   
					var tmpNode = document.all.item("tvmenu").getTreeNode(document.all.item("tvmenu").clickedNodeIndex);   
					var nodeType = tmpNode.getAttribute("NodeData");   
					window.open("Navigation.aspx?id="+nodeType,"NaviGation");
					//window.parent.frames.NaviGation.document.getElementById("Label2").value="bbb";
					//var ss=window.parent.NaviGation.document.getElementById("Label2").innerText;
					}   
				}   
			}   

    </script>
</body>
</html>
