Po.dateByDay() : 日付関数
Po.dateByDay = function(date, type){
 var c = (new Date(date.replace(/(^\d{4})\s/, "$1/"))).getDay();
 var d = type ? ["日","月","火","水","木","金","土"] :
  ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];
 return '\x3cspan class="day' + (!c ? 0 : c > 5 ? 6 : 1) + '">(' + d[c] + ')\x3c/span>';
};