//　過去のメニューファンクション
/**/
function mmLoadMenus (){

	  if (window.mm_menu_0507175426_0) return;
	  window.mm_menu_0507175426_0 = new Menu("root",160,30,"",12,"#666666","#ffffff","#ffffff","#b07f52","left","middle",3,0,500,-5,7,true,true,true,0,false,false);
	  mm_menu_0507175426_0.addMenuItem("住まいのメンテナンス術","location='/SUMAI/movie/index.asp'");
	  mm_menu_0507175426_0.addMenuItem("お手入れサーチ","location='/SUMAI/index.asp'");
	  mm_menu_0507175426_0.hideOnMouseOut=true;
	  mm_menu_0507175426_0.bgColor='#b07f52';
	  mm_menu_0507175426_0.menuBorder=1;
	  mm_menu_0507175426_0.menuLiteBgColor='#b07f52';
	  mm_menu_0507175426_0.menuBorderBgColor='#FFFFFF';
	  window.mm_menu_0507180107_0 = new Menu("root",160,30,"",12,"#666666","#ffffff","#ffffff","#b07f52","left","middle",3,0,500,-5,7,true,true,true,0,false,false);
	  mm_menu_0507180107_0.addMenuItem("特典＆イベント最新情報","location='/KURASI/event/index.asp'");
	  mm_menu_0507180107_0.addMenuItem("リゾートめぐり","location='/KURASI/resort/index.asp'");
	  mm_menu_0507180107_0.addMenuItem("ガーデニング講座","location='/KURASI/garden/index.asp'");
	  mm_menu_0507180107_0.addMenuItem("旬の食と暮らし","location='/KURASI/slowlife/shun/index.asp'");
	  mm_menu_0507180107_0.addMenuItem("シェフの秘伝ノート","location='/KURASI/slowlife/shef/index.asp'");
	  mm_menu_0507180107_0.addMenuItem("シルバーライフ","location='/KURASI/silverlife/index.asp'");
	//mm_menu_0507180107_0.addMenuItem("うるおい生活ホットライン","location='/KURASI/hotline/index.asp'");
	  mm_menu_0507180107_0.addMenuItem("暮らしの特典案内","location='/KURASI/info/index.asp'");
	  mm_menu_0507180107_0.hideOnMouseOut=true;
	  mm_menu_0507180107_0.bgColor='#b07f52';
	  mm_menu_0507180107_0.menuBorder=1;
	  mm_menu_0507180107_0.menuLiteBgColor='#b07f52';
	  mm_menu_0507180107_0.menuBorderBgColor='#FFFFFF';
	  window.mm_menu_0507181058_0 = new Menu("root",164,30,"",12,"#666666","#ffffff","#ffffff","#b07f52","left","middle",3,0,500,-5,7,true,true,true,0,false,false);
	  mm_menu_0507181058_0.addMenuItem("アンケートdeプレゼント","location='/TUDOI/enquete/index.asp'");
	  mm_menu_0507181058_0.addMenuItem("みんなで選ぶフォトギャラリー","location='/TUDOI/photo/index.asp'");
	//mm_menu_0507181058_0.addMenuItem("今だけプレゼント","location='/TUDOI/index.asp'");
	  mm_menu_0507181058_0.hideOnMouseOut=true;
	  mm_menu_0507181058_0.bgColor='#b07f52';
	  mm_menu_0507181058_0.menuBorder=1;
	  mm_menu_0507181058_0.menuLiteBgColor='#b07f52';
	  mm_menu_0507181058_0.menuBorderBgColor='#FFFFFF';
	  window.mm_menu_0823175317_0 = new Menu("root",254,25,"",14,"#666666","#ffffff","#ffffff","#b07f52","left","middle",3,0,500,-5,7,true,true,true,0,false,false);
	  mm_menu_0823175317_0.addMenuItem("　　　&nbsp;特典全体について","location='#5-1'");
	  mm_menu_0823175317_0.addMenuItem("　　　&nbsp;ダイワロイヤルホテルズ","location='#5-2'");
	  //mm_menu_0823175317_0.addMenuItem("　　　&nbsp;住む〜ズ倶楽部","location='#5-3'");
	  mm_menu_0823175317_0.addMenuItem("　　　&nbsp;スポーツクラブNAS","location='#5-4'");
	  mm_menu_0823175317_0.hideOnMouseOut=true;
	  mm_menu_0823175317_0.bgColor='#D65666';
	  mm_menu_0823175317_0.menuBorder=1;
	  mm_menu_0823175317_0.menuLiteBgColor='#D65666';
	  mm_menu_0823175317_0.menuBorderBgColor='#FFFFFF';

	mm_menu_0507181058_0.writeMenus();
}
/**/

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 MM_preloadImages() { //v3.0

  LoadStyle();	//Add

  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 MM_preloadImagesFixStyle() { //Add

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImagesFixStyle.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 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_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function showMore(varA1) {
	var123 = ('block' + (varA1));
	if ( document.getElementById ) {
		if ( document.getElementById(var123).style.display ) {
			if ( document.getElementById(var123).style.display == "none" ) {
				document.getElementById(var123).style.display = "block";
			} else {
				document.getElementById(var123).style.display = "none";
			}
		}
	}
}

function addEvent(elm,listener,fn){
		try{
			elm.addEventListener(listener,fn,false);
		}catch(e){
			elm.attachEvent("on"+listener,fn);
		}
}

function newMenuBar(){
	new Spry.Widget.MenuBar("menuBar");
}

addEvent(window,"load",newMenuBar);



//　TOPページをお気に入りに追加
/**/
function addBookmark(title,url){
	if (window.sidebar){
	window.sidebar.addPanel(title, url,"");
	} else if( document.all ){
	window.external.AddFavorite( url, title);
	} else if( window.opera && window.print ){
	return true;
	}
}

