anchor.diff:  <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
   <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
   <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  -<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
  -<%@taglib prefix="commons" uri="http://bioinformatics.northwestern.edu/taglibs/commons"%>
  +<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
  +<%@taglib prefix="commons" uri="http://bioinformatics.northwestern.edu/taglibs/commons" %>
   <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
   <%@ taglib prefix="laf" uri="http://gforge.nci.nih.gov/projects/ctmscommons/taglibs/laf" %>
  -<%@taglib prefix="templ" tagdir="/WEB-INF/tags/template"%>
  +<%@taglib prefix="templ" tagdir="/WEB-INF/tags/template" %>
   <html>
   <head>
   <title>Set up ${period.displayName} of ${studySegment.qualifiedName} in ${study.name}</title>
   <tags:includeScriptaculous/>
   <tags:stylesheetLink name="main"/>
   <script type="text/javascript">
  +
  +
  +addEvent(window, 'load', init, false);
  +function init() {
  +    var formInputs = document.getElementsByTagName('input');
  +    for (var i = 0; i < formInputs.length; i++) {
  +        var theInput = formInputs[i];
  +
  +        if (theInput.type == 'text' && theInput.className.match(/\bcleardefault\b/)) {
  +            /* Add event handlers */
  +            addEvent(theInput, 'focus', clearDefaultText, false);
  +            addEvent(theInput, 'blur', replaceDefaultText, false);
  +
  +            /* Save the current value */
  +            if (theInput.value != '') {
  +                theInput.defaultText = theInput.value;
  +                theInput.style.color = 'gray';
  +                theInput.style.fontStyle = 'italic';
  +
  +            }
  +            theInput.style.backgroundColor = '#CCE6FF';
  +
  +        }
  +
  +
  +    }
  +
  +}
  +function addEvent(element, eventType, lamdaFunction, useCapture) {
  +    if (element.addEventListener) {
  +        element.addEventListener(eventType, lamdaFunction, useCapture);
  +        return true;
  +    } else if (element.attachEvent) {
  +        var r = element.attachEvent('on' + eventType, lamdaFunction);
  +        return r;
  +    } else {
  +        return false;
  +    }
  +}
  +
  +function clearDefaultText(e) {
  +    var target = window.event ? window.event.srcElement : e ? e.target : null;
  +    if (!target) return;
  +
  +    if (target.value == target.defaultText) {
  +        target.value = '';
  +        target.style.backgroundColor = '#CCE6FF';
  +        target.style.fontStyle = 'normal';
  +
  +    }
  +
  +}
  +
  +function replaceDefaultText(e) {
  +    var target = window.event ? window.event.srcElement : e ? e.target : null;
  +    if (!target) return;
  +
  +    if (target.value == '' && target.defaultText) {
  +        target.value = target.defaultText;
  +        target.style.color = 'gray';
  +        target.style.fontStyle = 'italic';
  +
  +
  +    }
  +    target.style.backgroundColor = '#CCE6FF';
  +
  +}
  +
  +
   function currentActivityCount() {
       return $$('.input-row').length;
   }
  +
   
   function selectedActivity() {
       return selectedValue('add-activity')
  
positive.code: }
  
  function resetActivityType() {
      $('activity-type-filter').options[0].selected=true;
  }
  
  function createAutocompleter() {
  
negative.code:         method: 'get',
          paramName: 'searchText',
          callback: addAdditionalParameters,
          afterUpdateElement:updateActivity
      });
  }
  
  