anchor.diff:      var arrayOfDays = processArrayWithDelimeters(plannedActivityDaysArray, ",")
       var rows = [];
           // input cells
  +    var allCells=[]
  +
  +    var emptyColumn = Builder.node('td', {id: 'alldayInput', className: 'allDayInput', name: 'allDayInput'});
  +    var emptyButton = Builder.node('a',  {id: 'emptyButton', href: '#', align: 'left' })
  +    emptyButton.innerHTML=''
  +    emptyColumn.appendChild(emptyButton)
  +    allCells.push(emptyColumn)
  +
  +    var allRowName = 'allRow'
  +    for (var i=0; i< arrayOfDays.length; i++) {
  +        var index = (i+1)*1;
  +        var name = 'grid[' + i + '].column(' + index + ').all.td'
  +        var allColumn = Builder.node('td', {id: name, className: 'allDayInput', name: name});
  +        var inputName1 = 'grid[' + index + '].all'
  +        var allButton = Builder.node('a',  {id: inputName1, href: '#', align: 'left' })
  +        allButton.innerHTML='All'
  +        allColumn.appendChild(allButton)
  +        allCells.push(allColumn)
  +    }
  +
  +
  +    var rowAll = Builder.node("tr", {className: allRowName}, [allCells])
  +    rows.push(rowAll)
  +
       for (var j=0; j < getRepetitionNumber(); j++) {
           var cells = []
  +        var allRowName1= 'allRow['+j+']'
  +        var allRow = Builder.node('td', {id: allRowName1, className: allRowName1});
  +        var allButton = Builder.node('a',  {id: 'all', href: '#', align: 'left' })
  +        allButton.innerHTML='All'
  +        allRow.appendChild(allButton)
  +        cells.push(allRow)
  +        
  +
           for (var i = 0; i < arrayOfDays.length; i++) {
               var value = arrayOfDays[i];
               var name = 'grid[' + j + '].column(' + (i+1) + ').td'
  
positive.code:     }
  }
  
  function executeSelectColumns(grid, arrayOfDays, columnStartPosition) {
      executeSelectNone(grid)
  //   NS comment Todo - why such complicated if?
  
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)
      }
  
  }
  
  