<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="Web.navigation.kh.show.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/cssmain.css" rel="stylesheet" type="text/css"/>
</head>
<body>

        <table cellpadding="0" cellspacing="0" style ="width :100%; height :100%">
            <tr>
                  <td colspan="3" style ="height :115px; width :100% ; font-size :20px ; color :#ffffff;">
                <iframe id="Iframe1" src ="../../../share/defaulthead.aspx" style ="width:100%; height :115px;padding :0px 0px 0px 0px ; margin :0px 0px 0px 0px" frameborder="0"></iframe>  
                </td>
            </tr>
            <tr>
            <td style =" text-align :center ">
                 <table cellpadding ="0" cellspacing ="0"  style =" width :100% ; height :100% ; margin-left :auto ; margin-right :auto " >
                 <tr>
                <td  id ="frmtitle" ><iframe id="boardtitle" src ="left.aspx" 
                        style ="width:202px; height :100%;padding :0px 0px 0px 0px ; margin :0px 0px 0px 0px" 
                        frameborder="0"></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 ="../../../kh/show/desk.aspx" style ="width:100%; height :100%; " frameborder="0"></iframe>  
                 </td></tr></table>
              </td>
            </tr>
              <tr>
            <td colspan="3" style ="height :30px; width :100%; font-size:12px"  >
              <div id="footer"><div id="footer-a">  <uc1:foot ID="foot1" runat="server" /></div> </div> 
            </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>