// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function toggleRow(rowId) {
  $('row' + String(rowId)).toggleClassName('friend');
}

function showSpinner(rowId) {
  $('img' + String(rowId)).src = "/images/spinner.gif";
}