jQuery(function($){
var attendance=$('.post-title');
var attendanceHtmlArray, attendanceThis;
attendance.each(function(){
attendanceThis=$(this);
attendanceHtmlArray=attendanceThis.html().split('<br>');
attendanceThis.empty();
$(attendanceHtmlArray).each(function(index){
attendanceThis.append(function(){
if(attendanceHtmlArray[index].indexOf('本日出勤　藤沢')!=-1){
return '<span class="fujisawa2">' + attendanceHtmlArray[index] + '</span>';
}else{
return attendanceHtmlArray[index] + '<br>';
}});
});
});
});
jQuery(function($){
var attendance=$('.attendance');
var attendanceHtmlArray, attendanceThis;
attendance.each(function(){
attendanceThis=$(this);
attendanceHtmlArray=attendanceThis.html().split('<br>');
attendanceThis.empty();
$(attendanceHtmlArray).each(function(index){
attendanceThis.append(function(){
if(attendanceHtmlArray[index].indexOf('藤沢')!=-1){
return '<span class="fujisawa">' + attendanceHtmlArray[index] + '</span>';
}else{
return attendanceHtmlArray[index] + '<br>';
}});
});
});
});