<%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
<%@ include file="/common/taglibs.jsp"%>
<link rel="stylesheet" type="text/css" media="all" href='<c:url value="/css/default.css"/>' />
<link rel="stylesheet" type="text/css" media="all" href='<c:url value="/css/index.css"/>' />
<script language="javascript">
	function gotoIframe(str){
		form.id.value=str
		//alert(str+"&strback="+form.strback.value );
		form.submit();
	}
</script>
<!-- administrative license service center (行政许可服务中心) start -->
<form action="/news/column.html" name="form" target="_blank">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="15"></td>
          <td width="10"><a href='<c:url value="/news/column.html"><c:param name="id" value="9" /></c:url>' target="_parent"><img src="images/xzxk_01.gif" width="18" height="213" border=0></a></td>
          <td>
<!--控制行政许可中心栏目层 start -->
		  <table width="343" height="23" border="0" cellpadding="0" cellspacing="0" align=center>
              <tr> 
<xunuo:set columnid="wsbgid" var="xnList" number="4" sort="false"/>
<c:forEach var="xn" items="${xnList}" varStatus="status">
<!--如果没有id，则默认第一个子栏目为id-->
<c:if test="${banshiId == null || banshiId == ''}">
<c:if test="${status.index == 0}" >
	<c:set var="banshiId" value="${xn.id}" />
</c:if>
</c:if>
                <td width="72" align="center" id='back<c:out value="${xn.id}" />' class='back<c:if test="${xn.id == banshiId}" >Current</c:if>' ><c:if test="${status.index != 1}"><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/searchBorwser.html" ><c:param name="method" value="searchBrowser" /><c:param name="id" value="${xn.id}" /></c:url>' class="fontBold  fontBlue"></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}"></c:url>' target="_parent"  class="fontBold  fontBlue"></c:if><xunuo:out value="${xn.name}" /></a></c:if><c:if test="${status.index == 1}"><b><xunuo:out value="${xn.name}" /></b></c:if></td>
                <td width="6">&nbsp;</td>
</c:forEach>
              </tr>
            </table>
<!--控制行政许可中心栏目层 end -->
<!--行政许可中心栏目下面子栏目内容 start -->
            <div> 
              <table width="98%" height="190" border="0" cellpadding="0" cellspacing="0" background="images/xzxk_back.gif">
			  <tr>
				<td height="10"></td>
			  </tr>
<!--分浏览者中第一二个 个人、企业办事 start -->
<xunuo:set var="xnList" sessionid="${banshiId}" sort="false" number="100"/>
<!--判断是否有分浏览者 start-->
<c:forEach var="xn" items="${xnList}" varStatus="status">
	<c:forEach var="xn1" items="${browserList}" begin="0" end="1">
		<c:if test="${xn.mansort == xn1.id}"><c:set var="hasBrowser" value="true"/></c:if>
	</c:forEach>
</c:forEach>
<!--如果分浏览者-->
<c:if test="${hasBrowser}">
	<c:forEach var="browser" items="${browserList}" begin="0" end="1">
                <tr> 
                  <td align="center" valign="top"><a href="#" class="fontPowder"><c:out value="${browser.browser}" /></a><br><img src="images/xzxk_02.gif" width="43" height="45"></td>
				  <td>
				  <td valign=top>
                    <table width="94%" height="70" border="0" cellpadding="0" cellspacing="0">
		<c:set var="index" value="0"/>
		<c:forEach var="xn" items="${xnList}" varStatus="status">
		<c:if test="${browser.id == xn.mansort && (index < 15) }" >
			<c:if test="${index == 0 || (ifEnd)}" >
			<c:set var="ifEnd" value="false" />
		      <tr> 
			</c:if>
                        <td align="center" width="20%"><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>' target="_parent" class="" ></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />' class=""></c:if><xunuo:out value="${xn.name}" counts="8"/></td>
			<c:if test="${index !=0 && (index+1) % 5 ==0}" >
			<c:set var="ifEnd" value="true" />
					</tr>
			</c:if>
		<c:set var="index" value="${index+1}" />
		</c:if><!--end if browser.id == xn.mansort-->
		</c:forEach><!--end forEach xn-->
			 <c:if test="${(index+1) % 5 != 0}" >
			 <c:set var="leaveTd" value="${5-((index+1) % 5)}" />
				<c:forEach begin="0" end="${leaveTd}">
	                <td  width="20%"></td> 
				</c:forEach>
			 </c:if>
                      <tr> 
                        <td align="right" height="100%"></td>
                        <td align="right"></td>
                        <td align="right"></td>
                        <td colspan="2" align="right" valign="bottom"><a href='<c:url value="/news/column.html" ><c:param name="id" value="${bsznid.id}" /></c:url>' target="_blank"><img src="images/more.gif" width="50" height="7" border=0></a></td>
                      </tr>
                    </table></td>
                </tr>
	</c:forEach><!--end c:forEach browser-->
</c:if><!--end if hasBrowser-->

<c:if test="${!hasBrowser}">
                <tr> 
				  <td>
				  <td valign=top>
                    <table width="94%" height="70" border="0" cellpadding="0" cellspacing="0">
		<c:set var="index" value="0"/>
		<c:forEach var="xn" items="${xnList}" varStatus="status">

			<c:if test="${index == 0 || (ifEnd)}" >
			<c:set var="ifEnd" value="false" />
					<tr> 
			</c:if>
                        <td align="right" width="20%"><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>' class="" ></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />' class=""></c:if><xunuo:out value="${xn.name}" counts="8"/></td>
			<c:if test="${index !=0 && (index+1) % 5 ==0}" >
			<c:set var="ifEnd" value="true" />
					</tr>

		<c:set var="index" value="${index+1}" />
		</c:if>
		</c:forEach><!--end forEach xn-->
			 <c:if test="${(index+1) % 5 != 0}" >
			 <c:set var="leaveTd" value="${5-((index+1) % 5)}" />
				<c:forEach begin="0" end="${leaveTd}">
	                <td  width="20%"></td> 
				</c:forEach>
			 </c:if>
                      <tr> 
                        <td align="right" height="100%"></td>
                        <td align="right"></td>
                        <td align="right"></td>
                        <td colspan="2" align="right" valign="bottom"><a href='<c:url value="/news/column.html" ><c:param name="id" value="${bsznid.id}" /></c:url>' target="_blank"><img src="images/more.gif" width="50" height="7" border=0></a></td>
                      </tr>
                    </table></td>
                </tr>

</c:if><!--end if hasBrowser-->
<!--个人、企业办事 end -->
              </table>
            </div>
<!--行政许可中心栏目下面子栏目内容 start -->
			</td>
        </tr>
        <tr> 
          <td height="13"></td>
          <td height="13"></td>
          <td></td>
        </tr>
      </table>
<!-- administrative license service center (行政许可服务中心) end -->
</form>