anchor.diff: -<jsp:useBean id="subject" type="edu.northwestern.bioinformatics.studycalendar.domain.Subject" scope="request"/>
  -<jsp:useBean id="schedule" type="edu.northwestern.bioinformatics.studycalendar.web.subject.SubjectCentricSchedule" scope="request"/>
   <%@taglib prefix="laf" tagdir="/WEB-INF/tags/laf"%>
   <%@taglib prefix="tags" tagdir="/WEB-INF/tags" %>
   <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  
positive.code:     <link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
  
      <tags:stylesheetLink name="main"/>
      <tags:javascriptLink name="scheduled-activity"/>
      <tags:javascriptLink name="scheduled-activity-batch-modes"/>
      <tags:javascriptLink name="resig-templates" />
  
       <style type="text/css">
          .myaccordion {
              position: absolute;
  
negative.code:             var paramsInXML = '<next-scheduled-study-segment study-segment-id="'+studySegmentId+ '" start-date="'+date+ '" mode="'+ immediateOrPerProtocol.toLowerCase() +'" start-day="5"/>'
              return paramsInXML;
          }
          <c:if test="${schedulePreview}">
              Event.observe(window, 'load', function() {
                  SC.SP.generateIntialSchedulePreview('${previewResource}')
                  Event.observe('generateSchedulePreview', 'click', function(){
                      SC.SP.generateSchedulePreview('${previewResource}')
                  })
                  Event.observe('addToSelectedStudySegments', 'click', SC.SP.selectStudySegmentsForPreview)
                  Event.observe('removeSelectedStudySegments', 'click', SC.SP.removeFromSelectedStudySegments)
                  })
          </c:if>
      </script>
  
  </head>
  