anchor.diff:                <legend>Ends at <c:if test="requiresStartEndDate"><span class="required">*</span></c:if></legend>
                 <%= showAttribute(request, "estimatedCloseDateError") %>
                 <input type="text" name="estimatedCloseDate" id="<portlet:namespace/>estimatedCloseDate" class="inputDate" value="${estimatedCloseDate}" />
  -              <a href="javascript:popCalendar('<portlet:namespace/>inputForm', 'estimatedCloseDate', '${user.locale.language}', '${user.locale.country}');"><img src="<%= ctx %>/images/icons/stock_form-date-field-16.gif" border="0" align="absmiddle"></a>
  +              <a href="javascript:popCalendar('inputForm', 'estimatedCloseDate', '${user.locale.language}', '${user.locale.country}');"><img src="<%= ctx %>/images/icons/stock_form-date-field-16.gif" border="0" align="absmiddle"></a>
                 <ccp:label name="projectsAddProject.at">at</ccp:label>
                 <ccp:timeSelect baseName="estimatedCloseDate" value="${project.estimatedCloseDate}" timeZone="${user.timeZone}"/>
                 <ccp:tz timestamp="<%= new Timestamp(System.currentTimeMillis()) %>" pattern="z"/>
  
positive.code:     <c:choose>
        <c:when test="<%= allowedCategoryList.size() <= 3 %>">
          var val = 0;
          for( i = 0; i < document.<portlet:namespace/>inputForm.categoryId.length ; i++ ){
            if(document.<portlet:namespace/>inputForm.categoryId[i].checked)
              val = document.<portlet:namespace/>inputForm.categoryId[i].value;
          }
          YAHOO.util.Connect.asyncRequest('GET',"<%= pageContext.getAttribute("urlSubCategories") %>&__rp<%=PortalUtils.getDashboardPortlet((PortletRequest)request).getWindowConfigId()%>_category=" + val + "&out=text", callbacks);
        </c:when>
        <c:otherwise>
          YAHOO.util.Connect.asyncRequest('GET','<%= pageContext.getAttribute("urlSubCategories") %>&__rp<%=PortalUtils.getDashboardPortlet((PortletRequest)request).getWindowConfigId()%>_category=' + document.<portlet:namespace/>inputForm.categoryId.value + '&out=text', callbacks);
        </c:otherwise>
      </c:choose>
    });
  
negative.code:     return true;
    }
    //focus
    YAHOO.util.Event.onDOMReady(function() { document.inputForm.title.focus();} );
    <c:choose>
  	  <c:when test="<%= allowedCategoryList.size() <= 3 %>">
  	  	var eventName = 'click';
  