function calc_age_spots(tablename) { for (id in spots) { var age = '0'; age = calc_age( spots[id] ); if ( age.length == 1 ) return; // $('table#' + tablename + ' tr.spot#' + id + ' span.age').empty().append( // '(' + i18n_str["ago"].replace(/\@\@\@/g, age) + ')' // ); $('table#' + tablename + ' tr#' + id + '.spot td.utc span').attr( { title: i18n_str["ago"].replace(/\@\@\@/g, age) } ); } }