anchor.diff:  skipped = 0
   %>
   
  -<% 
  -counter = 1
  +<% #TODO: move rowspan calculation to helper
  +# rowspans = Array; each entry corresponds to an event;
  +# each entry is number of rows spanned by today_tomorrow_weekday entry, if any, to left of event
  +# entry will be > 0 for first event of day, 0 for other events
   rowspans = Array.new(events.size, 0)
  +first_event_of_day = 0
  +events_this_day = 1
   
   events.each_with_index do |event, index|
  -	new_day = previous_start_time.nil? || previous_start_time && previous_start_time.to_date != event.start_time.to_date
  +  new_day = previous_start_time.nil? || (previous_start_time.to_date != event.start_time.to_date)
   
  -	if new_day
  -		rowspans[index-counter] = counter
  -		counter = 1
  -	else
  -		counter += 1
  -	end
  -	previous_start_time = event.start_time
  -end 
  +  if new_day
  +    first_event_of_day = index
  +    events_this_day = 1
  +  end
  +
  +  previous_start_time = event.start_time
  +  rowspans[first_event_of_day] = events_this_day
  +  events_this_day += 1
  +end
   %>
  +
   <table class='event_table'>
   	<thead>
   		<tr>
  
positive.code: 				</tr>
  				<% previous_start_time = event.start_time %>
  			<% end %>
  		<% else %>		
  			<tr>
  				<td colspan=2>No events were found.</td>
  			</tr>
  
negative.code: 	<tbody>
  		<% unless events.size==0 %>
  			<% events.each_with_index do |event, index| %>
  				<% new_day = previous_start_time.nil? || previous_start_time.to_date != event.start_time.to_date %>
  				<tr class='vevent'>
  					<% if rowspans[index] > 0 %>
  					<td class='date' rowspan="<%=rowspans[index]%>">
  