// JavaScript Document

function MM_openBrWindow(theURL,winName,features) { //v2.0
var wo1;
wo1=window.open(theURL,winName,features);
wo1.focus();
}

$(function(){
	$(".menu_event").mouseover(function(){$("div.menusub_event").fadeIn("slow");});
	$(".menu_event").mouseout(function(){$("div.menusub_event").fadeOut("fast");});
	
	$(".menu_about").mouseover(function(){$("div.menusub_about").fadeIn(1300);});
	$(".menu_about").mouseout(function(){$("div.menusub_about").fadeOut("fast");});

	$(".menu_faq").mouseover(function(){$("div.menusub_faq").fadeIn(1300);});
	$(".menu_faq").mouseout(function(){$("div.menusub_faq").fadeOut("fast");});
	
	$(".menu_shop").mouseover(function(){$("div.menusub_shop").fadeIn(1300);});
	$(".menu_shop").mouseout(function(){$("div.menusub_shop").fadeOut("fast");});

	$(".menu_report").mouseover(function(){$("div.menusub_report").fadeIn(1300);});
	$(".menu_report").mouseout(function(){$("div.menusub_report").fadeOut("fast");});

});


/* Today's Date for link to Calendar */
var nowdate=new Date(); 
//年・月・日・曜日を取得する
var Year = nowdate.getFullYear();
var Month = nowdate.getMonth()+1;
if (Month<10){Month="0"+Month;}


/* for Calendar  */
function calendartemplate() {
dat=new Date();
yea=dat.getYear();
if (yea < 2000) yea = yea + 1900;mon=dat.getMonth();
document.write('<a href="<$MTBlogURL$>');
document.write(yea);
if(mon == "0"){document.write('/12');}
else if(mon < "10"){document.write('/0');
document.write(mon);}
else{document.write('/');
document.write(mon);}
document.write('/index.html">←</a>');
}
