anchor.diff:  <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
   <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
   <%@ taglib prefix="sched" tagdir="/WEB-INF/tags/schedule" %>
  +
  +<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  +<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  +
  +<tags:escapedUrl var="collectionResource" value="api~v1~scheduling~subject~${subject.gridId}~partial"/>
  +
   <html>
   <head>
       <title>Comprehensive Subject Schedule</title>
  
positive.code:     </div>
  </laf:box>
  <laf:box autopad="true" title="Scheduled activities" id="scheduled-activities-box">
  
      <%--TODO - move css to display.jsp, make accordion fit in the box--%>
      <div id="accordion" class="myaccordion">
        <div class="accordionDiv">
          <h3><a class="accordionA" href="#">Legend </a></h3>
        </div>
        <div><sched:legend/> </div>
        <div class="accordionDiv">
          <h3><a class="accordionA" href="#">Delay or Advance</a></h3>
        </div>
        <div>slsdfskflsdfj </div>
        <div class="accordionDiv">
          <h3><a class="accordionA" href="#">Mark</a></h3>
        </div>
  
negative.code:             jQuery("#accordion").accordion();
          });
  
      function createDelayAdvanceForm(state) {
          var shiftOption = $('delayAdvanceSelector').value
          return Object.extend({
              "reason": $('reason').value,
              "toDate": shiftOption*$('toDate').value,
              "currentDate": $(document.getElementById('currentDate')).value,
              "state" : state
          })
      }
  
      function postDelayAdvance(arrayOfActivities, state) {
          SC.asyncRequest('${collectionResource}'+ arrayOfActivities, Object.extend({
              method: 'POST',
              parameters: createDelayAdvanceForm(state)
          }))
      }
  
      function executeDelayAdvancePost() {
          var arrayOfActivities='~';
          <c:forEach items="${schedule.days}" var="day">
              <c:if test="${not day['empty']}">
                  <c:if test="${not empty day.activities}">
                      <c:forEach items="${day.activities}" var="sa">
                          arrayOfActivities = arrayOfActivities+${sa.id}+';';
                      </c:forEach>
                  </c:if>
              </c:if>
          </c:forEach>
          postDelayAdvance(arrayOfActivities, 'scheduled')
      }
      </script>
  
  </head>
  