﻿
<!--
$(document).ready(
  function(){
    $(".alpha img").hover(function(){
       $(this).fadeTo("normal", 0.75); // マウスオーバーで透明度を60%にする
    },function(){
       $(this).fadeTo("normal", 1.0); // マウスアウトで透明度を100%に戻す
    });
  });




kikan = 7;      // 日数を変更する場合はこの値を適当に
icon = "<img src='/img/main/icon_new01.gif'>";  // 適宜、サイズやalt属性を指定
icon2 = "<img src='/img/main/icon_new01.gif'>";
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);
   }
   else{
document.write(icon2);
   }
}
//-->




