<%@ page language="C#" autoeventwireup="true" inherits="general_Communicate_SelectUsers, CrmCommand" %>

<%@ Register Assembly="SControls" Namespace="SControls" TagPrefix="yyc" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<base  target=_self></base>
    <title>选择部门</title>
    <script>
     function selDept()
     {
            var objForm = document.forms["form1"];
    var objLen = objForm.length;
    for (var iCount = 0; iCount < objLen; iCount++)
    {
		if (objForm.elements[iCount].type == "checkbox")
		{
		     //if((objForm.elements[iCount].name.indexOf("chkExport")>-1))
		    // if((objForm.elements[iCount].name.indexOf(chkName)>-1))
		    // {
		        if(objForm.elements[iCount].checked)
		        {
		      
			         alert(objForm.elements[iCount].value);
			    }
	
			// }
		}
		
    }
     }
    </script>
</head>
<body class="panel" >
    <form id="form1" runat="server">
     <TABLE align=center  class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
					<TR><td>
   <yyc:smarttreeview  id="SmartTreeView1" runat="server"  width="186px"  AllowCascadeCheckbox="True">
    <NodeStyle   CssClass="treenode"  Height=30px  />
   
   </yyc:smarttreeview></td></TR>
 
   <tr><td align=center   ><asp:Button ID="BtnSel" class="BigButton" runat="server" Text="选择人员" OnClick="BtnSel_Click" />
     </td> </tr> </TABLE> 
    </form>
</body>
</html>

