function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.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 mmLoadMenus() {
//  if (window.mm_menu_0407194226_0) return;
  //借りる
  window.menu02 = new Menu("root",180,14,"Osaka, MS UI Gothic",12,"#332610","#ffffff","#ffffff","#ff9900","left","middle",1,0,500,-5,7,true,true,true,0,true,true);
  menu02.addMenuItem("地域・沿線で住まい探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Bk_Cond_Srcby_Sel?gid=bk&category=kr'");
  menu02.addMenuItem("通勤・通学時間で住まい探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Bk_Cond_Srcby_Sel?gid=bk&category=kr&srcby=tsukin'");
  menu02.addMenuItem("店舗・オフィスなど事務用物件探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Bk_Cond_Srcby_Sel?gid=bk&category=jr'");
  menu02.addMenuItem("地域別物件特集","location='http://www2.athome.co.jp/atweb_static/area_tokushu/kr_index.html'");
  menu02.hideOnMouseOut=true;
  menu02.menuBorder=1;
  menu02.menuLiteBgColor='#ffffff';
  menu02.menuBorderBgColor='#999999';
  menu02.bgColor='#cccccc';

  //買う
  window.menu03 = new Menu("root",180,14,"Osaka, MS UI Gothic",12,"#332610","#ffffff","#ffffff","#ff9900","left","middle",1,0,500,-5,7,true,true,true,0,true,true);
  menu03.addMenuItem("地域・沿線で住まい探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Bk_Cond_Srcby_Sel?gid=bk&category=sl'");
  menu03.addMenuItem("通勤時間で住まい探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Bk_Cond_Srcby_Sel?gid=bk&category=sl&srcby=tsukin'");
  menu03.addMenuItem("店舗・オフィスなど事務用物件探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Bk_Cond_Srcby_Sel?gid=bk&category=js'");
  menu03.addMenuItem("地域別物件特集","location='http://www2.athome.co.jp/atweb_static/area_tokushu/sl_index.html'");
  menu03.addMenuItem("リゾート物件探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Bk_Cond_Area_Search?gid=bk&category=rs'");
  menu03.addMenuItem("新築分譲マンション探し","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Sb_Cond_Srcby_Sel?gid=sb&category=sb'");
  menu03.hideOnMouseOut=true;
  menu03.menuBorder=1;
  menu03.menuLiteBgColor='#ffffff';
  menu03.menuBorderBgColor='#999999';
  menu03.bgColor='#cccccc';
 
  //地域の不動産会社を探す
  window.menu04 = new Menu("root",180,14,"Osaka, MS UI Gothic",12,"#332610","#ffffff","#ffffff","#ff9900","left","middle",1,0,500,-5,7,true,true,true,0,true,true);
  menu04.addMenuItem("地域の不動産会社を探す","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Ki_Cond_Srcby_Sel'");
  menu04.addMenuItem("レシーズ・エージェントを探す","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Ki_Cond_Srcby_Sel_Le'");
  menu04.addMenuItem("バイヤーズ・エージェントを探す","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Ki_Cond_Srcby_Sel_Bu'");
  menu04.addMenuItem("ＮＡＶＩ設置を探す","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_Ki_Cmdblanch_Na?kaikbn=na&gid=ki&category=&KIorBK=ki'");
  menu04.hideOnMouseOut=true;
  menu04.menuBorder=1;
  menu04.menuLiteBgColor='#ffffff';
  menu04.menuBorderBgColor='#999999';
  menu04.bgColor='#cccccc';
  
  //競売・公売物件を探す 
  window.menu05 = new Menu("root",180,14,"Osaka, MS UI Gothic",12,"#332610","#ffffff","#ffffff","#ff9900","left","middle",1,0,500,-5,7,true,true,true,0,true,true);
  menu05.addMenuItem("競売・公売物件を探す","location='http://www2.athome.co.jp/kankou/'");
  menu05.addMenuItem("競売物件情報","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb_kk/athomeweb_kankou/athomeweb_kankou.htx;start=HS_Kb_Top?gid=kb'");
  menu05.addMenuItem("公売物件情報","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb_kk/athomeweb_kankou/athomeweb_kankou.htx;start=HS_Ko_Top?gid=ko'");
  menu05.addMenuItem("国（公）有財産売払物件情報","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb_kk/athomeweb_kankou/athomeweb_kankou.htx;start=HS_Ky_Top?gid=ky'");
  menu05.hideOnMouseOut=true;
  menu05.menuBorder=1;
  menu05.menuLiteBgColor='#ffffff';
  menu05.menuBorderBgColor='#999999';
  menu05.bgColor='#cccccc';

  //知る・学ぶ
  window.menu06 = new Menu("root",180,14,"Osaka, MS UI Gothic",12,"#332610","#ffffff","#ffffff","#ff9900","left","middle",1,0,500,-5,7,true,true,true,0,true,true);
  menu06.addMenuItem("R.E.words（不動産用語集）","location='http://www2.athome.co.jp/atweb_static/re-words/index.html'");
  menu06.addMenuItem("不動産ハウ・ツー","location='http://www2.athome.co.jp/atweb_static/howto_index/index.html'");
  menu06.addMenuItem("住宅ローンを学ぶ","location='http://www.athome.co.jp/asp/living1st/loan.html'");
  menu06.addMenuItem("資金計算シミュレーション","location='http://www.athome.co.jp/asp/living1st/calc.html'");
  menu06.addMenuItem("数字で見る不動産情報","location='http://www2.athome.co.jp/atweb_static/kanren/index.html'");
  menu06.addMenuItem("引越しいろいろ便利帳","location='http://www2.athome.co.jp/atweb_static/mrh/index.html'");
//  menu06.addMenuItem("宅建ナンデモ研究所","location='http://www2.athome.co.jp/atweb_static/takken/index.html'");
  menu06.addMenuItem("不動産業界ニュース","location='http://www2.athome.co.jp/click/re-port/re-port_Link1.html'");
 // menu06.addMenuItem("こだわりアカデミー","location='http://www2.athome.co.jp/academy/'");
  menu06.hideOnMouseOut=true;
  menu06.menuBorder=1;
  menu06.menuLiteBgColor='#ffffff';
  menu06.menuBorderBgColor='#999999';
  menu06.bgColor='#cccccc';

  //その他のサービス
  window.menu07 = new Menu("root",188,14,"Osaka, MS UI Gothic",12,"#332610","#ffffff","#ffffff","#ff9900","left","middle",1,0,500,-5,7,true,true,true,0,true,true);
  menu07.addMenuItem("首都圏タウンインフォメーション","location='http://www.athome.co.jp/AREA/index.php'");
  //menu07.addMenuItem("特集","location='http://www2.athome.co.jp/living1st_sp/'");
  menu07.addMenuItem("新着物件メール配信","location='http://www.athome.co.jp/Haht_atweb/hsrun.exe/atweb/athomeweb/athomeweb.htx;start=HS_My_Cond_Syubetsu_Sel?gid=bk&hd_CallOrg=1'");
  menu07.addMenuItem("at&nbsp;homeマガジン物件特集","location='http://www2.athome.co.jp/atweb_static/tokushu/'");
  menu07.addMenuItem("知るほど便利なat&nbsp;homeサービス","location='http://www2.athome.co.jp/atweb_static/service/'");
  menu07.addMenuItem("地域版at&nbsp;home&nbsp;web","location='http://www2.athome.co.jp/atweb_static/area_atweb/index.html'");
  menu07.addMenuItem("電車ルート案内","location='http://www2.athome.co.jp/atweb_static/hyper_text/root.html'");
  menu07.hideOnMouseOut=true;
  menu07.menuBorder=1;
  menu07.menuLiteBgColor='#ffffff';
  menu07.menuBorderBgColor='#999999';
  menu07.bgColor='#cccccc';

  menu07.writeMenus();
}
