def outputRow (sid, type) 

  $sumSheet.add_row [ sid, type, "1", "2", "3", "4", "5" ], :style => $black_cell 

  if sid.odd?
    link = "A#{$curRow}" 
    puts "outputRow: sid: #{sid}, link: #{link}" 
    # Setting the style for the link will apply the xf that we created in the Main Program block
    $sumSheet[link].style = $blue_link
    $sumSheet.add_hyperlink :location => "'Log'!A#{$curRow}", :target => :sheet, :ref => link 
  end
  $curRow += 1 
end
##############################
Function to output results data row to summary spreadsheet