anchor.diff:              disableEnableElementsOfDiv1(true)
               disableEnableElementsOfDiv2(true)
           })
  -
  -
   
       </script>
   </head>
  
positive.code:             padding-left:33%;
              padding-right:33%;
              float:left;
          }
  
      </style>
  
negative.code:            var date_of_birth = oRecord.getData('date_of_birth')
             var date_of_birth_str = date_of_birth.split(' ')
             elCell.innerHTML = elCell.innerHTML + psc.tools.Dates.utcToDisplayDate(psc.tools.Dates.apiDateToUtc(date_of_birth_str[0]));
         };
  
  
          // Define a custom format function
          function getCellInfo(elCell, oRecord, oColumn, oData) {
              var container = jQuery('<div class="day"/>');
              var list = container.append('<ul class="myUl"/>')
              var text = "";
              var assignments = oRecord.getData('assignments'),
                  assignment = undefined,
                  i = 0;
  
              for(i = 0; i < assignments.length; ++i) {
                  var listItem = jQuery('<li class="myLi" />');
  
                  assignment = assignments[i];
                  var site = assignment.site;
                  var study = assignment.study;
                  var start_date_str = assignment.start_date.split(' ');
                  var start_date = psc.tools.Dates.utcToDisplayDate(psc.tools.Dates.apiDateToUtc(start_date_str[0]));
  
                  text = "Subject is already enrolled to site '" + site + "' and study '" + study + "' as of start date '" + start_date +"'"
                  var end_date_str = assignment.end_date;
                  if (end_date_str != null && end_date_str.length> 0) {
                      end_date_str = end_date_str.split(' ');
                      var end_date = psc.tools.Dates.utcToDisplayDate(psc.tools.Dates.apiDateToUtc(end_date_str[0]));
                      text = text + " and till the end date '" + end_date + "'"
                  }
                  listItem.text(text)
                  list.append(listItem);
              }
  
              jQuery(elCell).append(container);
  
              var hidden = oRecord.getData('hidden_assignments');
              if (oRecord.getData('hidden_assignments')){
  
                  text = text + '<br>' +"- Note: There are one or more studies the subject belongs to and to which you don't have access."
                  elCell.innerHTML = elCell.innerHTML + text + '<br>'
              }
  
              var showMoreLink = jQuery('<a />').attr('href', '#').text('Hide').click(function () {
                     container.remove();
                     return false;
                 });
                 container.append(showMoreLink);
          };
  
  
  