function MM_findObj(n, d) { //v3.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); return x;
}
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];}
}

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_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];}}
}

function fwLoadMenus() {
  if (window.fw_menu_0) return;
   window.fw_menu_0 = new Menu("root",230,19,"Osaka, MS UI Gothic",12,"#ffffff","#333333","#339900","#ffcc33");
  fw_menu_0.addMenuItem("今月号のご案内","location='/ryouri/nowbook/index.html'");
  fw_menu_0.addMenuItem("放送カレンダー","location='/ryouri/calendar/index.html'");
  fw_menu_0.addMenuItem("掲載料理一覧","location='/ryouri/list/index.html'");
  fw_menu_0.addMenuItem("取材協力店","location='/ryouri/reportshop/index.html'");
  fw_menu_0.addMenuItem("次号予告","location='/ryouri/next/index.html'");
  fw_menu_0.addMenuItem("From Editors","location='/ryouri/column/index.html'");
   fw_menu_0.fontWeight="bold";
   fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",285,19,"Osaka, MS UI Gothic",12,"#ffffff","#333333","#339900","#ffcc33");
  fw_menu_1.addMenuItem("最新お料理本総合ガイド","location='/ryouri/cookbook/index.html'");
  fw_menu_1.addMenuItem("バックナンバーご注文","window.open('http://www.nhk-book.co.jp/shop/main.jsp?trxID=0130&textCategoryCode=06461', '_blank');");
  fw_menu_1.addMenuItem("オンラインご注文ガイド","location='/ryouri/guide/index.html'");
	 fw_menu_1.addMenuItem("定期購読のお申し込み","window.open('http://www.nhk-book.co.jp/shop/main.jsp?trxID=0230&textCategoryCode=06461&fiscalYear=2006', '_blank');");
   fw_menu_1.fontWeight="bold";
   fw_menu_1.hideOnMouseOut=true;
  window.fw_menu_2 = new Menu("root",237,19,"Osaka, MS UI Gothic",12,"#ffffff","#333333","#339900","#ffcc33");
  fw_menu_2.addMenuItem("なんでもゼミナール","location='/ryouri/qa/index.html'");
  fw_menu_2.addMenuItem("身近に薬膳","location='/ryouri/yakuzen/index.html'");
  fw_menu_2.addMenuItem("目指せ！マナーの達人","location='/ryouri/manner/index.html'");
  fw_menu_2.addMenuItem("おめざめ＆おやすみドリンク","location='/ryouri/drink/index.html'");
  fw_menu_2.addMenuItem("注目栄養素","location='/ryouri/eiyou/index.html'");
  fw_menu_2.addMenuItem("食材ワンポイント情報","location='/ryouri/point/index.html'");
  fw_menu_2.addMenuItem("調味料図鑑","location='/ryouri/spice/index.html'");
		fw_menu_2.addMenuItem("----■お役立ち情報----");
  fw_menu_2.addMenuItem("きょうのレシピ集","location='/ryouri/cooking/index.html'");
  fw_menu_2.addMenuItem("講師のお店紹介","location='/magazine/series/seikatu/index.html'");
  fw_menu_2.addMenuItem("メルマガ","window.open('https://www.mailservice.jp/nhk_book/magazine/', '_blank');");
  fw_menu_2.addMenuItem("食彩浪漫","location='/shokusai/index.html'");
  fw_menu_2.addMenuItem("携帯ショップ","window.open('/home_files/keitai/shopping.html', '_blank');");
  fw_menu_2.addMenuItem("携帯サイト","window.open('/home_files/keitai/index.html', '_blank');");
   fw_menu_2.fontWeight="bold";
   fw_menu_2.hideOnMouseOut=true;
   
  fw_menu_2.writeMenus();
} // fwLoadMenus()


