anchor.diff:              <h3><a class="accordionA" href="#">Legend </a></h3>
           </div>
           <div><sched:legend/> </div>
  -
  +     <c:if test="${not schedulePreview}">
             <%--************ Delay Or Advance Portion**********--%>
           <div class="accordionDiv">
               <h3><a class="accordionA" href="#">Delay or Advance</a></h3>
  
positive.code:             padding:0;
          }
  
  study
      </style>
  
      <script type="text/javascript">
  
negative.code:         <div class="card">
              <markTag:population/>
          </div>
       </c:if>
       <c:if test="${schedulePreview}">
          <div class="accordionDiv" id="accordianHeader-5">
          <h3><a class="accordionA" href="#">Reschedule Preview</a></h3>
          </div>
          <div class="schedulePreview">
              <div class="previewRow">
                  <label class="label">Start date</label>
                  <input id="previewStartDate" size="10" class="date"/>
                  <a href="#" id="previewStartDate-calbutton">
                      <img src="<laf:imageUrl name='chrome/b-calendar.gif'/>" alt="Calendar" width="17" height="16" border="0"/>
                  </a>
              </div>
              <div class="previewRow">
                  <select id="studySegmentPreviewSelector" class="studySegmentPreviewSelector">
                      <c:forEach items="${study.plannedCalendar.epochs}" var="epoch">
                          <c:forEach items="${epoch.studySegments}" var="studySegment">
                              <option value="${studySegment.gridId}_${epoch.name}:${studySegment.name}_${studySegment.lengthInDays}">${epoch.name}:${studySegment.name}</option>
                          </c:forEach>
                      </c:forEach>
                  </select>
              </div>
              <div class="previewRow">
                  <input id="addToSelectedStudySegments" class = "control" type="button"
                                 name="addToSelectedStudySegments" value="Add" />
                   <input id="removeSelectedStudySegments" class = "control" type="button" value="Remove"/>
              </div>
              <div class="previewRow">
                  <select class="selectedStudySegments" id="selectedStudySegments" size="5" style="width:100%"></select>
              </div>
              <div class="previewRow">
                  <input id="generateSchedulePreview" class = "control" type="button"
                                 name="generateSchedulePreview" value="Schedule Preview"/>
              </div>
          </div>
       </c:if>
       </div>
  
      <%--<sched:legend/>--%>
      <form id="batch-form" style="font-weight:normal;">
  