<%
  //增加一session，保存当前点中的页面地址
  String sCurrentPath = "";
  //String sClickPath = request.getServletPath();
  String sClickPath = SzModule.compClickPath(request.getServletPath(), request.getQueryString());
  //System.out.println(sClickPath);
  String sPath_str[][] = {
			{"xml/formEngine2/formIndex.jsp","tab_0","表单引擎"},
			{"xml/formEngine2/other/select3_index.jsp","tab_0","列表选择"},
			{"xml/formEngine2/select_index.jsp","tab_0","弹出选择"},
			{"xml/formEngine2/other/select2_index.jsp","tab_0","触发关联"},
			{"xml/formEngine2/append_index.jsp","tab_0","扩展方法"},
			{"xml/formEngine2/print/index.jsp","tab_0","打印配置"},
			   };
  int iLen_Path = sPath_str.length;
  //判断sCurrentPath是否在sPath_str里面
  for (int i_title =0; i_title<iLen_Path; i_title++) {
    if (sClickPath.indexOf(sPath_str[i_title][0]) >=0) {
      	sCurrentPath = sClickPath;
       session.setAttribute("SzCurrentPath", sCurrentPath);
      	break;
    }
  }
  sCurrentPath = (String)session.getAttribute("SzCurrentPath");

  for (int i_title =0; i_title<iLen_Path; i_title++) {
    if (sCurrentPath.indexOf(sPath_str[i_title][0]) >=0 ) {
	sPath_str[i_title][1] = "tab_1";
	
      	break;
    }
  }

%>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr class="main_title">
    <td>表单引擎高级版</td>
  </tr>
  <tr>
    <td height="35">  
      <table border=0 cellpadding=0 cellspacing=0 height="30">  
        <tr align="center"> 

             <td class="line_01"></td>
<%
  for (int i_title =0; i_title<iLen_Path; i_title++) {
%>
	      <td valign="bottom" class="<%=sPath_str[i_title][1]%>1"></td>  
	      <td class="<%=sPath_str[i_title][1]%>2" width="100"> 
	        <a href="<%=strLevel_SESSION%><%=sPath_str[i_title][0]%>"><%=sPath_str[i_title][2]%></a>
              </td>  
              <td valign="bottom" class="<%=sPath_str[i_title][1]%>3"></td>
<%
  }
%>
              <td class="line_02" width="100"></td>
              <td class="line_03"></td>
        </tr>  
      </table>  
    </td>  
  </tr>
</table>
