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="tsudanuma2">' + attendanceHtmlArray[index] + '</span>';
               }else if(attendanceHtmlArray[index].indexOf('本日出勤　船橋')!=-1){
                   return '<span class="funabashi2">' + attendanceHtmlArray[index] + '</span>';
               }else if(attendanceHtmlArray[index].indexOf('本日出勤　川口')!=-1){
                   return '<span class="kawaguchi2">' + 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="tsudanuma">' + attendanceHtmlArray[index] + '</span>';
               }else if(attendanceHtmlArray[index].indexOf('船橋')!=-1){
return '<span class="funabashi">' + attendanceHtmlArray[index] + '</span>';
}else if(attendanceHtmlArray[index].indexOf('川口')!=-1){
return '<span class="kawaguchi">' + attendanceHtmlArray[index] + '</span>';
}else{
return attendanceHtmlArray[index] + '<br>';
}});
});
});
});