anchor.diff:                </li>
               </c:when>
               <c:otherwise>
  +              <%-- open li --%>
                 <li
                   <c:choose>
                     <c:when test="${count == 0}">class="first ${fn:replace(tabArray[1], ".", "")}"</c:when>
                     <c:otherwise>class="${fn:replace(tabArray[1], ".", "")}"</c:otherwise>
                   </c:choose>
  +        >
  +        <%-- close li --%>
                   <div>
                   <a href="/${WEB_PROPERTIES['webapp.path']}/${tab}.do?subtab=${tabArray[2]}">
                     <fmt:message key="${tabArray[1]}"/>
  
positive.code:   <c:set var="loggedin" value="${PROFILE.loggedIn}"/>
  
    <!-- Submenu section -->
    <c:set var="itemList" value="bag:lists.upload.tab.title:upload:0 bag:lists.view.tab.title:view:0 api:api.perl.tab.title:perl:0 api:api.java.tab.title:java:0 mymine:mymine.bags.tab.title:lists:0 mymine:mymine.history.tab.title:history:0 mymine:mymine.savedqueries.tab.title:saved:1 mymine:mymine.savedtemplates.tab.title:templates:1 mymine:mymine.password.tab.title:password:1" />
    <fmt:message key="${pageName}.tab" var="tab" />
    <c:choose>
      <c:when test="${tab == 'mymine'}">
  
negative.code:           <c:if test="${tabArray[0] == tab}">
            <c:choose>
              <c:when test="${((empty subtabs[subtabName] && count == 0)||(subtabs[subtabName] == tabArray[2])) && (tab == pageName)}">
                <%-- open li element --%>
          <li id="subactive_${tab}"
                  <c:choose>
                    <c:when test="${count == 0}">class="first ${fn:replace(tabArray[1], ".", "")}"</c:when>
                    <c:otherwise>class="${fn:replace(tabArray[1], ".", "")}"</c:otherwise>
                  </c:choose>
                > <%-- Close li element --%>
                  <div><span><fmt:message key="${tabArray[1]}" /></span></div>
                </li>
              </c:when>
              <c:when test="${(tabArray[3] == '1') && (loggedin == false)}">
                <%-- open li --%>
                <li
                  <c:choose>
                    <c:when test="${count == 0}">class="first ${fn:replace(tabArray[1], ".", "")}"</c:when>
                    <c:otherwise>class="${fn:replace(tabArray[1], ".", "")}"</c:otherwise>
                  </c:choose>
          >
          <%-- close li --%>
          <div>
                  <span onclick="alert('You need to log in'); return false;">
                    <fmt:message key="${tabArray[1]}"/>
                  </span>
  