function init() {
	kill = new Function("return false");
//	document.onmousedown = document.onselectstart = document.oncontextmenu = kill;
	for ( i = 0; i < document.images.length; i ++ ) {
		document.images[i].onmousedown = document.images[i].onmousemove = kill;
	}
}
window.onload = init;

function fwLoadMenus() {
  window.fw_menu_0 = new Menu("root",208,19,"Osaka, MS UI Gothic",12,"#666666","#ffffff","#edf4f7","#8db1e3");
  fw_menu_0.addMenuItem("健康機能寝具","location='product/health/index.html'");
  fw_menu_0.addMenuItem("ベビー用寝具","location='product/baby/index.html'");
  fw_menu_0.addMenuItem("デザイナーズブランド","location='product/d_brand/index.html'");
  fw_menu_0.addMenuItem("キャラクターブランド","location='product/c_brand/index.html'");
  fw_menu_0.addMenuItem("ハウスブランド","location='product/p_brand/index.html'");
  fw_menu_0.addMenuItem("こだわりの逸品","location='product/kodawari/index.html'");
  fw_menu_0.addMenuItem("GOLD OF THE ANDES","window.open('product/gold_andes/index.html', '_blank');");
  fw_menu_0.addMenuItem("快眠リラクゼーション枕のススメ","location='product/pillow/index.html'");
  fw_menu_0.addMenuItem("オーダーメイド枕・敷きふとん","location='product/pillow/order/index.html'");
  fw_menu_0.addMenuItem("カバー＆シーツ","location='product/cover/index.html'");
  fw_menu_0.addMenuItem("西川のベッドライフ","location='product/bed/index.html'");
  fw_menu_0.addMenuItem("介護寝具＆用品","location='product/care/index.html'");
  fw_menu_0.addMenuItem("業務用寝具","location='company/business/index.html'");
  fw_menu_0.addMenuItem("西川牧場","location='product/farm/index.html'");
  fw_menu_0.addMenuItem("ピックアップ商品","location='product/pickup/index.html'");
  fw_menu_0.addMenuItem("季節のおすすめ商品","location='product/osusume/index.html'");
   fw_menu_0.bgImageUp="pix/share/fwmenu1_208x19_up.gif";
   fw_menu_0.bgImageOver="pix/share/fwmenu1_208x19_over.gif";
   fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",172,19,"Osaka, MS UI Gothic",12,"#666666","#ffffff","#edf4f7","#8db1e3");
/*fw_menu_1.addMenuItem("季節の眠り","location='ss/kisetsu/index.html'");*/
  fw_menu_1.addMenuItem("快眠のコツ","location='ss/kotsu/index.html'");
  fw_menu_1.addMenuItem("不眠症Q&A","location='ss/fumin/index.html'");
/*fw_menu_1.addMenuItem("あなたの生活習慣チェック","location='ss/check/index.html'");*/
  fw_menu_1.addMenuItem("リサイクル＆リフォーム","location='ss/recycle/index.html'");
  fw_menu_1.addMenuItem("月替わり壁紙ダウンロード","location='ss/kabe/index.html'");
   fw_menu_1.bgImageUp="pix/share/fwmenu5_172x19_up.gif";
   fw_menu_1.bgImageOver="pix/share/fwmenu5_172x19_over.gif";
   fw_menu_1.hideOnMouseOut=true;
  window.fw_menu_2 = new Menu("root",136,19,"Osaka, MS UI Gothic",12,"#666666","#ffffff","#edf4f7","#8db1e3");
  fw_menu_2.addMenuItem("大阪西川チェーン店","location='shop/area.html'");
  fw_menu_2.addMenuItem("ダンの会加盟店","location='product/health/dannokai/shop.html'");
  fw_menu_2.addMenuItem("快眠ひろば展開店","location='product/pillow/order/shop.html'");
  fw_menu_2.addMenuItem("AISE展開店","window.open('http://www.aise-deux.com/shop/index.html', '_blank');");
   fw_menu_2.bgImageUp="pix/share/fwmenu4_136x19_up.gif";
   fw_menu_2.bgImageOver="pix/share/fwmenu4_136x19_over.gif";
   fw_menu_2.hideOnMouseOut=true;
   window.fw_menu_3 = new Menu("root",124,19,"Osaka, MS UI Gothic",12,"#666666","#ffffff","#edf4f7","#8db1e3");
  fw_menu_3.addMenuItem("会社紹介","location='company/company.html'");
  fw_menu_3.addMenuItem("事業所紹介","location='company/place.html'");
  fw_menu_3.addMenuItem("リクルート","location='company/recruit.html'");
  fw_menu_3.addMenuItem("ニュースリリース","location='company/press/index.html'");
  fw_menu_3.addMenuItem("掲載情報","location='company/magazine/index.html'");
  fw_menu_3.addMenuItem("年表","location='company/histry.html'");
  fw_menu_3.addMenuItem("西川のあゆみ","location='company/ayumi/index.html'");
  fw_menu_3.addMenuItem("業務用寝具","location='company/business/index.html'");
  fw_menu_3.addMenuItem("個人情報保護方針","location='company/policy/index.html'");
  fw_menu_3.addMenuItem("環境への取組","location='company/eco/index.html'");
   fw_menu_3.bgImageUp="pix/share/fwmenu3_124x19_up.gif";
   fw_menu_3.bgImageOver="pix/share/fwmenu3_124x19_over.gif";
   fw_menu_3.hideOnMouseOut=true;
 window.fw_menu_4 = new Menu("root",172,19,"Osaka, MS UI Gothic",12,"#666666","#ffffff","#edf4f7","#8db1e3");
  fw_menu_4.addMenuItem("ベビー商品編","location='faq/baby01.html'");
  fw_menu_4.addMenuItem("お手入れ編","location='faq/care01.html'");
  fw_menu_4.addMenuItem("生活編","location='faq/life01.html'");
  fw_menu_4.addMenuItem("点検商法にご注意ください","location='faq/caution.html'");
  fw_menu_4.addMenuItem("鳥インフルエンザについて","location='faq/information.html'");
  fw_menu_4.addMenuItem("お取扱店紹介","location='faq/shop.html'");
   fw_menu_4.bgImageUp="pix/share/fwmenu2_172x19_up.gif";
   fw_menu_4.bgImageOver="pix/share/fwmenu2_172x19_over.gif";
   fw_menu_4.hideOnMouseOut=true;

  fw_menu_4.writeMenus();
 document.write("<a href=\"product/index.html\" onMouseOut=\"FW_startTimeout();\"  onMouseOver=\"window.FW_showMenu(window.fw_menu_0,15,90);\" ><img name=\"b_top_pro\" src=\"pix/share/b_top_pro.gif\" width=\"144\" height=\"42\" border=\"0\" alt=\"商品情報\"></a><a href=\"ss/index.html\" onMouseOut=\"FW_startTimeout();\"  onMouseOver=\"window.FW_showMenu(window.fw_menu_1,159,90);\" ><img name=\"b_top_sle\" src=\"pix/share/b_top_sle.gif\" width=\"144\" height=\"42\" border=\"0\" alt=\"眠りを楽しむ\"></a><a href=\"shop/index.html\" onMouseOut=\"FW_startTimeout();\"  onMouseOver=\"window.FW_showMenu(window.fw_menu_2,303,90);\" ><img name=\"b_top_shop\" src=\"pix/share/b_top_shop.gif\" width=\"144\" height=\"42\" border=\"0\" alt=\"ショップ情報\"></a><a href=\"company/index.html\" onMouseOut=\"FW_startTimeout();\"  onMouseOver=\"window.FW_showMenu(window.fw_menu_3,447,90);\" ><img name=\"b_top_company\" src=\"pix/share/b_top_company.gif\" width=\"144\" height=\"42\" border=\"0\" alt=\"会社情報\"></a><a href=\"faq/index.html\" onMouseOut=\"FW_startTimeout();\"  onMouseOver=\"window.FW_showMenu(window.fw_menu_4,591,90);\" ><img name=\"b_top_consut\" src=\"pix/share/b_top_consut.gif\" width=\"144\" height=\"42\" border=\"0\" alt=\"お客様相談室\"></a>");
} // fwLoadMenus()


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    init();
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

