<%@ page language="java" import="java.util.*,com.gaowj.business.SystemOpeBusiness,com.gaowj.business.comp.BusinessManager" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<jsp:include flush="true" page="error.jsp"/>
<html>
  <head>

  <title></title>
  <!--[imcss] *** Infinite Menus Core CSS: Keep this section in the document head for full validation. -->
<style type="text/css">.imcm ul,.imcm li,.imcm div,.imcm span,.imcm a{text-align:left;vertical-align:top;padding:0px;margin:0;list-style:none outside none;border-style:none;background-image:none;clear:none;float:none;display:block;position:static;overflow:visible;line-height:normal;}.imcm li a img{display:inline;border-width:0px;}.imcm span{display:inline;}.imcm .imclear,.imclear{clear:both;height:0px;visibility:hidden;line-height:0px;font-size:1px;}.imcm .imsc{position:relative;}.imcm .imsubc{position:absolute;visibility:hidden;}.imcm li{list-style:none;font-size:1px;float:left;}.imcm ul ul li{width:100%;float:none !important;}.imcm a{display:block;position:relative;}.imcm ul .imsc,.imcm ul .imsubc {z-index:10;}.imcm ul ul .imsc,.imcm ul ul .imsubc{z-index:20;}.imcm ul ul ul .imsc,.imcm ul ul ul .imsubc{z-index:30;}.imde ul li:hover .imsubc{visibility:visible;}.imde ul ul li:hover  .imsubc{visibility:visible;}.imde ul ul ul li:hover  .imsubc{visibility:visible;}.imde li:hover ul  .imsubc{visibility:hidden;}.imde li:hover ul ul .imsubc{visibility:hidden;}.imde li:hover ul ul ul  .imsubc{visibility:hidden;}.imcm .imea{display:block;position:relative;left:0px;font-size:1px;line-height:1px;height:0px;width:1px;float:right;}.imcm .imea span{display:block;position:relative;font-size:1px;line-height:0px;}.dvs,.dvm{border-width:0px}/*\*//*/.imcm .imea{visibility:hidden;}/**/</style><!--[if IE]><style type="text/css">.imcm .imea span{position:absolute;}.imcm .imclear,.imclear{display:none;}.imcm{zoom:1;} .imcm li{curosr:hand;} .imcm ul{zoom:1}.imcm a{zoom:1;}</style><![endif]--><!--[if gte IE 7]><style type="text/css">.imcm .imsubc{background-image:url(ie_css_fix);}</style><![endif]--><!--end-->

<!--[imstyles] *** Infinite Menu Styles: Keep this section in the document head for full validation. -->
<style type="text/css">
    
   

	/* --[[ Main Expand Icons ]]-- */
	#imenus0 .imeam span,#imenus0 .imeamj span {background-image:url(../../../image/menu_img/light_arrow_right.gif); width:6px; height:9px; left:-6px; top:5px; background-repeat:no-repeat;background-position:top left;}
	#imenus0 li:hover .imeam span,#imenus0 li a.iactive .imeamj span {background-image:url(../../../image/menu_img/light_arrow_right.gif); background-repeat:no-repeat;background-position:top left;}


	/* --[[ Sub Expand Icons ]]-- */
	#imenus0 ul .imeas span,#imenus0 ul .imeasj span {background-image:url(../../../image/menu_img/medium_purple_right.gif); width:6px; height:9px; left:-6px; top:3px; background-repeat:no-repeat;background-position:top left;}
	#imenus0 ul li:hover .imeas span,#imenus0 ul li a.iactive .imeasj span {background-image:url(../../../image/menu_img/medium_purple_right.gif); background-repeat:no-repeat;background-position:top left;}


	/* --[[ Main Container ]]-- */
	#imouter0 {border-style:none; border-color:#6a6a6a; border-width:1px; padding:0px; margin:0px; }


	/* --[[ Sub Container ]]-- */
	#imenus0 li ul {background-color:#ffffff; border-style:solid; border-color:#333333; border-width:1px; padding:5px; margin:4px 0px 0px; }


	/* --[[ Main Items ]]-- */
	#imenus0 li a, #imenus0 .imctitle {height:20px; background-color:#336699; color:#dddddd; text-align:left; font-family:Arial; font-size:12px; font-weight:normal; text-decoration:none; border-style:none; border-color:#ffffff; border-width:1px; padding:2px 8px; margin:0px 0px 2px; }

		/* [hover] - These settings must be duplicated for IE compatibility.*/
		#imenus0 li:hover>a {text-decoration:underline; }
		#imenus0 li a.ihover, .imde imenus0 a:hover {text-decoration:underline; }

		/* [active] */
		#imenus0 li a.iactive {}


	/* --[[ Sub Items ]]-- */
	#imenus0 ul a, #imenus0 .imsubc li .imctitle  {height:auto; background-color:transparent; color:#555555; text-align:left; font-size:11px; font-weight:normal; text-decoration:none; border-style:none; border-color:#000000; border-width:1px; padding:2px 5px; margin:0px; }

		/* [hover] - These settings must be duplicated for IE comptatibility.*/
		#imenus0 ul li:hover>a {color:#000000; text-decoration:underline; }
		#imenus0 ul li a.ihover {color:#000000; text-decoration:underline; }

		/* [active] */
		#imenus0 ul li a.iactive {background-color:#ffffff; }


</style><!--end-->
<style type="text/css">
  body{
     background-image:url(<%=request.getContextPath() %>/image/image/background1.png);
     padding: 0;
	margin: 0;
	margin-top:3px;
	margin-bottom:3px; 
	/*background: #B4B4B4;*/
     FONT: small/1.5em "宋体","Times New Roman","Arial";
     font-size: 9pt;
}
</style>
<base target="main"/>
<script type="text/javascript">
  document.getElementById("g_password").style.display='';
</script>
</head>
  <body>







<!--|**START IMENUS**|imenus0,inline-->

<!--  ****** Infinite Menus Structure & Links ***** -->
<div class="imrcmain0 imgl" style="width:149px;z-index:999999;position:relative;"><div class="imcm imde" id="imouter0"><ul id="imenus0">
<%
          try{
	      Map<String,Object> u1 = (Map<String, Object>) request.getSession().getAttribute("userInfo");
	      
	      String qx=(String)u1.get("QUANXIAN");
	      String menu1=request.getParameter("menu1");
	      SystemOpeBusiness systemOpeBusiness = BusinessManager.getBusiness(SystemOpeBusiness.class);
	      if(menu1==null){
	       menu1="2009001";
	      }
	      List<Map<String,Object>> listL1=systemOpeBusiness.getLeftMenu1(qx,menu1);
	      int menu2id=1;
	      for(Map<String,Object> mapl:listL1){
	       String module1=(String)mapl.get("M_MENU");
            String m2id="m2"+String.valueOf(menu2id++);
                         
        %>
<li class="imatm"  style="width:100%;"><a class="" href="#"><span class="imea imeam"><span></span></span><%=module1 %></a>
	<div class="imsc"><div class="imsubc" style="width:145px;top:-30px;left:159px;"><div class="imunder"></div><div></div><ul style="">
	<%
			           List<Map<String,Object>> listL2=systemOpeBusiness.getLeftMenu2(qx,menu1,module1);
			           for(Map<String,Object> mapl2:listL2){
			          %>
			          <li><a id="menu2current" href="../../../<%=(String)mapl2.get("WINDOWNAME_WEB") %>" onclick="parent.frames['opeW'].document.getElementById('ls_state2').innerHTML='<%=(String)mapl2.get("M_NAME") %>';" title="<%=(String)mapl2.get("M_TITLE") %>" onmouseover="parent.frames['opeW'].document.getElementById('ls_state2').innerHTML='<%=(String)mapl2.get("M_NAME") %>';"><%=(String)mapl2.get("M_NAME") %></a></li>
                     <%
                     }
                     //} %>
	
	</ul></div></div></li>

<%
              }
              }catch(Exception e){
               response.getWriter().println("<script>window.top.location='"+request.getContextPath()+"/login';</script>");
               
              }
             %>



</ul>
<div class="imclear">&nbsp;</div></div></div>



<!--|**END IMENUS**|-->







  

<!--[imcode]*** Infinite Menus Settings / Code - This script reference must appear last. ***

      *Note: This script is required for scripted add on support and IE 6 sub menu functionality.
      *Note: This menu will fully function in all CSS2 browsers with the script removed.-->
</body>
<script language="JavaScript" src="../../../image/js/ocscript1.js" type="text/javascript"></script>
</html>

