/*onMouseボタン画像の読み込み*/
offButton=new Array();

/*下記2行をコピーして、通常のボタン画像とマウスがのったときのボタン画像を上から順番に記述して下さい。
ナンバーは必ず一番上を[0]から始め、[奇数]で終わるようにして下さい。
offButton[0]= new Image(); offButton[0].src = " (通常の画像名）.gif";
offButton[1]= new Image(); offButton[1].src = "（onMouse画像名）.gif";*/

offButton[0]= new Image(); offButton[0].src = "img/button1.gif";
offButton[1]= new Image(); offButton[1].src = "img/button1-c.gif";
offButton[2]= new Image(); offButton[2].src = "img/button2.gif";
offButton[3]= new Image(); offButton[3].src = "img/button2-c.gif";
offButton[4]= new Image(); offButton[4].src = "img/button3.gif";
offButton[5]= new Image(); offButton[5].src = "img/button3-c.gif";
offButton[6]= new Image(); offButton[6].src = "img/button4.gif";
offButton[7]= new Image(); offButton[7].src = "img/button4-c.gif";

function onmouseFn(name,number){
	name.src = offButton[number].src;
}

/*BODY内の画像タグ<IMG>内にNAME=ボタン名+数字、を入れて数字を"Button1"、"Button2"のように順番に振って下さい。
リンクタグ<A HREF>内にイベントのonMouseOut="onmouseFn()"とonMouseOver="onmouseFn()"を入れて下さい。
"onmouseFn()"の( )内は、(リンク画像のNAME,上記の画像ナンバー)、のように入れて下さい。
例/<A HREF="honbun1.html" TARGET="honbun" onMouseOut="onmouseFn(Button1,0)" onMouseOver="onmouseFn(Button1,1)">
<IMG SRC="（通常の画像名）.gif" name="Button1" BORDER=0></A>*/

/*月別キャンペーンの表示*/
kongetuObj=new Date();
var kongetuM=kongetuObj.getMonth();
kongetuM = kongetuM+3;
if(kongetuM >12){
	kongetuM = kongetuM-12;
}
var message=kongetuM+"月申込キャンペーン";

/*小ウインドウの表示*/
function hirakuFn(url){
	sakuhinWin = window.open(url,"","width=570,height=200");
}
function hiraku2Fn(url){
	sakuhinWin = window.open(url,"","width=640,height=480,scrollbars=yes,resizable=yes");
}
