                         }
                         else if (event.ctrlKey)
                         {
-                            removeSelectionIndicator(colIndex,rowIndex);
-                            removeRangeFromSelection(newDate,newDate);
+                            removeSelectionIndicator(colIndex, rowIndex);
+                            removeRangeFromSelection(newDate, newDate);
                         }
                     }
                     else
                     {
                             selectedRangeCount = 0;
-                            addSelectionIndicator(colIndex,rowIndex);
+                            addSelectionIndicator(colIndex, rowIndex);
                             addToSelected(newDate);
                             setSelectedIndicators();
                     }

				{
					var temp:Date = _selectedRanges[n].rangeEnd;
					
					_selectedRanges[n].rangeEnd = addSubtractDays(startDate, -1);
					
					_selectedRanges[selectedRangeCount] = {};
					_selectedRanges[selectedRangeCount].rangeStart =
						addSubtractDays(endDate, 1);
					_selectedRanges[selectedRangeCount].rangeEnd = temp;
					
					selectedRangeCount += 1;
				}
				else
				{
					_selectedRanges[n].rangeEnd = addSubtractDays(startDate, -1);
				}
			}
		}

			{
				if (endDate < rangeEnd)
				{
					_selectedRanges[n].rangeStart = endDate;
				}
				else
				{
