anchor.diff:      }
   }
   
  +function selectTheColumn(columnNumber, grid, elt) {
  +    elt.observe('click', function() {
  +        executeSelectNone(grid)
  +        for (var k=0; k<grid.length; k++) {
  +            $(grid[k]).select('td[name*=.column('+(columnNumber+1)*1+').td]').each(function(input){
  +                var inputTag = $(input).select('input[name*=input]')[0]
  +                if (inputTag.className.toString().indexOf("checked") >= 0) {
  +                    inputTag.removeClassName('unchecked')
  +                    inputTag.addClassName('checked')
  +                }
  +            })
  +        }
  +    })
  +}
  +
  +function executeSelectRow(rowNumber, grid, elt){
  +    elt.observe('click', function() {
  +        $(grid[rowNumber+1]).select('input[name*=input]').each(function(input){
  +            if (input.className.toString().indexOf("checked") >= 0) {
  +                input.removeClassName('unchecked')
  +                input.addClassName('checked')
  +            }
  +        })
  +    })
  +}
  +
   function executeSelectColumns(grid, arrayOfDays, columnStartPosition) {
       executeSelectNone(grid)
   //   NS comment Todo - why such complicated if?
  
positive.code:     var arrayOfDays = processArrayWithDelimeters(plannedActivityDaysArray, ",")
      var rows = [];
          // input cells
      for (var j=0; j < getRepetitionNumber(); j++) {
          var cells = []
          for (var i = 0; i < arrayOfDays.length; i++) {
              var value = arrayOfDays[i];
              var name = 'grid[' + j + '].column(' + (i+1) + ').td'
  
negative.code:     $('lightbox').update(this.content)
      LB.Lightbox.activate()
  
      //these two for loops for "all"-buttons for rows and columns
      for (var i=0; i< arrayOfDays.length; i++) {
          var elt = $(rowAll).childNodes[i+1];
          selectTheColumn(i, rows, elt)
      }    
  
      for (var i=0; i< getRepetitionNumber(); i++) {
          var name = 'allRow['+i+']'
          var elt = $(name).childNodes[0]
          executeSelectRow(i, rows, elt)
      }
  
  }
  
  