kikan = 3;      // 日数を変更する場合はこの値を適当に
icon = "<img src='http://freund.jp/images/new.gif' alt='New!'>";  // 適宜、サイズやalt属性を指定
today = new Date();
upday = new Date();
function koushin(y, m, d) {
   upday.setFullYear(y);
   m = m - 1;
   upday.setMonth(m);
   upday.setDate(d);
   difference = today.getTime() - upday.getTime();
   difference = Math.floor(difference / (1000 * 60 * 60 * 24));
   if (difference < kikan) {
      document.write(icon);
   }
}

kikan1 = 3;      // 日数を変更する場合はこの値を適当に
icon = "<img src='http://freund.jp/images/new.gif' alt='New!'>";  // 適宜、サイズやalt属性を指定
today = new Date();
upday = new Date();
function koushin1(y, m, d) {
   upday.setFullYear(y);
   m = m - 1;
   upday.setMonth(m);
   upday.setDate(d);
   difference = today.getTime() - upday.getTime();
   difference = Math.floor(difference / (1000 * 60 * 60 * 24));
   if (difference < kikan1) {
      document.write(icon);
   }
}

kikan2 = 3;      // 日数を変更する場合はこの値を適当に
icon = "<img src='http://freund.jp/images/new.gif' alt='New!'>";  // 適宜、サイズやalt属性を指定
today = new Date();
upday = new Date();
function koushin2(y, m, d) {
   upday.setFullYear(y);
   m = m - 1;
   upday.setMonth(m);
   upday.setDate(d);
   difference = today.getTime() - upday.getTime();
   difference = Math.floor(difference / (1000 * 60 * 60 * 24));
   if (difference < kikan2) {
      document.write(icon);
   }
}

kikan3 = 3;      // 日数を変更する場合はこの値を適当に
icon = "<img src='http://freund.jp/images/new.gif' alt='New!'>";  // 適宜、サイズやalt属性を指定
today = new Date();
upday = new Date();
function koushin3(y, m, d) {
   upday.setFullYear(y);
   m = m - 1;
   upday.setMonth(m);
   upday.setDate(d);
   difference = today.getTime() - upday.getTime();
   difference = Math.floor(difference / (1000 * 60 * 60 * 24));
   if (difference < kikan3) {
      document.write(icon);
   }
}

kikan4 = 3;      // 日数を変更する場合はこの値を適当に
icon = "<img src='http://freund.jp/images/new.gif' alt='New!'>";  // 適宜、サイズやalt属性を指定
today = new Date();
upday = new Date();
function koushin4(y, m, d) {
   upday.setFullYear(y);
   m = m - 1;
   upday.setMonth(m);
   upday.setDate(d);
   difference = today.getTime() - upday.getTime();
   difference = Math.floor(difference / (1000 * 60 * 60 * 24));
   if (difference < kikan4) {
      document.write(icon);
   }
}

kikan5 = 3;      // 日数を変更する場合はこの値を適当に
icon = "<img src='http://freund.jp/images/new.gif' alt='New!'>";  // 適宜、サイズやalt属性を指定
today = new Date();
upday = new Date();
function koushin5(y, m, d) {
   upday.setFullYear(y);
   m = m - 1;
   upday.setMonth(m);
   upday.setDate(d);
   difference = today.getTime() - upday.getTime();
   difference = Math.floor(difference / (1000 * 60 * 60 * 24));
   if (difference < kikan5) {
      document.write(icon);
   }
}

