<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="Web.navigation.dc.admin.main" %>

<%@ Register src="../../../share/foot.ascx" tagname="foot" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
  <title>  <asp:Literal ID ="lstitle" runat ="server" /></title>
  <link href="../../../css/admincss/skin.css" rel="stylesheet" type="text/css"/>

</head>
<body>
        <table cellpadding="0" cellspacing="0" style ="width :100%; height :100%">
            <tr>
                <td colspan="3" style ="height :64px; width :100% ; font-size :20px ; color :#ffffff; padding :0px; margin :0px">
                <iframe id="Iframe1" src ="../../../share/head.aspx" style ="width:100%; height :64px; padding :0px; margin :0px"></iframe>  
                </td>
            </tr>
            <tr>
                <td style ="width :160px; height :100%" id ="frmtitle" ><iframe id="boardtitle" src ="left.aspx" style ="width:160px; height :100%"></iframe>                  </td>
                <td style=" width:10px" title ="关闭/打开左栏" >
                 <table style ="width :11px; height :100%" cellpadding =0 cellspacing =0>
                <tr>
                <td>
                <img id= "menuimg"  onmouseover="javascript: menuonmouseover();" style="CURSOR: hand; height :76px; width :11px; border:0" onclick=javascript:switchSysBar() onmouseout="javascript: menuonmouseout();"  alt="隐藏左栏"  src="../../../css/images/close_off.gif"  />                </td>
                </tr>
                </table></td>
                <td style ="width :100%"><iframe  name  = "mainframe" src ="../../../dc/admin/login_desk.aspx" style ="width:100%; height :100%"></iframe>   </td>
            </tr>
              <tr>
            <td colspan="3" style ="height :12px; width :100%; font-size:12px"  >
                <uc1:foot ID="foot1" runat="server" />
            </td>
            </tr>
            </table>
    
    <SCRIPT language=JavaScript>

        var parent_objname = location.search.substring(1, location.search.length);  // parent editor objname
        if (parent_objname != "") {
            top.mainframe.location.href = parent_objname;
        }
        function about() {
            window.showModalDialog('about.asp', '', 'help=no;dialogWidth=510px;dialogHeight=210px;status:no;scroll=no;');
        }

        function switchSysBar() {
            if (document.all("frmtitle").style.display == "none") {
                document.all("frmtitle").style.display = ""
                menuimg.src = "../../../css/images/close.gif";
                menuimg.alt = "隐藏左栏"
            }
            else {
                document.all("frmtitle").style.display = "none"
                menuimg.src = "../../../css/images/open.gif";
                menuimg.alt = "开启左栏"
            }
        }

        function menuonmouseover() {

            if (document.all("frmtitle").style.display == "none") {
                menuimg.src = "../../../css/images/open_on.gif";
            }
            else {
                menuimg.src = "../../../css/images/close_on.gif";
            }
        }
        function menuonmouseout() {
            if (document.all("frmtitle").style.display == "none") {
                menuimg.src = "../../../css/images/open.gif";
            }
            else {
                menuimg.src = "../../../css/images/close.gif";
            }
        }
</SCRIPT>
         
</body>
</html>
