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:     <link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
      <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"></script>
  
       <style type="text/css">
           .myaccordion {
              position: absolute;
  
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>
  