<!--#include file="CheckAdmin.Asp"-->
<!--#include file="Include/Version.Asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>易享客户管理系统 <%=Str_Soft_Version%></title>
<link href="DefaultTheme/index.css" type="text/css" rel="stylesheet" />
<link href="DefaultTheme/MasterPage.css" type="text/css" rel="stylesheet" />
<link href="DefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
<script language="javascript" src="JavaScript/jquery.js" type="text/javascript"></script>
<script language="javascript" src="JavaScript/Index.js" type="text/javascript"></script>
<script language="javascript" src="JavaScript/FrameTab.js" type="text/javascript"></script>
<script language="javascript" src="JavaScript/Admin.js" type="text/javascript"></script>

</head>

<body id="Indexbody" onLoad="onload();">
<script type="text/JavaScript">
function show(id){
    var obj;
    obj=document.getElementById('PopMenu_'+id);
    obj.style.visibility="visible";
}
function hide(id){
    var obj;
    obj=document.getElementById('PopMenu_'+id);
    obj.style.visibility="hidden";
}
function hideOthers(id){
    var divs;
    if(document.all)
    {
        divs = document.all.tags('DIV');
    }
    else
    {
        divs = document.getElementsByTagName("DIV");
    }
    for(var i = 0 ;i < divs.length;i++)
    {
        if(divs[i].id != 'PopMenu_'+id && divs[i].id.indexOf('PopMenu_')>=0)
        {
            divs[i].style.visibility="hidden";
        }
    }
}
function onload() {
    var width = document.body.clientWidth - 207;
    var lHeight = document.body.clientHeight - 78;
    var rHeight = lHeight - (jQuery("#FrameTabs").height() || 0);
    document.getElementById("main_right").style.width = width > 0 ? width : 0;
    document.getElementById("main_right").style.height = rHeight > 0 ? rHeight : 0;
    document.getElementById("left").style.height = lHeight > 0 ? lHeight : 0;
    jQuery("#FrameTabs").width(width);
    if (CheckFramesScroll) {
        CheckFramesScroll();
    }
}
window.onresize = onload;
function InitSideBarState() {
    var existentSideBarCookie = getCookie("SideBarCookie");
    var SideBarKey = document.getElementById("left").src.substring(document.getElementById("left").src.lastIndexOf('/') + 1, document.getElementById("left").src.lastIndexOf('.'));
    if (existentSideBarCookie.length != 0 && SideBarKey.length != 0 && existentSideBarCookie.indexOf(SideBarKey) != -1) {
        var arrKV = existentSideBarCookie.split("&");
        for (var v in arrKV) {
            if (arrKV[v].indexOf(SideBarKey) != -1) {
                var currentValue = arrKV[v].split("=");
                ChangeSideBarState(currentValue[1]);
            }
        }
    }
    else {
        var obj = document.getElementById("switchPoint");
        obj.alt = "关闭左栏";
        obj.src = "DefaultTheme/Images/butClose.gif";
        document.getElementById("frmTitle").style.display = "block";
        onload();
    }
}
function ChangeSideBarState(temp) {
    var obj = document.getElementById("switchPoint");
    if (temp == "none") {
        obj.alt = "打开左栏";
        obj.src = "DefaultTheme/Images/butOpen.gif";
        document.getElementById("frmTitle").style.display = "none";
        var width, height;
        width = document.body.clientWidth - 12;
        height = document.body.clientHeight - 70;
        document.getElementById("main_right").style.height = height;
        document.getElementById("main_right").style.width = width;
        document.getElementById("FrameTabs").style.width = width;
        if (CheckFramesScroll) {
            CheckFramesScroll();
        }
    }
    else {
        obj.alt = "关闭左栏";
        obj.src = "DefaultTheme/Images/butClose.gif";
        document.getElementById("frmTitle").style.display = "block";
        onload();
    }
}
function killErrors() {
    return true;
}
window.onerror = killErrors;
</script>
  <table border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td colspan="3"><div id="content">
          <ul id="ChannelMenuItems">
            <li id="MenuMyDeskTop" onClick="ShowHideLayer('ChannelMenu_MenuMyDeskTop')"><a href="javascript:" id="AChannelMenu_MenuMyDeskTop" onClick="ShowMain('Index_Left.Asp?ID=System','')"><span id="SpanChannelMenu_MenuMyDeskTop">个人设置</span></a></li>
            <li id="Kehu" onClick="ShowHideLayer('ChannelMenu_Kehu')"><a href="javascript:" id="AChannelMenu_Kehu" onClick="ShowMain('Index_Left.Asp?ID=Kehu','')"><span id="SpanChannelMenu_Kehu">客户</span></a></li>
			
            <!--<li id="chances" onClick="ShowHideLayer('ChannelMenu_chances')"><a href="javascript:" id="AChannelMenu_chances" onClick="ShowMain('Index_Left.Asp?ID=chances','')"><span id="SpanChannelMenu_chances">业务机会</span></a></li>-->
            <li id="Tasks" onClick="ShowHideLayer('ChannelMenu_Tasks')"><a href="javascript:" id="AChannelMenu_Tasks" onClick="ShowMain('Index_Left.Asp?ID=Tasks','')"><span id="SpanChannelMenu_Tasks">日常工作</span></a></li>
            <!--<li id="Talent" onClick="ShowHideLayer('ChannelMenu_Talent')"><a href="javascript:" id="AChannelMenu_Talent" onClick="ShowMain('Index_Left.Asp?ID=Talent','')"><span id="SpanChannelMenu_Talent">行政</span></a></li>-->
            <li id="News" onClick="ShowHideLayer('ChannelMenu_News')"><a href="javascript:" id="AChannelMenu_News" onClick="ShowMain('Index_Left.Asp?ID=News','')"><span id="SpanChannelMenu_News">新闻资讯</span></a></li>
			<li id="Extension" onClick="ShowHideLayer('ChannelMenu_Extension')"><a href="javascript:" id="AChannelMenu_Extension" onClick="ShowMain('Index_Left.Asp?ID=Extension','')"><span id="SpanChannelMenu_Extension">报表</span></a></li>
            
            <li id="User" onClick="ShowHideLayer('ChannelMenu_User')"><a href="javascript:" id="AChannelMenu_User" onClick="ShowMain('Index_Left.Asp?ID=User','')"><span id="SpanChannelMenu_User">员工档案</span></a></li>
            <li id="Config" onClick="ShowHideLayer('ChannelMenu_Config')"><a href="javascript:" id="AChannelMenu_Config" onClick="ShowMain('Index_Left.Asp?ID=Config','')"><span id="SpanChannelMenu_Config">配置</span></a></li>
			<li id="Security" onClick="ShowHideLayer('ChannelMenu_Security')"><a href="javascript:" id="AChannelMenu_Security" onClick="ShowMain('Index_Left.Asp?ID=Security','')"><span id="SpanChannelMenu_Security">安全</span></a></li>
          </ul>
          <div id="SubMenu">
            <div id="ChannelMenu_" style="width: 100%; display: none;">
              <ul>
              </ul>
            </div>
            <div id="ChannelMenu_MenuMyDeskTop" style="width: 100%;">
              <ul>
                <li>当前用户：<%=session("UserName")%></li>
                <li><a href="javascript:ShowMain('','SysCome.Asp?Act=ClsCache')">清除系统缓存</a></li>
              </ul>
            </div>
            <div id="ChannelMenu_Kehu" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
			
            <div id="ChannelMenu_chances" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
            <div id="ChannelMenu_Tasks" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
            <div id="ChannelMenu_Talent" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
            <div id="ChannelMenu_News" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
			<div id="ChannelMenu_Extension" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
            <div id="ChannelMenu_User" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
            <div id="ChannelMenu_Config" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
			<div id="ChannelMenu_Security" style="width: 100%; display: none;">
              <ul>
                <!--<li></li>-->
              </ul>
            </div>
          </div>
          <div id="Announce"><a href="/"><img src="DefaultTheme/Images/Home.gif" width="37" height="14" border="0" alt="系统首页" /></a> <a href="SysCome.Asp" target="main_right"><img src="DefaultTheme/Images/Help.gif" width="37" height="14" border="0" alt="技术支持" /></a> <a href="javascript:AdminOut()"><img src="DefaultTheme/Images/Exit.gif" width="37" height="14" border="0" alt="安全退出" /></a></div>
        </div></td>
    </tr>
    <tr style="vertical-align: top;">
      <td id="frmTitle"><iframe tabid="1" frameborder="0" id="left" name="left" scrolling="auto" src="Index_Left.Asp" style="width: 195px; height: 800px; visibility: inherit; z-index: 2;"></iframe></td>
      <td onClick="switchSysBar();" class="but"><img id="switchPoint" src="DefaultTheme/images/butClose.gif" alt="关闭左栏" style="border: 0px; width: 12px;" /></td>
      <td>
        <div id="FrameTabs" style="overflow: hidden;"></div>
        <div id="main_right_frame">
          <iframe tabid="1" frameborder="0" id="main_right" name="main_right" scrolling="yes" src="SysCome.Asp" onload="SetTabTitle(this)" style="width: 1280px; height: 800px; visibility: inherit; z-index: 2; overflow-x: hidden;"></iframe>
          <div class="clearbox2" />
        </div></td>
    </tr>
  </table>
</body>
</html>