<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeBehind="CompanyShow.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.Admin.User.CompanyShow" Title="显示企业信息" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr align="center">
            <td id="TabTitle0" class="titlemouseover" onclick="ShowTabs(0)">
                单位信息</td>
            <td id="TabTitle1" class="tabtitle" onclick="ShowTabs(1)">
                单位成员</td>
            <td>&nbsp;</td>
        </tr>
    </table>
    <table width="100%" border="0" cellpadding="5" cellspacing="1" class="border">
        <tbody id="Tabs0">
            <tr class="tdbg">
                <td>
                    <pec:CompanyInfo ID="CompanyInfo1" runat="server" />
                </td>
            </tr>
        </tbody>
        <tbody id="Tabs1" style="display: none">
            <tr class="tdbg">
                <td>
                    <pec:CompanyMemberManage ID="CompanyMemberManage1" runat="server" />
                </td>
            </tr>
        </tbody>
    </table>
    <p style="text-align:center;">
        <asp:Button ID="BtnReturn" Text="返回" runat="server" CausesValidation="False" 
            onclick="BtnReturn_Click" />
    </p>
    <script language="javascript" type="text/javascript">
      function ShowTabs(ID){
           for (i=0;i< 2;i++){
                if(i == ID){
                    document.getElementById("TabTitle" + i).className="titlemouseover";
                    document.getElementById("Tabs" + i).style.display="";
                }
                else{
                    document.getElementById("TabTitle" + i).className="tabtitle";
                    document.getElementById("Tabs" + i).style.display="none";
                }
           }
      } 
    </script>
 </asp:Content>
